SigNoz Cloud - This page is relevant for SigNoz Cloud editions.
Self-Host - This page is relevant for self-hosted SigNoz editions.

SigNoz MCP Server

The SigNoz MCP Server implements the Model Context Protocol (MCP) — an open standard that lets AI assistants interact with your SigNoz observability data. Query metrics, traces, logs, alerts, and dashboards through natural language.

Connect to SigNoz's MCP server

Connect your AI tool to SigNoz Cloud's hosted MCP server. No installation required — just add the URL and authenticate.

https://mcp.<region>.signoz.cloud/mcp

Make sure you select the correct region that matches your SigNoz Cloud account. Using the wrong region will result in authentication failures.

  • <region>: Your SigNoz Cloud region. Find your region under Settings → Ingestion in SigNoz, or see the region reference.

Install in one click

Manual Configuration

Add this configuration to .cursor/mcp.json:

{
  "mcpServers": {
    "signoz": {
      "url": "https://mcp.<region>.signoz.cloud/mcp"
    }
  }
}
  • <region>: Your SigNoz Cloud region

Need help? See the Cursor MCP docs ↗

Authenticate from your client

When you add the hosted MCP URL to your client, the MCP client will initiate an authentication flow. You will be prompted to enter:

  1. Your SigNoz instance URL (e.g., https://your-instance.signoz.cloud)
  2. Your API key — go to Settings → Service Accounts in SigNoz, create a service account, and generate an API key (requires Admin role). See Service Accounts for details.

Only Admin users can create API keys. If you don't see the option, contact your workspace administrator.

Header-Based Authentication

Some MCP clients (like Cursor Automations) run entirely in the cloud and cannot perform interactive OAuth authentication. For these clients, use header-based authentication by passing your API key and instance URL directly in the request headers.

If your MCP client doesn't support OAuth flows or stdio transport — for example, Cursor Automations: use this header-based configuration instead.

{
  "mcpServers": {
    "signoz": {
      "url": "https://mcp.<region>.signoz.cloud/mcp",
      "headers": {
        "SIGNOZ-API-KEY": "<your-api-key>",
        "X-SigNoz-URL": "<your-signoz-instance-url>"
      }
    }
  }
}

Keep your API key secure — never commit mcp.json to version control when it contains secrets.

Validate

After connecting, verify the server is working:

  1. Open your AI assistant.
  2. Ask: "List all alerts" or "Show me all available services".
  3. The assistant should return structured results from your SigNoz instance.

Available Tools

The MCP server exposes the following tools to your AI assistant:

Alert-rule and notification-channel tools use newer SigNoz rules and channels APIs. Use SigNoz v0.120.0 or later for full compatibility with the latest MCP server. Older SigNoz deployments may return HTTP 404 for those tools.

ToolDescription
signoz_list_metricsSearch and list available metrics
signoz_query_metricsQuery metrics with smart aggregation defaults
signoz_get_field_keysDiscover available field keys for metrics, traces, or logs
signoz_get_field_valuesGet possible values for a field key
signoz_list_alertsList firing, silenced, or inhibited Alertmanager alert instances
signoz_list_alert_rulesList configured alert rules, including inactive or disabled rules
signoz_get_alertGet an alert rule definition by ID
signoz_get_alert_historyGet alert history timeline for a rule
signoz_create_alertCreate an alert rule using v2 schema validation
signoz_update_alertUpdate an existing alert rule
signoz_delete_alertDelete an alert rule
signoz_list_dashboardsList all dashboards with summaries
signoz_get_dashboardGet full dashboard configuration
signoz_create_dashboardCreate a new dashboard
signoz_update_dashboardUpdate an existing dashboard
signoz_delete_dashboardDelete a dashboard by UUID
signoz_list_servicesList services within a time range
signoz_get_service_top_operationsGet top operations for a service
signoz_list_viewsList saved Explorer views for traces, logs, or metrics
signoz_get_viewGet a saved Explorer view by UUID
signoz_create_viewCreate a saved Explorer view
signoz_update_viewReplace an existing saved Explorer view
signoz_delete_viewDelete a saved Explorer view
signoz_aggregate_logsAggregate logs (count, avg, p99, etc.) with grouping
signoz_search_logsSearch logs with flexible filtering
signoz_aggregate_tracesAggregate trace statistics with grouping
signoz_search_tracesSearch traces with flexible filtering
signoz_get_trace_detailsGet full trace with all spans
signoz_execute_builder_queryExecute a raw Query Builder v5 query
signoz_list_notification_channelsList notification channels
signoz_get_notification_channelGet a single notification channel by ID
signoz_create_notification_channelCreate a notification channel and send a test notification
signoz_update_notification_channelUpdate a notification channel and send a test notification
signoz_delete_notification_channelDelete a notification channel by ID

For detailed parameter reference, see the GitHub repository README.

Troubleshooting

Tools not appearing in the AI client

  • Verify the binary path is correct and the file is executable (self-hosted only).
  • Set LOG_LEVEL=debug for detailed server logs.

Authentication errors

  • For SigNoz Cloud: ensure you are using the correct region in the MCP URL.
  • Confirm your API key is valid and has not expired.
  • For self-hosted HTTP mode where the client sends the key, use the SIGNOZ-API-KEY: <your-api-key> header.

SigNoz Cloud connection issues

  • Verify the region in the URL matches your account (https://mcp.<region>.signoz.cloud/mcp).
  • Check your network can reach mcp.<region>.signoz.cloud.
  • Make sure you completed the authentication flow when prompted.

Server not starting (self-hosted HTTP mode)

  • Ensure port 8000 is not already in use.
  • Check that TRANSPORT_MODE=http is set.
  • Review server logs for startup errors.

Last updated: May 5, 2026

Edit on GitHub

Was this page helpful?

Your response helps us improve this page.