Configuration
Configuration
Server Flags
--root(default: current working directory) — Root directory for knowledge storage and file operations. The.ai-knowledgedirectory 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
- Go to Settings > General > MCP.
- Click Add New MCP Server.
- Enter Name:
einstein - Select Type:
stdio - 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"
]
}
}
}