Agent Skill · SigNoz

signoz-mcp-setup

Initialize or repair SigNoz MCP server configuration for Claude Code, Codex, Cursor, VS Code/GitHub Copilot, Claude Desktop, Gemini CLI, Windsurf, Zed, Antigravity, OpenCode, or another MCP client. Use this skill before any SigNoz docs, query, dashboard, alert, or view workflow when `signoz:signoz_*` tools are unavailable, or when the user says "setup SigNoz MCP", "configure SigNoz plugin", "wrong region", "change SigNoz region", "MCP auth failed", or asks to connect SigNoz Cloud or a self-hosted MCP endpoint, even if they do not mention the plugin.

Provider: SigNoz Path in repo: plugins/signoz/skills/signoz-mcp-setup/SKILL.md

Skill body

SigNoz MCP Setup

Initialize or repair the SigNoz MCP server registration shipped with this plugin. The target state is one working signoz MCP server. Do not create a duplicate server unless the user explicitly asks for a separate configuration.

Shared reference

Read references/mcp-settings.md before checking state, mapping user input, or editing registration files. It contains the server-state check, registration file locations, editing rules, and region mapping used by this procedure.

Read references/client-configs.md when the user names a client other than the bundled Claude Code, Codex, or Cursor plugin path, when a native client config already exists, or when self-hosted stdio/local-binary setup is requested.

Configuration procedure

Step 1: Check state

Silently determine the SigNoz MCP server state using the reference flow:

Do not fall back to raw HTTP calls for SigNoz data when MCP is unavailable. The MCP server is the supported API surface for this plugin’s live SigNoz workflows.

Step 2: Identify the client

Use the client named in $ARGUMENTS or the user’s latest message. If no client is named, infer it only when the active environment is obvious:

If you need to edit a native client config and the client is still ambiguous, ask which client they want to configure.

Step 3: Resolve the endpoint

Use $ARGUMENTS or the user’s latest message if it already contains a region or URL. Otherwise ask for one of:

Map the response using mcp-settings.md. If the user gives only a SigNoz workspace URL such as https://your-instance.signoz.cloud, do not guess the region from it. Ask them to check Settings -> Ingestion in SigNoz and provide the region.

Do not ask for an API key for SigNoz Cloud setup. OAuth asks for the instance URL and service account API key after the hosted MCP URL is configured. For self-hosted SigNoz, prefer HTTP mode when the user gives an /mcp endpoint. For stdio/local-binary mode, collect the binary path, SigNoz URL, and API key only if the user explicitly asks you to configure that mode. For clients that cannot complete interactive OAuth, use the header-based fallback in client-configs.md only when the user asks for it or the client requires it.

Step 4: Apply the endpoint

For bundled Claude Code, Codex, and Cursor plugin installs, edit the registration files using the reference editing rules:

  1. In .mcp.json for Claude Code and Codex, replace the full url value with the resolved MCP endpoint.
  2. In mcp.json for Cursor, replace the full url value with the resolved MCP endpoint.
  3. Preserve unrelated MCP servers and settings.

Claude Code and Codex target shape:

{
  "mcpServers": {
    "signoz": {
      "url": "https://mcp.us.signoz.cloud/mcp"
    }
  }
}

Cursor target shape:

{
  "mcpServers": {
    "signoz": {
      "url": "https://mcp.us.signoz.cloud/mcp"
    }
  }
}

If either bundled file still uses any SIGNOZ_MCP_URL wrapper from an older version, replace it with the concrete resolved URL.

Bundled registration files live inside the installed plugin. Plugin updates can reset them to the placeholder; if that happens, rerun this setup skill. For a more durable native-client setup, use the relevant recipe in client-configs.md.

For native client setup, use client-configs.md:

Step 5: Tell the user how to finish

Tell the user that the SigNoz MCP endpoint has been configured, then give the client-specific authentication step:

Keep the response short. Do not expose registration file paths, placeholder values, environment variable names, API keys, tokens, or file contents unless the user explicitly asks for implementation details.

Skill frontmatter

argument-hint: