Skip to content

Connect Your IDE

Any agent that speaks MCP over stdio can consume the decision graph. trurlic install writes the right config for your tool; the manual block works everywhere else.

Terminal window
trurlic install --ide <target>

Add --dry-run to print the snippet without writing, or --binary-path <path> to embed an explicit path to the trurlic binary (default: the running executable). Existing configs are merged, not overwritten.

--ide valueToolConfig written
claude-codeClaude Coderuns claude mcp add — see Claude Code
claudeClaude Desktopplatform claude_desktop_config.json
cursorCursor~/.cursor/mcp.json
windsurfWindsurf~/.codeium/windsurf/mcp_config.json
clineCline (VS Code)platform cline_mcp_settings.json
copilotGitHub Copilotplatform Code/User/mcp.jsonservers key
codexCodex CLI~/.codex/config.toml (TOML)
open-codeOpenCode~/.config/opencode/opencode.json
open-clawOpenClaw~/.openclaw/workspace/config/mcporter.json
hermes-agentHermes Agent~/.hermes/config.yaml (YAML)
antigravityAntigravity CLI~/.gemini/config/mcp_config.json

Most targets use the standard mcpServers JSON shape. The exceptions: Copilot uses a servers key, Codex uses TOML, Hermes uses YAML, and OpenCode uses its own mcp block — trurlic install handles each automatically.

If your tool isn’t listed, add the standard MCP block to its config:

{
"mcpServers": {
"trurlic": {
"command": "trurlic",
"args": ["serve"]
}
}
}

No API key is needed — the server ships context and prompts; your agent’s own model does the reasoning.

Add this to your agent’s instructions file (CLAUDE.md, .cursorrules, .clinerules, AGENTS.md, or equivalent):

## Trurlic
This project uses Trurlic for architectural decisions.
Before implementing any task:
1. Call `advance` with the component name and a mode (agent | interactive).
2. Follow the returned action exactly.
3. Call `advance` again after completing each action.
4. Repeat until `ready: true`, then implement — constrained by every
decision in the context brief.
5. Call `verify_against_decisions` before committing; fix any violation.
  1. Restart or reconnect the agent so it picks up the new MCP server.
  2. Ask it to design or implement a component — it should call advance, then get_context.
  3. Run trurlic status to confirm decisions were recorded.

For a full walkthrough see Claude Code; to build your own integration see Custom Agent.