Cursor edits.
Pathrule remembers.
Shared rules and team context for Cursor. One path-scoped source reaches Cursor through Pathrule's MCP tools, which return what applies to the folder it is working in.
Without
Done. The page fetches /api/orders in a useEffect.
Uses fetch where the team uses the api client.2 tries
With Pathrule
when Cursor asks over MCP: 3 notes for features/orders
- Use the api client, not fetch
- React Query for data
- Shared buttons from ui/
Done. Orders load through the api client with React Query.
Matches what the team already decided.1 try
How Pathrule reaches Cursor.
- files it reads: nofiles it reads
- None: Pathrule writes only its MCP entry
- before each prompt: nobefore each prompt
- No prompt hook
- around tool calls: noaround tool calls
- No hooks
- when it asks: yeswhen it asks
- Local
No hooks and no files: Cursor reaches the knowledge through Pathrule's MCP tools when the agent asks for it.
.cursorrules vs Pathrule
- Native instruction files can be scoped by path and shared through version control.
- Changes follow repository permissions and its Git or pull-request history.
- Context depends on the files and guidance the client loads.
- Tied to Cursor; other agents need their own files.
- Onboarding follows the repository’s instruction setup.
- Path-scoped slice for the directory the model is working in.
- Reviewable rules and skills with server-enforced workspace access and a self-audit.
- Token cost scales with the relevant slice, not the whole rule set.
- Same content reaches Claude Code, Codex, GitHub Copilot and Windsurf.
- Onboarding = "join the workspace; the right rules show up on the right paths".
Long read: Why AI coding assistants need scoped rules.
What Pathrule adds to Cursor
- MCP deliveryWhen Cursor asksCursor calls Pathrule's MCP tools, such as
pathrule_get_context, and gets the slice for the folder it is working in. Pathrule installs no Cursor hook, so nothing arrives before the agent asks. - Path-scoped graphRules where they applyA rule attached to
/apps/webonly comes back when Cursor asks about work under that path..cursorrulesstops being a dumping ground. - Reviewable team knowledgeMemories, rules, skillsThree knowledge types, reviewable in Local Console and VS Code, with shared Cloud authoring through MCP. Stale rules surface for cleanup, and concurrent edits conflict cleanly instead of overwriting each other.
- Same content, every agentOne source for every agentClaude Code, Codex, GitHub Copilot and Windsurf receive the same path-scoped knowledge, so editor choice does not fragment what the team knows.
Questions.
What does Pathrule add to Cursor?
A path-scoped knowledge layer that Cursor reaches through Pathrule's MCP tools. When the agent asks, it gets the team memories, rules and skills that match the directory being worked in.
Is Pathrule an alternative to Cursor rules?
Pathrule is a layer above Cursor's own context. Cursor rules are committed and glob-scoped, which works; Cursor also has memory and shared Projects. Those have their own sharing and precedence within Cursor. Pathrule keeps both halves inspectable, shares the workspace half with your team, and carries your own working preferences to the next repository.
Can my whole team share Cursor rules through Pathrule?
Yes. Pathrule is built for teams. In a Pathrule Cloud workspace, rules and skills are shared in a path-indexed graph with server-enforced workspace access, and every teammate's Cursor can read them over MCP, as can Claude Code, Codex, GitHub Copilot and Windsurf.
Why does Cursor ignore my .cursorrules?
Cursor rules take globs, so scope is not the issue it once was. What remains is that a rule is delivered as text with no rank, so a hard requirement reads like a preference, and that anything Cursor learns about how you work stays in Cursor. Pathrule stores each rule with a priority and an enforcement level so requirements outrank advice, and what Pathrule learns stays outside any one editor. In Cursor a strict rule arrives as guidance; blocking runs where the Pathrule hook runs, in Claude Code and Codex.
How does Pathrule install into Cursor?
Run npm i -g @pathrule/cli, then pathrule setup in your project (add --local to run with no account). Setup adds Pathrule's MCP entry to ~/.cursor/mcp.json, as it does for every AI client, and writes no Cursor file into your repository. pathrule install cursor writes the entry on its own, and pathrule uninstall cursor removes it.
Does Pathrule see my source code?
No. Pathrule does not automatically upload your repository source code. In local mode there is no account and knowledge stays on your machine. In cloud mode, Pathrule Cloud stores the memories, rules and skills your team writes, and the start of each prompt is sent to rank what applies. Full breakdown on the Security page.