Rules MCP for VS Code
io.github.akr1166/rules-mcp
MCP for rules/skills/knowledge evaluation for Cursor, Claude, VS Code, and Antigravity.
client:VS Code
transport:stdio
runtime:npm
Install Rules MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "log-level",
"description": "LOG_LEVEL",
"password": true
},
{
"type": "promptString",
"id": "skills-path",
"description": "SKILLS_PATH",
"password": true
},
{
"type": "promptString",
"id": "knowledge-path",
"description": "KNOWLEDGE_PATH",
"password": true
},
{
"type": "promptString",
"id": "profiles-path",
"description": "PROFILES_PATH",
"password": true
},
{
"type": "promptString",
"id": "profile",
"description": "PROFILE",
"password": true
},
{
"type": "promptString",
"id": "rules-path",
"description": "RULES_PATH",
"password": true
}
],
"servers": {
"rules-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@akr1166org/rules-mcp"
],
"env": {
"LOG_LEVEL": "${input:log-level}",
"SKILLS_PATH": "${input:skills-path}",
"KNOWLEDGE_PATH": "${input:knowledge-path}",
"PROFILES_PATH": "${input:profiles-path}",
"PROFILE": "${input:profile}",
"RULES_PATH": "${input:rules-path}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs