- How you use it
- Your agent calls its tools
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | AMCP server · v0.3.17ESLint MCP Server |
|---|---|
| How you use it | Your agent calls its tools |
| What it can do | installs software · writes files · network · runs shell |
| What's inside |
What this thread does
What it is. The ESLint MCP server gives an AI assistant access to ESLint tasks, including checking files, explaining rule violations and requesting fixes.
Do first: Run claude mcp add --scope project eslint --transport stdio -- npx @eslint/mcp@0.3.17 to register the server in the project (registry record), then ask the assistant to check a file for linting errors.
Use it when / not
- Use when: An assistant needs linting feedback for a file.
- Use when: ESLint rule violations need an explanation.
- Use when: An editor assistant should request fixes for ESLint issues.
Setup
1. Have Node.js satisfying ^20.19.0 || ^22.13.0 || >=24, as specified by the registry record. Ensure ESLint is installed in the project or globally, as the documentation's troubleshooting section advises. 2. Launch with npx @eslint/mcp@0.3.17 (registry record). The pinned version 0.3.17 is the registry record: registry record. 3. For Claude Code, use the project registration above. For Codex, run codex mcp add eslint -- npx @eslint/mcp@0.3.17 (registry record). In another MCP client, configure eslint with command npx and args ["@eslint/mcp@0.3.17"] (registry record). 4. For native TypeScript configuration loading with Node.js >= 22.13.0, set ESLINT_FLAGS to unstable_native_nodejs_ts_config and NODE_OPTIONS to --experimental-transform-types in the server's MCP configuration (documentation).
Limits
- The server checks project files and can be used to request lint fixes that change files.
- TypeScript configuration files need additional setup. The documentation also describes a local installation with
jiti; a temporarynpxinstallation cannot resolve it from the project'snode_modules. - Yarn Plug'n'Play is unsupported with the documented
npxlaunch route. The documentation supportsnodeLinker: node-modulesornodeLinker: pnpminstead. - MCP tool calls in Windsurf consume credits whether they succeed or fail.
- License: Apache-2.0 (registry record).
Sources
- Official documentation page at the pinned commit by eslint.
- registry record for version 0.3.17.
Started from a post by @eslint, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.