Lint MCP server tool schemas for cross-client compatibility across Claude, Cursor, Gemini, VS Code Copilot, Windsurf, Cline, OpenAI Agents SDK, and Continue.dev. Current stable version: 0.4.0 (MIT). mcp-lint provides static analysis and runtime preflight checks to catch JSON Schema quirks and client-specific incompatibilities before deployment. Ships TypeScript types and supports JSON/YAML input, auto-fix, compatibility matrix output, and rule explainability. Requires Node >=20. Key differentiator: unlike generic JSON Schema validators, mcp-lint is aware of each MCP client's unique schema expectations and known limitations.
npm install mcp-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to programmatically lint an MCP server tool schema file with mcp-lint, filtering by clients and severity.
Upgrade to Node.js 20 or later.
Use import syntax and ensure your project is configured for ESM (e.g., type: 'module' in package.json).
Ensure your tool schemas use the exact property name `inputSchema` as per the MCP specification.
Switch to dynamic import() or use import statement after adding "type": "module" to package.json.
Upgrade Node.js to version 20 or later.
Run `npx mcp-lint@latest check tools.json` or install locally with `npm install mcp-lint`.
No dependency data recorded yet.