ctxlint
Lint your AI agent context files, MCP server configs, and session data against your actual codebase
Install ctxlint in your MCP client
ctxlint is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.
- Locate your client's MCP config file.
- Cursor:
~/.cursor/mcp.json - Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - VS Code:
Settings → Extensions → MCP - Windsurf:
Settings → MCP Servers
- Cursor:
- Add ctxlint to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing
mcpServersobject. - Restart your client so it picks up the new server.
- Verify — ask the assistant to list available tools; ctxlint's tools should appear.
{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}Install ctxlint in Cursor
Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. ctxlint will show up in the assistant's tool list on next launch.
Install ctxlint in Claude Desktop (macOS)
Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). ctxlint will show up in the assistant's tool list on next launch.
Install ctxlint in Claude Desktop (Windows)
Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). ctxlint will show up in the assistant's tool list on next launch.
Install ctxlint in VS Code
Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. ctxlint will show up in the assistant's tool list on next launch.
npm package: @yawlabs/ctxlint
Transport
ctxlint supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.
From the ctxlint README
More create.code.review MCP servers
Other Model Context Protocol servers in the same space as ctxlint. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.
agnix
Linter for AI agent configurations. Validates SKILL.md, CLAUDE.md, hooks, MCP, and more.
claude-launchpad
CLI toolkit for Claude Code — scaffold CLAUDE.md, diagnose config, enforce hooks, test with eval, add persistent memory
git-enhanced
Enhanced Git MCP Server - Code review, commit analysis, and branch management
mcp-git-enhanced
Enhanced Git MCP Server - Code review, commit analysis, and branch management
dingdawg-code-review
AI code review — security, quality, performance. Learns your patterns. Receipted.
prodlint-mcp
MCP server for prodlint — scan AI-generated projects for production readiness issues
sovereign-code-quality-mcp
MCP server for code quality analysis — cyclomatic complexity, duplicate detection, naming conventions, file metrics, refactoring suggestions.
skill-codex
Cross-platform Claude Code skill that integrates OpenAI Codex CLI for code review, task delegation, and consultation via MCP
Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.
