MCP API Keys
Long-lived credentials for the ArchRails cloud MCP server. Generate a key, then follow the Wire up your IDE steps below for Claude Code, Cursor, Windsurf, or any MCP-compatible client. One active key per developer; minting a new key auto-revokes the previous one. Default lifetime: 30 days.
Your account isn't provisioned for ArchRails yet
You're signed in to Cognito but not assigned to a tenant. ArchRails is currently invite-only: a tenant admin must add your account before you can mint keys or use the cloud MCP server.
Email hello@archrails.io to request provisioning. Include your organization name and the email address you signed up with.
Mint a new key
The raw key value is shown once, then only its hash is stored. Save it to your IDE config immediately. Devs: you can mint for yourself only. Maintainers / admins: you can mint for any user in this tenant.
Wire up your IDE
archrails login --paste step below — the CLI caches it in ~/.archrails/credentials.json (mode 0600) so the MCP server can authenticate.
archrails CLI as a stdio MCP server. Already cached a key? Skip the archrails login --paste step.
pip install archrails-mcp
~/.claude.json for Claude Code, and runs a smoke check.archrails bootstrap
pip install archrails-mcp
~/.archrails/credentials.json (mode 0600).archrails login --paste
mcpServers in ~/.claude.json via the Claude Code CLI.claude mcp add archrails -- archrails mcp start --repo .
/mcp — you should see archrails with 4 tools (get_architecture_context, check_proposed_change, scan_repo_for_drift, list_owned_repos).pip install archrails-mcp
archrails login --paste
~/.cursor/mcp.json — create it if missing. If you already have mcpServers entries, merge into the existing object.{
"mcpServers": {
"archrails": {
"command": "archrails",
"args": ["mcp", "start", "--repo", "."]
}
}
}archrails should appear with a green status dot. Test in chat: "Use the archrails MCP server to call get_architecture_context."pip install archrails-mcp
archrails login --paste
~/.codeium/windsurf/mcp_config.json — create it if missing.{
"mcpServers": {
"archrails": {
"command": "archrails",
"args": ["mcp", "start", "--repo", "."]
}
}
}archrails is listed and refresh tools.pip install archrails-mcp
archrails login --paste
~/.continue/config.yaml — append to mcpServers.mcpServers:
- name: archrails
command: archrails
args: ["mcp", "start", "--repo", "."]archrails's 4 tools.pip install archrails-mcp
archrails login --paste
archrails
~/.archrails/credentials.json; no env vars needed.{
"command": "archrails",
"args": ["mcp", "start", "--repo", "."],
"env": {}
}archrails mcp start --repo .