Skip to content

Typed tools,
local or hosted.

Pathrule speaks the Model Context Protocol in two places. The local server comes with the CLI and the VS Code extension, and every supported client can use it. Remote MCP is a hosted endpoint you sign in to with your Pathrule account, for clients that connect over HTTP.

zsh
# local: written for you by pathrule setup or pathrule installpathrule install cursor[ok] cursor: installed (~/.cursor/mcp.json)# remote: Streamable HTTP, OAuth 2.1 sign-inclaude mcp add --transport http pathrule https://cloud.pathrule.io/mcpcodex mcp add pathrule --url https://cloud.pathrule.io/mcpOAuth discovery: https://cloud.pathrule.io/.well-known/oauth-authorization-server

What an agent can do with it.

Typed tools for workspace knowledge, gated by scope rather than by trust.

Local server, hosted endpoint.

  1. Local, with the CLI or VS CodeRuns on your machine over stdio and resolves your working directory. The CLI or the extension also writes hooks and knowledge files for Claude Code, and for Codex when the repository has Codex files.
  2. Remote, for HTTP clientsAn OAuth 2.1 endpoint for Claude Code, Codex, Claude.ai and other clients that support Streamable HTTP. Nothing to install.
  3. The difference that mattersRemote MCP does not read local files, install hooks or write companion files, and it has no local mode. It answers when the agent asks, rather than before the agent acts.

Both expose typed workspace knowledge. Local stdio and Remote MCP have different tool catalogs, schemas and delivery capabilities.

Where to go deeper.

Point your client
at Pathrule.

  • Tools referenceEvery tool an agent can call, and what it returns.