Connect an Agent
Set up ArchGraph with your preferred AI coding assistant.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"archgraph": {
"url": "https://mcp.archgraph.dev/mcp",
"headers": {
"Authorization": "Bearer ag_YOUR_API_KEY"
}
}
}
}
Claude Code
claude mcp add archgraph \
--transport sse \
--header "Authorization: Bearer ag_YOUR_API_KEY" \
https://mcp.archgraph.dev/mcp
Cursor
Open Cursor settings, navigate to the MCP section, and add:
{
"archgraph": {
"url": "https://mcp.archgraph.dev/mcp",
"headers": {
"Authorization": "Bearer ag_YOUR_API_KEY"
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"archgraph": {
"serverUrl": "https://mcp.archgraph.dev/mcp",
"headers": {
"Authorization": "Bearer ag_YOUR_API_KEY"
}
}
}
}
Verify connection
Once connected, ask your agent:
"Use ArchGraph to show me the stats for my repository"
If the connection is working, you'll see node and edge counts for your repo.