IDE integration
The MCP server speaks the standard MCP protocol — every MCP-aware client works.
Cursor
Section titled “Cursor”~/.cursor/mcp.json (or per-project .cursor/mcp.json):
{ "mcpServers": { "atomprd": { "command": "bunx", "args": [ "@atomprd/mcp-server", "--project", "<project-id>", "--token", "<PAT>" ] } }}Restart Cursor. Tools appear in the Composer’s tool picker as atomprd:list_atoms, atomprd:get_atom, etc.
Claude Code
Section titled “Claude Code”~/.claude/mcp.json:
{ "mcpServers": { "atomprd": { "command": "bunx", "args": [ "@atomprd/mcp-server", "--project", "<project-id>", "--token", "<PAT>" ] } }}Verify with claude mcp list. Tools appear as mcp__atomprd__list_atoms, etc.
Cline (VS Code)
Section titled “Cline (VS Code)”In VS Code settings:
{ "cline.mcpServers": { "atomprd": { "command": "bunx", "args": ["@atomprd/mcp-server", "--project", "<project-id>", "--token", "<PAT>"] } }}HTTP transport (web-based clients)
Section titled “HTTP transport (web-based clients)”bunx @atomprd/mcp-server --project <pid> --token <pat> --transport http --port 4100Then in your MCP client, point at http://localhost:4100/mcp. The HTTP transport speaks JSON-RPC over a single POST endpoint (the standard MCP HTTP transport).
Issuing a token
Section titled “Issuing a token”- Sign in at app.atomprd.dev.
- Open the project’s Settings → Tokens.
- Click + New token, name it (e.g. “claude-code on laptop”), pick scopes, expiry.
- Copy once — the cloud doesn’t show it again.
Tokens are scoped to a single project. For multi-project workflows, run multiple MCP servers in parallel (different --project flags).
Agent prompts
Section titled “Agent prompts”A typical MCP-aware agent loop:
1. Agent reads task: "Implement feat_create_habit_h14a"2. Agent calls atomprd:get_atom (id=feat_create_habit_h14a) → gets feature + Layer 23. Agent calls atomprd:find_criteria (feature_id=...) → gets acceptance criteria4. Agent calls atomprd:query_relations (from=..., type=uses_entity) → gets entity refs5. Agent calls atomprd:get_atom for each entity → gets fields6. Agent writes code based on the slice it pulled.7. Agent calls atomprd:link_code_path to record where the implementation landed.8. Agent calls atomprd:update_criterion_status to flip criteria to "done".The agent never sees the rest of the project — only what it asked for.
See also
Section titled “See also”- Server — transport + auth + flags.
- Tools — full tool catalog.
- Concepts → Atom model — why atoms are agent-friendly.