Cursor is an AI-powered IDE. With AnomalyArmor’s MCP integration, you can query data health, investigate issues, and manage monitoring directly from your editor.Documentation Index
Fetch the complete documentation index at: https://docs.anomalyarmor.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Common Questions
How do I add AnomalyArmor to Cursor?
Open Cursor Settings → Features → MCP. Add a server namedanomalyarmor with URL https://mcp.anomalyarmor.ai/mcp and header Authorization: Bearer $ARMOR_API_KEY. Restart Cursor to load the server.
Can I use inline chart previews from AnomalyArmor in Cursor?
Yes, with Cursor’s experimental MCP Apps flag enabled. Five tools (freshness, schema changes, lineage, health summary) return interactive chart views that render inline in the chat. See MCP Apps for details. Without the flag, Cursor falls back to JSON responses gracefully.Does AnomalyArmor in Cursor see my code?
No. AnomalyArmor MCP tools read only the monitoring state in your AnomalyArmor workspace - assets, metrics, alerts, tags. Cursor sends your prompt and relevant context to its LLM provider; AnomalyArmor receives only the tool calls the agent makes, which carry table names and filter parameters, not source code.Why isn’t Cursor showing AnomalyArmor tools after I configured the MCP server?
Three common causes: (1) Cursor wasn’t fully restarted after the config change; (2) the Bearer token is invalid or missing theAuthorization: prefix; (3) the host field Authorization is case-sensitive in some Cursor versions. Check Cursor’s MCP logs (View → Output → MCP) for the exact error.
MCP Server
Advanced configuration
Claude Code
Claude Code integration
Python SDK
Programmatic access
API Reference
REST API documentation
