Pathrule

MCP

One tool surface, any MCP client.

Every Pathrule surface speaks the same MCP contract, so an agent sees the same tools and the same path-scoped context wherever it connects. Locally that means Studio or the CLI; for a cloud-only client there is a hosted endpoint.

mcp.json

local: the server Studio and the CLI already run

$ pathrule start

mcp stdio server ready · hooks registered

cloud-only client: point it at the hosted endpoint

$ https://mcp.pathrule.io/mcp

oauth: pathrule:read pathrule:write pathrule:activity

registry manifest: https://mcp.pathrule.io/server.json

What an agent can do with it.

The same typed surface every Pathrule client sees, gated by scope rather than by trust.

Local server, hosted endpoint.

Both speak the same tool contract. What differs is what they can reach, and that is worth being precise about.

  1. 01

    Local, in Studio or the CLI

    Runs on your machine over stdio. It resolves your working directory, reads the local cache and runs hooks.

  2. 02

    Hosted, for cloud-only clients

    An OAuth endpoint for clients like Claude.ai and Codex remote that can only reach a connector. Nothing to install.

  3. 03

    The difference that matters

    The hosted endpoint cannot read local files or run hooks, so it answers on request rather than before the first tool call.

Where to go deeper.

Point your client at Pathrule.