Configuration

Configuration

Server Flags

  • --root (default: current working directory) — Root directory for knowledge storage and file operations. The .ai-knowledge directory is created under this path.
  • --experimental — Enable experimental tools. Currently enables the three code-outline tools (outline_symbol, outline_file, outline_project).
info
Experimental tools

Experimental tools may have rough edges or breaking changes between releases. Enable them only when you need the feature.

MCP Client Configuration

Use an absolute path to the einstein-mcp binary and pass the root directory as an argument.

Claude Desktop and Claude Code

For Claude Desktop, edit:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\\Claude\\claude_desktop_config.json

For Claude Code, run:

  • claude mcp add einstein -- /path/to/einstein-mcp --root /path/to/project

Or manually edit a generic config:

{
  "mcpServers": {
    "einstein": {
      "command": "/path/to/einstein-mcp",
      "args": [
        "--root",
        "/path/to/project"
      ]
    }
  }
}

Cursor

  1. Go to Settings > General > MCP.
  2. Click Add New MCP Server.
  3. Enter Name: einstein
  4. Select Type: stdio
  5. Enter Command: /path/to/einstein-mcp --root /path/to/project

GitHub Copilot (VS Code)

Add to .vscode/mcp.json in your project root:

{
  "mcpServers": {
    "einstein": {
      "command": "/path/to/einstein-mcp",
      "args": [
        "--root",
        "/path/to/project"
      ]
    }
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "einstein": {
      "command": "/path/to/einstein-mcp",
      "args": [
        "--root",
        "/path/to/project"
      ]
    }
  }
}