Skip to main content

Overview

The Model Context Protocol (MCP) allows you to add custom tools to IncidentFox. This enables integration with internal systems, custom runbooks, and proprietary data sources.

What is MCP?

MCP is an open protocol that standardizes how AI agents access external tools and data sources. IncidentFox supports MCP servers, allowing you to:
  • Add tools for internal APIs
  • Integrate with custom databases
  • Access proprietary monitoring systems
  • Connect to internal runbook systems

Architecture

Configuration

Adding an MCP Server

Configuration Options

Building an MCP Server

Server Requirements

Your MCP server must implement:
  1. Tool Discovery - GET /tools returns available tools
  2. Tool Execution - POST /tools/{name} executes a tool
  3. Health Check - GET /health for monitoring

Example Server (Python)

Tool Definition Schema

Use Cases

Create a tool that searches your internal knowledge base:
Usage:

Service Catalog

Create a tool that queries your service catalog:
Usage:

Custom Metrics

Create a tool that queries proprietary metrics systems:

Approval Systems

Create a tool that interacts with your change management system:

Equipping Tools to Agents

After configuring an MCP server, equip its tools to agents:
Tool names use the format: {mcp_server_name}:{tool_name}

Security Considerations

MCP servers have direct access to your internal systems. Ensure proper security.
  1. Authentication - Always use authentication
  2. Network Security - Run MCP servers in private networks
  3. Input Validation - Validate all parameters
  4. Rate Limiting - Implement rate limits
  5. Audit Logging - Log all tool invocations
  6. Least Privilege - Only expose necessary functionality

Monitoring MCP Servers

Track MCP tool usage in IncidentFox:
  • Tool invocation counts
  • Latency by tool
  • Error rates
  • Most used tools
View in Team Console > Agent Runs.

Troubleshooting

Connection Failed

  1. Verify URL is correct
  2. Check network connectivity
  3. Verify authentication credentials
  4. Check server health endpoint

Tool Not Found

  1. Verify tool is returned by /tools
  2. Check tool name matches exactly
  3. Ensure MCP server is enabled

Execution Errors

  1. Check parameter schema matches
  2. Review server logs
  3. Verify internal system connectivity

Next Steps

Configuration

Configure MCP servers

Tools Overview

See all available tools