What is MCP Integration?
Model Context Protocol (MCP) is an open protocol that allows AI assistants to connect with external tools and data sources. NOFire AI’s MCP integration brings complete production Knowledge directly into your development environment. With MCP, you can: Shift-Left (Before Deployment):- Assess deployment risk before merging code
- Analyze blast radius of your changes
- Identify critical services affected by your work
- Get deployment strategy recommendations
- Query production environment in natural language
- Understand service dependencies and relationships
- See what changed recently in any service
- Investigate production behavior and incidents
- Onboard new engineers by making production knowledge accessible
Supported IDEs
NOFire AI MCP integration works with:Cursor
Claude Desktop
MCP-Compatible Tools
Prerequisites
Before setting up MCP integration, ensure you have:NOFire AI Account
Data Sources Connected
MCP API Token
MCP-Compatible IDE
Installation
Cursor Setup
Open Cursor Settings
- Open Cursor Settings (Cmd/Ctrl + ,)
- Search for “MCP” in the settings search bar
- Look for “Model Context Protocol” section
- Click “Edit in mcp.json” or “Configure”
- macOS:
~/.cursor/mcp.json - Linux:
~/.cursor/mcp.json - Windows:
%APPDATA%\.cursor\mcp.json
Add NOFire AI Configuration
mcp.json file:mcpServers object:your-mcp-api-key-here with your actual MCP API token from the NOFire AI dashboard.Generate your API token →Save and Restart Cursor
- Save the
mcp.jsonfile - Completely quit Cursor (File → Quit or Cmd/Ctrl + Q)
- Restart Cursor
Verify NOFire AI is Connected
- Cursor will call NOFire AI MCP server
- You’ll see results about your services or deployment risk
- If there’s an error, check the troubleshooting section below
Cursor Settings Tips
Check MCP Status- Look for the MCP icon in Cursor’s status bar (bottom of window)
- Click it to see which MCP servers are active
- NOFire AI should appear in the list with a green indicator
- Open Settings → Advanced
- Enable “Developer Mode” or “Debug Logging”
- Check logs in Cursor’s developer console
Claude Desktop Setup
Locate Claude Desktop Config File
Add NOFire AI Configuration
mcpServers section:If starting fresh:your-mcp-api-key-here with your actual MCP API token.Generate your API token →Validate JSON Syntax
- Check that all brackets
{}and braces[]are closed - Ensure commas between properties (but not after the last one)
- All strings must be in double quotes
""
Save and Restart Claude Desktop
- Save the configuration file
- Completely quit Claude Desktop:
- macOS: Claude → Quit Claude (or Cmd + Q)
- Windows: File → Exit
- Linux: File → Quit
- Restart Claude Desktop
Verify NOFire AI is Available
- Claude will indicate it’s using NOFire AI tools
- You’ll see results from your production environment
- If there’s an error, see troubleshooting below
Claude Desktop Settings Tips
Check MCP Status- Claude shows available tools at the bottom of the chat interface
- Look for indicators that NOFire AI tools are loaded
- If not visible, check the developer console for errors
- Open Claude Desktop Settings
- Look for “Developer” or “Advanced” options
- Enable developer tools/console
- Check for any MCP-related errors
Available Commands
Once configured, you can use these NOFire AI capabilities in your IDE:Shift-Left / Proactive Reliability
Assess Deployment Risk
Assess Deployment Risk
Analyze Blast Radius
Analyze Blast Radius
Get Critical Services
Get Critical Services
Incident Response & RCA
Discover Entities
Discover Entities
Get Entity Changes
Get Entity Changes
Analyze Changes
Analyze Changes
Get Relationships
Get Relationships
Usage Examples
Pre-Merge Risk Assessment
Scenario: You’ve modified payment processing code and want to assess risk before creating a PR. In Cursor:Onboarding New Engineers
Scenario: New team member needs to understand the production architecture. In Cursor:Investigating Production Behavior
Scenario: A service has been flaky, you want to understand what changed. In Claude Desktop:Best Practices
Check Risk Before Every Merge
Check Risk Before Every Merge
Use NOFire AI for Onboarding
Use NOFire AI for Onboarding
- “What services do we have in production?”
- “How does auth-service connect to user-service?”
- “What changed in payment-service this week?”
Include Context in Queries
Include Context in Queries
Use for Incident Investigation
Use for Incident Investigation
- “What changed in [service] before the incident?”
- “Analyze [service] changes from 2 hours ago”
- “What services depend on [broken-service]?”
Share Insights with Your Team
Share Insights with Your Team
Troubleshooting
MCP Server Not Responding
MCP Server Not Responding
- Check the MCP status icon in the bottom status bar
- Verify JSON syntax in
~/.cursor/mcp.jsonis valid - Ensure you fully quit and restarted Cursor (not just reload)
- Check API token is correct and active in NOFire AI dashboard
- Test connectivity:
curl https://mcp.nofire.ai/health - Look for errors in Cursor’s developer console (Help → Toggle Developer Tools)
- Validate JSON syntax in
claude_desktop_config.json - Ensure file path is correct for your OS
- Check file permissions (should be readable)
- Verify API token is active in dashboard
- Check Claude’s developer console for error messages
- Try removing and re-adding the configuration
JSON Syntax Errors
JSON Syntax Errors
- Use an online JSON validator
- Use command line:
python3 -m json.tool yourfile.json - Most code editors have built-in JSON validation
API Token Issues
API Token Issues
- Copy the API token correctly (no extra spaces or line breaks)
- Ensure you copied the MCP key (not agent key)
- Verify key is active in NOFire AI dashboard
- Check key hasn’t been deleted or deactivated
- Make sure quotes are proper JSON double quotes
""
Configuration File Not Found
Configuration File Not Found
mcp.json or claude_desktop_config.jsonSolutions:For Cursor:
Create the directory and file if they don’t exist:No Services Found
No Services Found
- Ensure your data sources are connected:
- If using observability stack: Verify Grafana/Prometheus/Loki connections are active
- If using Kubernetes agent: Ensure agent is deployed and running
- Wait 5-10 minutes for initial data collection and knowledge graph building
- If using agent: Verify it has correct cluster access
- Check connection logs for errors in the NOFire AI dashboard
Inaccurate File Mapping
Inaccurate File Mapping
- Use repository-qualified paths (include repo name)
- Ensure service names match deployment labels
- Check if service was recently deployed (< 1 hour)
- Fuzzy matching requires similar naming between files and services
API Token Permission Denied
API Token Permission Denied
Security Considerations
- Modify your production infrastructure
- Trigger deployments or rollbacks
- Create or delete Kubernetes resources
- Change system configurations
- Execute commands in your clusters
Bonus: Automate with AGENTS.md
Make NOFire AI checks automatic by adding them to yourAGENTS.md file. This ensures AI coding agents always use NOFire AI for deployment risk and operational knowledge.
Create or update AGENTS.md in your repository root:
- Works with Cursor, GitHub Copilot, Jules, Aider, and most AI coding agents
- Makes shift-left and operational knowledge automatic
- Entire team follows same safety checks and has access to production knowledge