Your AI forgets. Pathrule remembers. The open-source knowledge layer for coding agents: path-scoped memories, rules and skills for Claude Code, Codex, Cursor, Copilot, Windsurf and any MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add pathrule -- npx -y @pathrule/mcp~/.codex/config.toml
[mcp_servers.pathrule]
command = "npx"
args = ["-y", "@pathrule/mcp"]
# codex mcp add pathrule -- npx -y @pathrule/mcp~/.cursor/mcp.json
{
"mcpServers": {
"pathrule": {
"command": "npx",
"args": [
"-y",
"@pathrule/mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"pathrule": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pathrule/mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pathrule": {
"command": "npx",
"args": [
"-y",
"@pathrule/mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pathrule": {
"command": "npx",
"args": [
"-y",
"@pathrule/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"pathrule": {
"command": "npx",
"args": [
"-y",
"@pathrule/mcp"
]
}
}
}Remote
claude mcp add --transport http pathrule https://cloud.pathrule.io/mcp~/.codex/config.toml
[mcp_servers.pathrule]
url = "https://cloud.pathrule.io/mcp"
# codex mcp add pathrule --url https://cloud.pathrule.io/mcp~/.cursor/mcp.json
{
"mcpServers": {
"pathrule": {
"url": "https://cloud.pathrule.io/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"pathrule": {
"type": "http",
"url": "https://cloud.pathrule.io/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pathrule": {
"httpUrl": "https://cloud.pathrule.io/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"pathrule": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://cloud.pathrule.io/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"pathrule": {
"url": "https://cloud.pathrule.io/mcp"
}
}
}