MCP Server Studio

Pathrule MCP server

Path-scoped project memories, rules and skills for coding agents, on your machine or Pathrule Cloud.

Registry name: io.pathrule/pathrule

Publisher
pathrule.io
Runs
Local or hosted
Package
npm
Version
1.0.6
Category
Developer tools
Updated
2026-10-19

Source code on GitHub

Set up Pathrule (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pathrule": {
      "command": "npx",
      "args": [
        "-y",
        "@pathrule/[email protected]"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add pathrule -- npx -y @pathrule/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pathrule": {
      "command": "npx",
      "args": [
        "-y",
        "@pathrule/[email protected]"
      ]
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pathrule": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pathrule/[email protected]"
      ]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pathrule": {
      "command": "npx",
      "args": [
        "-y",
        "@pathrule/[email protected]"
      ]
    }
  }
}

Set up Pathrule (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "pathrule": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://cloud.pathrule.io/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http pathrule https://cloud.pathrule.io/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "pathrule": {
      "url": "https://cloud.pathrule.io/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "pathrule": {
      "type": "http",
      "url": "https://cloud.pathrule.io/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "pathrule": {
      "serverUrl": "https://cloud.pathrule.io/mcp"
    }
  }
}

More developer tools MCP servers