AI Tool Setup

Detailed configuration guides for each supported AI coding tool. All require the same two steps: add Engrams to the MCP config, then run engrams init.

Roo Code

Add to ~/.roo/mcp.json or <project>/.roo/mcp.json:

{
  "mcpServers": {
    "engrams": {
      "command": "uvx",
      "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
    }
  }
}
engrams init --tool roo

Cline

In VS Code, open Settings → Extensions → Cline → MCP Servers and add:

{
  "engrams": {
    "command": "uvx",
    "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
  }
}
engrams init --tool cline

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "engrams": {
      "command": "uvx",
      "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
    }
  }
}
engrams init --tool cursor

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "engrams": {
      "command": "uvx",
      "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
    }
  }
}
engrams init --tool windsurf

Claude Code

Add to ~/.claude/mcp.json:

{
  "mcpServers": {
    "engrams": {
      "command": "uvx",
      "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
    }
  }
}
engrams init --tool claude-code

This creates a CLAUDE.md file in your project root with the Engrams strategy.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "engrams": {
      "command": "uvx",
      "args": ["--from", "engrams-mcp", "engrams-mcp", "--mode", "stdio"]
    }
  }
}
engrams init --tool claude-desktop

This prints custom instructions to paste into Claude Desktop's Project Instructions field.

Any other MCP client

engrams init --tool generic

This creates engrams_strategy.md — a tool-agnostic strategy document you can paste into any AI's system prompt or custom instructions field.

💡 Restart required. After modifying your MCP config, restart your IDE or reload the window for the changes to take effect.