
Turns Claude into a Socratic product partner that builds structured intent specs through conversation. Ask vague questions, get challenged on weak thinking, and end up with a complete spec saved as intent.md with YAML frontmatter covering objectives, outcomes, and edge cases. Runs entirely local with no API key required for the core Intent Compiler. Ships with seven auto-triggering skills for Claude Code that handle spec verification, issue splitting, and code review against intent outcomes. Exports specs to .cursorrules or CLAUDE.md so other AI agents in your project inherit the same context. Optional cloud mode with API key unlocks team features like dependency graph analysis, workspace strategy context, and intent status tracking across approved, shipped, and verified states.
Find the product decisions a request leaves open, before your coding agent builds. A deterministic preflight: six calibrated checks, keyless, no model call.
This repository dogfoods the same workflow: read its intent.md.
This repository is the issue tracker for the package, not its source. The server is developed in Pathmode's private monorepo and published to npm from there. This repo previously held a hand-copied snapshot of the source, which drifted several versions behind the published package. It no longer carries that copy, so there is nothing here to read out of date.
To read the code, unpack the published tarball:
npm pack @pathmode/mcp-server && tar -xzf pathmode-mcp-server-*.tgz
Add to .mcp.json in your project root:
{
"mcpServers": {
"pathmode": {
"command": "npx",
"args": ["@pathmode/mcp-server"]
}
}
}
No account and no API key. Specs live in intent.md in your repo, as plain markdown you own. Set
PATHMODE_API_KEY to sync intent and evidence across a team.
Given one instruction, implement FN-412, in Fieldnote
(a fictional billing app whose ticket asks for a Cancel plan button), an agent with this server
wrote no product code. It found that the only cancel code in the repository was written for
refunds and would take paid days away from every customer who cancels, drafted an intent.md with
four open product choices, and stopped: preflight passed 6/6, still blocked by those choices.
The recorded run
lists every tool call, and npx -y @pathmode/cli preflight on that branch reproduces the verdict.
intent.md files this server writescheck_intent_readiness scores againstBug reports and feature requests belong in Issues.
Include the output of npx @pathmode/mcp-server --version and the client you are running.
MIT
PATHMODE_API_KEYsecretOptional: Your Pathmode API key for team features (dependency graph, workspace context). Get one from Settings > API Keys in the Pathmode app.