Lint your AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your codebase
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add ctxlint -- npx -y @yawlabs/ctxlint~/.codex/config.toml
[mcp_servers.ctxlint]
command = "npx"
args = ["-y", "@yawlabs/ctxlint"]
# codex mcp add ctxlint -- npx -y @yawlabs/ctxlint~/.cursor/mcp.json
{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}.vscode/mcp.json
{
"servers": {
"ctxlint": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ctxlint": {
"command": "npx",
"args": [
"-y",
"@yawlabs/ctxlint"
]
}
}
}