Pathrule
Path-scoped team memories, rules and skills for AI coding agents.
README
Pathrule Remote MCP
Pathrule Remote MCP exposes Pathrule workspace memory, rules, skills, setup, snapshots, and activity logging over the Model Context Protocol.
Public endpoint:
https://mcp.pathrule.io/mcp
Registry manifest:
https://mcp.pathrule.io/server.json
What It Does
Pathrule gives AI coding agents path-scoped project context. The remote MCP server lets cloud MCP clients use the same Pathrule workspace data without installing Pathrule Desktop or the local CLI on the client host.
Remote MCP is intentionally cloud-only. It can read and write Pathrule cloud records, but it cannot read local files, install hooks, render AGENTS.md / CLAUDE.md, or materialize local skills. For those local runtime features, use Pathrule Desktop or @pathrule/cli.
Using Pathrule Remote MCP
Pathrule Remote MCP is the MCP endpoint for Pathrule Web workspaces. It is not a general-purpose hosted memory service that works without Pathrule.
To use it:
- Create or sign in to a Pathrule account:
https://app.pathrule.io
-
Create or select a Pathrule workspace in the app.
-
Connect your MCP client to:
https://mcp.pathrule.io/mcp
When an MCP client connects, it starts an OAuth flow through Pathrule Web. After approval, the client can access only the Pathrule workspaces visible to that signed-in account, using the scopes you approved.
This repository is the public source and directory listing target for Pathrule's Remote MCP endpoint. It is not a standalone local memory database, and it does not create a usable Pathrule workspace without a Pathrule account.
Tools
Workspace and context:
pathrule_list_workspacespathrule_get_contextpathrule_gotopathrule_get_treepathrule_get_nodepathrule_list_memoriespathrule_read_memorypathrule_read_rulepathrule_read_skillpathrule_ping
Workspace setup:
pathrule_list_organizationspathrule_create_workspacepathrule_setup
Writes:
pathrule_write_memorypathrule_update_memorypathrule_delete_memorypathrule_write_rulepathrule_update_rulepathrule_delete_rulepathrule_write_skillpathrule_update_skillpathrule_delete_skill
Snapshots, refreshes, and activity:
pathrule_take_snapshotpathrule_list_snapshotspathrule_read_snapshotpathrule_list_pending_refreshespathrule_get_refresh_briefpathrule_resolve_refreshpathrule_log_activitypathrule_get_local_runtime_upgrade
Security Model
- OAuth scopes decide the tool surface. Read tools require
pathrule:read; write tools requirepathrule:write; refresh/activity tools requirepathrule:activity. - Every workspace operation runs through the authenticated user's Supabase JWT and database RLS policies.
- The connector does not use Supabase admin keys to widen user access.
- Write tools are also gated by workspace subscription status and per-user/per-workspace rate limits.
- MCP event telemetry is metadata-only: tool name, user/workspace/client identifiers, status/error code, and latency bucket. Tool input and content bodies are not logged.
- The remote server never accesses the user's filesystem and never writes local companion files.
Operator Notes
The mcp.pathrule.io service is operated by Pathrule. The environment variables below are for Pathrule operators deploying the service against Pathrule's backend. They are not required to connect an MCP client to Pathrule Remote MCP.
Required production secrets are environment variables only. Do not commit values for:
SUPABASE_URL
SUPABASE_ANON_KEY
SUPABASE_JWT_SECRET
PATHRULE_CONNECTOR_TOKEN_ENCRYPTION_KEY
PATHRULE_CONNECTOR_TOKEN_ENCRYPTION_KEY_VERSION
PATHRULE_CONNECTOR_TOKEN_ENCRYPTION_PREVIOUS_KEYS
PATHRULE_WEB_ORIGIN
SUPABASE_JWT_SECRET is used to sign short-lived authenticated-role user JWTs for Supabase RLS. Treat it like production infrastructure secret material and store it only in the hosting provider's secret manager.
Running The Server
The public pathrule/mcp repository is staged from the Pathrule monorepo and contains a bundled Node.js server for transparency and deployment reproducibility. Running it yourself requires the environment variables above and Pathrule's compatible backend; it is not the recommended user setup path.
npm install
npm start
The server listens on PORT and HOST:
PORT=8787
HOST=0.0.0.0
Health and metadata:
curl -fsS http://localhost:8787/healthz
curl -fsS http://localhost:8787/server.json
Registry Inspection
The public repository includes a Dockerfile for MCP registry scanners such as Glama. The container sets PATHRULE_MCP_PUBLIC_INTROSPECTION=1, which exposes MCP schema introspection without a bearer token so registries can verify the server shape.
That mode does not grant Pathrule data access. Tool calls still require an authenticated Pathrule context and return auth errors without OAuth.
Glama's Docker build runner launches MCP servers through stdio. Use this command in Glama's Dockerfile admin form:
["node", "dist/glama-stdio.js"]
MCP Directory Submission
Use these fields for MCP directories:
GitHub Repository URL: https://github.com/pathrule/mcp
npm Package: leave blank unless @pathrule/mcp is published
Short Description: Path-scoped team memories, rules and skills for AI coding agents.
Server URL: https://mcp.pathrule.io/mcp
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。