Rules MCP

Official registry Developer tools

MCP for rules/skills/knowledge evaluation for Cursor, Claude, VS Code, and Antigravity.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @akr1166org/rules-mcp
Claude Code
claude mcp add rules-mcp -e 'LOG_LEVEL=<LOG_LEVEL>' -e 'SKILLS_PATH=<SKILLS_PATH>' -e 'KNOWLEDGE_PATH=<KNOWLEDGE_PATH>' -e 'PROFILES_PATH=<PROFILES_PATH>' -e 'PROFILE=<PROFILE>' -e 'RULES_PATH=<RULES_PATH>' -- npx -y @akr1166org/rules-mcp@0.3.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@akr1166org/rules-mcp@0.3.1"
            ],
            "env": {
                "LOG_LEVEL": "<LOG_LEVEL>",
                "SKILLS_PATH": "<SKILLS_PATH>",
                "KNOWLEDGE_PATH": "<KNOWLEDGE_PATH>",
                "PROFILES_PATH": "<PROFILES_PATH>",
                "PROFILE": "<PROFILE>",
                "RULES_PATH": "<RULES_PATH>"
            }
        }
    }
}

Environment variables

  • LOG_LEVEL Log level: debug | info | warn | error (logs go to stderr)
  • SKILLS_PATH Override path to Markdown/MDC skills directory
  • KNOWLEDGE_PATH Override path to knowledge directory
  • PROFILES_PATH Override path to agent profiles directory
  • PROFILE Active agent profile (default, cursor, claude, …)
  • RULES_PATH Override path to legacy YAML rules directory

Frequently asked questions

What is Rules MCP?

MCP for rules/skills/knowledge evaluation for Cursor, Claude, VS Code, and Antigravity.

How do I install Rules MCP?

It runs on your machine. In Claude Code: claude mcp add rules-mcp -e 'LOG_LEVEL=<LOG_LEVEL>' -e 'SKILLS_PATH=<SKILLS_PATH>' -e 'KNOWLEDGE_PATH=<KNOWLEDGE_PATH>' -e 'PROFILES_PATH=<PROFILES_PATH>' -e 'PROFILE=<PROFILE>' -e 'RULES_PATH=<RULES_PATH>' -- npx -y @akr1166org/rules-mcp@0.3.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Rules MCP need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Rules MCP open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains Rules MCP?

It is published by AKR1166. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.