Metis MCP Server - Code intelligence tools for Cursor/VS Code AI chat
npm install @arbotdev/metis-mcpMCP (Model Context Protocol) server that exposes Metis code intelligence tools to Cursor/VS Code AI chat.
``bash`
npm install -g @arbotdev/metis-mcp
Or use directly with npx (recommended for Cursor config):
`bash`
npx @arbotdev/metis-mcp
Contact your Metis administrator to get a JWT token for your repositories.
Add to ~/.cursor/mcp.json:
`json`
{
"mcpServers": {
"metis": {
"command": "npx",
"args": ["-y", "@arbotdev/metis-mcp@1.0.2"],
"env": {
"METIS_API_URL": "https://metis-api-13539721132.us-central1.run.app",
"METIS_API_TOKEN": "your-jwt-token-here"
}
}
}
}
Restart Cursor to load the MCP server.
| Tool | Description |
|------|-------------|
| metis_plan_change | Plan a code change with blast radius + AI explanation |metis_explain_impact
| | Get blast radius / impact analysis for a symbol |metis_search
| | Search for symbols in the codebase |metis_resolve
| | Resolve symbol from file:line position |metis_get_snippet
| | Get code snippet from a file |metis_doctor
| | Check authentication and API connectivity |
In Cursor chat, ask:
- "What will this change break?" → Uses metis_plan_changemetis_explain_impact
- "What calls this function?" → Uses metis_search
- "Find the UserAuth class" → Uses metis_doctor
- "Check my Metis connection" → Uses
``
I want to refactor the get_backend function to support multiple database backends.
What will this change break?
``
Show me the blast radius for the CloudBackend class.
``
Search for validate_token in the codebase.
``
Run metis doctor to check my connection.
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| METIS_API_TOKEN | Yes | - | JWT token for authentication |METIS_API_URL
| | No | https://metis-api-... | Metis API base URL |
The METIS_API_TOKEN environment variable is not set. Add it to your Cursor MCP config.
Your token doesn't have access to the requested repository. Check your repo_allowlist with metis_doctor`.
Your JWT has expired. Contact your Metis administrator for a new token.
MIT