One-command setup
From the repo root:.mcp.json— MCP server config at the repo root (Claude Code reads this).claude/settings.json— hook wiring that points to the shared.cursor/hooks/enagrams-hooks.mjsscript
init so the MCP server registers.
Verify
In Claude Code, check that theenagrams server is connected (settings → MCP). You should see 26 tools.
agent_type: claude_code.
What’s in .claude/settings.json
Claude Code’s hook format is slightly different from Cursor’s, but the underlying script is identical — the CLI translates automatically.
.mcp.json (at repo root):
Troubleshooting
Server connects but no tools show — your API key may be invalid. Runenagrams login to refresh.
File writes blocked unexpectedly — another session owns the file, or a must-tier convention applies. The denial message explains which.