Setup
Option 1: Remote Server (Recommended)
Connect to AnomalyArmor’s hosted MCP server. No installation or API key required. You sign in with your AnomalyArmor account. Add to your Cursor MCP configuration: macOS:~/Library/Application Support/Cursor/mcp.json
Linux: ~/.config/Cursor/mcp.json
Windows: %APPDATA%\Cursor\mcp.json
Option 2: Local Server (API Key)
For air-gapped environments or custom setups, install and run the server locally. 1. Install the MCP server:- Go to Settings > API Keys in AnomalyArmor
- Click Create API Key
- Name it “Cursor”
- Copy the key (it won’t be shown again)
Usage
Open Cursor’s AI chat and ask questions about your data:Example Queries
Data Health Check
Investigate Pipeline Issues
Query Schema Changes
Available Tools
The MCP server provides 40+ tools to Cursor, including health checks, alert management, freshness monitoring, schema drift detection, data quality metrics, validity rules, AI intelligence, lineage, and tagging. See the MCP Server page for the complete tool reference.Troubleshooting
MCP Server Not Found
Solution:- Restart Cursor after editing mcp.json
- For local mode, verify armor-mcp is installed:
armor-mcp --version - Check JSON syntax in config file
Authentication Failed (Remote)
Solution:- Re-open Cursor to trigger a fresh sign-in prompt
- Verify you can sign in to app.anomalyarmor.ai
- Check that your Cursor version supports streamable-http MCP transport
Authentication Failed (Local)
Solution:- Verify API key in mcp.json
- Check key is not expired or revoked
- Generate a new key from Settings > API Keys
No Data Returned
Solution:- Verify you have data sources connected in AnomalyArmor
- Try a simpler query like “health summary”
- For remote mode, try removing and re-adding the server config to clear cached auth
Next Steps
MCP Server
Advanced configuration
Claude Code
Claude Code integration
Python SDK
Programmatic access
API Reference
REST API documentation
