SigNoz MCP Server

SigNoz Cloud - This page applies to SigNoz Cloud editions.
Self-Host - This page applies to self-hosted SigNoz editions.

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
  • <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.

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.

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

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:

ToolDescription
signoz_list_metricsDiscover active metric names and catalog metadata such as type, temporality, and unit
signoz_query_metricsQuery a known metric for values, trends, breakdowns, or formulas with metric-aware defaults
signoz_get_top_metricsReturn top 100 metrics ranked by ingested sample volume with percentages for cost and volume analysis
signoz_check_metric_usageGiven a list of metric names (up to 50 per call), return which dashboards and alerts reference each one
signoz_check_metric_cardinalityReturn label/attribute keys for a single metric with cardinality counts and sample values, sorted highest-cardinality first
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 a rule's firing and state-transition history (cursor-paginated)
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_dashboard_templatesList the bundled SigNoz dashboard template catalog so the model can pick one
signoz_import_dashboardCreate a dashboard from a curated SigNoz dashboard template by path
signoz_list_servicesList APM services with trace activity in 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_queryRun Query Builder v5 requests the dedicated tools cannot express, including multi-query requests, formulas, PromQL, and ClickHouse SQL
signoz_search_docsSearch official SigNoz docs for product, setup, instrumentation, config, API, deployment, or troubleshooting questions
signoz_fetch_docFetch full markdown for one official SigNoz docs page or heading
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

The server also exposes read-only MCP resources (signoz://... URIs) with schemas, query-builder guides, and payload examples that AI assistants read before composing alert, dashboard, and view payloads.

For detailed parameter reference and the full resource list, 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: July 22, 2026

Edit on GitHub

Was this page helpful?

Your response helps us improve this page.