eslint-plugin-llm-core-mcp

v0.32.1
eslint-plugin-llm-core-mcp Checked 15 hours ago Published 6 days ago

MCP server for just-in-time linting guidance from eslint-plugin-llm-core

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_active_instructions Get Active Lint Instructions

Pass a project-relative file path for exact ESLint flat-config guidance, or omit it for an approximate project overview. Use configPath only with the overview.

ParameterTypeDescription
configPathstringOptional path to an ESLint config file for the overview only
pathstringExisting project-relative file path for exact flat-config guidance

lint_file Lint a File for llm-core Violations

Lints a file (or directory) with the project's own ESLint config, or the opt-in read-only fallback when no config is found, and returns each eslint-plugin-llm-core violation with its what/why/how-to-fix instruction attached. Call after editing a file to self-correct. Read-only. Returns at most 100 violations per call; `omittedViolationCount` says how many more there are. Each violation gives its file, location and what is wrong; `guidance[violation.guidanceId]` holds the why and how-to-fix text. For one-line instructions, use `instructions[violation.instructionId]` when referenced, otherwise `…

ParameterTypeDescription
path *stringPath to a file or directory to lint, within the project root
includeSuggestionsbooleanReturn bounded, advisory ESLint suggestions; never edits files