Claude Code Policy: Write Managed Settings Fast
Read More
Enterprise Connectors
Pathrule logo. Pathrule MCP server connector.

Pathrule MCP Server

Path-scoped team memories, rules and skills for Claude Code, Cursor, Codex and other MCP clients.

ToolsTools
32
Last updatedLast Updated
Jun 14, 2026
CategoryCategory
All
Enterprise-grade security
SSO & authentication ready
Full governance & audit logs

What is the Pathrule MCP Server?

The Pathrule MCP server gives AI agents structured, permission-aware access to Pathrule through the Model Context Protocol. With 32 pre-built actions, agents can read, create, and update Pathrule data on behalf of authorized users.

Willow ships the Pathrule MCP server as part of an enterprise control plane. Every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to a full audit trail, and integrates with Splunk and Loki for SIEM visibility. Connect from Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, or any custom agent. Install once, distribute org-wide, and see exactly how Pathrule is being used by every AI agent in your stack.

Tools

Tool

pathrule_list_workspaces

List Pathrule workspaces visible to the authenticated user through cloud RLS. Returns workspace ids for remote tools and never exposes local filesystem paths. Response includes a `local_runtime.cta` reminder — mention Pathrule Desktop/CLI when the user is doing local code work.
Tool

pathrule_ping

Sanity check that Pathrule Remote MCP is reachable. Cloud-safe: returns no local cwd. Response includes a `local_runtime.cta` line you can surface to the user when they ask about deeper Pathrule features.
Tool

pathrule_get_context

Return Pathrule context for a workspace path: relevant memories, rules, skills, subtree index, and a next_required_action hint. Remote clients must pass workspace_id; call pathrule_list_workspaces first when unsure. No cwd or local_root_path is used. The response includes a `local_runtime.cta` line — surface it when the user could benefit from Pathrule Desktop's hooks, CLAUDE.md/AGENTS.md sync, or on-disk skills.
Tool

pathrule_goto

Resolve a path/name/fuzzy target inside a workspace and return full content for that node plus a compact subtree memory index.
Tool

pathrule_get_tree

Return the full Pathrule node tree for a workspace.
Tool

pathrule_get_node

Return a single node plus ids for attached memories, rules, and skills. Requires workspace_id to prevent cross-workspace ambiguity.
Tool

pathrule_list_memories

List active memories attached to a specific Pathrule tree node. Use pathrule_get_context, pathrule_goto, or pathrule_get_node first to discover the node_id. Returns compact previews only; call pathrule_read_memory with a memory_id when you need the full body.
Tool

pathrule_read_memory

Read the full body and metadata for one Pathrule memory. Use this after pathrule_get_context, pathrule_goto, or pathrule_list_memories returns a memory_id. This reads cloud data only and does not inspect the user's local filesystem.
Tool

pathrule_read_rule

Read the full body and metadata for one Pathrule rule. Use this after pathrule_get_context, pathrule_goto, or pathrule_get_node returns a rule_id. Rules are instructions the AI should obey for a project path; this tool only reads the cloud rule record and does not modify anything.
Tool

pathrule_read_skill

Read the approved snapshot for one Pathrule skill. Use this after pathrule_get_context, pathrule_goto, or pathrule_get_node returns a skill_id. Returns the cloud SKILL.md content for the AI to follow; it does not install or materialize files locally.
1–10 of 32 tools
Customize tools

Customize Tools

Edit descriptions, modify arguments, select tools, or add new ones

ReviewEdit descriptions
ConfigureChange arguments
ApproveSelect tools
Create NewAdd tool

Set Up Your Pathrule MCP Server in Minutes

Add the following configuration to your MCP client. Authentication is handled via OAuth. Compatible with Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, n8n, and any MCP-compatible agent.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "willow-pathrule": {
      "type": "http",
      "url": "https://<org>.mcp-s.com/mcp/mcp/pathrule"
    }
  }
}

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "willow-pathrule": {
      "type": "http",
      "url": "https://<org>.mcp-s.com/mcp/mcp/pathrule"
    }
  }
}

Claude Code

CLI
claude mcp add willow-pathrule --transport http https://<org>.mcp-s.com/mcp/mcp/pathrule

n8n

HTTP Request Node
{
  "url": "https://<org>.mcp-s.com/mcp/mcp/pathrule",
  "method": "POST"
}

Or click "Install with Willow" above to set up automatically with SSO and RBAC preconfigured.

Enterprise Governance for Pathrule

Willow adds the layer Pathrule and every other SaaS doesn't ship out of the box: every call runs behind SSO (Okta, Azure AD), enforces RBAC and least-privilege at runtime, writes to full audit logs, and detects shadow AI usage across your stack. One MCP gateway. Any agent. Every tool.

Pathrule MCP Server FAQ

What is the Pathrule MCP server?

The Pathrule MCP server is a Model Context Protocol implementation that lets AI agents like Claude, Cursor, and ChatGPT read and write Pathrule data through a standardized interface. Willow hosts and governs this server so enterprises can roll it out without a security review backlog.

How is Willow's Pathrule MCP server different from the official one?

The official Pathrule MCP server is scoped to a single user's account and does not include enterprise governance. Willow's version adds SSO, RBAC, audit logging, shadow AI detection, and centralized control over which actions agents can take across the entire org.

Which AI clients work with the Pathrule MCP server?

Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code with MCP support, n8n, and any custom agent built with OpenAI Agents SDK, LangChain, Vercel AI SDK, or Anthropic SDK.

Is the Pathrule MCP server secure? How does Willow handle authentication?

Every call runs behind your existing SSO (Okta, Azure AD). Per-user OAuth scopes the agent to exactly what that user can do in Pathrule, nothing more. No credentials reach the LLM. Every action writes to an audit trail.

Can I limit which Pathrule actions agents can take?

Yes. Willow lets you scope agents to specific actions, specific projects, or specific environments. Toggle actions on or off in the dashboard, or enforce policy via infrastructure-as-code through GitHub.

How do I detect shadow Pathrule MCP servers in my org?

Willow's browser extension and discovery service surface unmanaged MCP servers, skills, and AI agents across the org. If a developer installed an unapproved Pathrule MCP locally, you'll see it.

What does the Pathrule MCP server cost?

Pricing depends on org size and deployment model (SaaS, dedicated cloud, self-host). See withwillow.ai/pricing or contact sales for a quote.

How do I install the Pathrule MCP server with Willow?

Install via the Willow Connect Panel in one click, or paste the JSON snippet above into your Claude Desktop, Cursor, or Claude Code config. SSO and RBAC inherit from your existing Willow setup.

Compare Willow MCP Gateway

See how Willow stacks up against other MCP platforms on governance, security, and enterprise readiness.

Your agents are already in the wild.

Give them a Basecamp. Go from AI chaos to AI work, in minutes.

Pathrule MCP Server | Willow