SigNoz
HTTP-SSESTDIOMCP server for SigNoz observability platform integration and monitoring data access
MCP server for SigNoz observability platform integration and monitoring data access
Watch Working Demo on Cursor 📽️ https://youtube.com/shorts/jxjmGyXXz7A
The following tools are available via the MCP server:
data_type ('traces' or 'logs'), time range, service name, and limit. Returns tabular results for traces or logs.uv venv .venv source .venv/bin/activate uv sync
uv run -m src.signoz_mcp_server.mcp_server
uv to run any other entrypoint scripts as needed.config.yaml is in the same directory as mcp_server.py or set the required environment variables (see Configuration section).src/signoz_mcp_server/config.yaml with your Signoz details (host, API key if needed).docker-compose up -d
The server loads configuration in the following order of precedence:
SIGNOZ_HOST: Signoz instance URL (e.g. https://your-signoz-instance.com)SIGNOZ_API_KEY: Signoz API key (optional)SIGNOZ_SSL_VERIFY: true or false (default: true)MCP_SERVER_PORT: Port to run the server on (default: 8000)MCP_SERVER_DEBUG: true or false (default: true)config.yaml):
signoz: host: "https://your-signoz-instance.com" api_key: "your-signoz-api-key-here" # Optional ssl_verify: "true" server: port: 8000 debug: true
You can integrate this MCP server with any tool that supports the MCP protocol. Here are the main options:
{ "mcpServers": { "signoz": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "SIGNOZ_HOST", "-e", "SIGNOZ_API_KEY", "-e", "SIGNOZ_SSL_VERIFY", "drdroidlab/signoz-mcp-server", "-t", "stdio" ], "env": { "SIGNOZ_HOST": "https://your-signoz-instance.com", "SIGNOZ_API_KEY": "your-signoz-api-key-here", "SIGNOZ_SSL_VERIFY": "true" } } } }
-t stdio argument is supported for compatibility with Docker MCP clients (forces stdio handshake mode).If you have an MCP server already running (e.g., on a remote host, cloud VM, or Kubernetes), you can connect your AI assistant or tool directly to its HTTP endpoint.
{ "mcpServers": { "signoz": { "url": "http://your-server-host:8000/mcp" } } }
your-server-host with the actual host where your MCP server is running.localhost as the server host (i.e., http://localhost:8000/mcp).http for local or unsecured deployments, and https for production or secured deployments.mcp: endpoint: "http://your-server-host:8000/mcp" protocolVersion: "2025-06-18"
your-server-host with the actual host where your MCP server is running.localhost as the server host (i.e., http://localhost:8000/mcp).http or https in the URL schema depending on how you've deployed the MCP server.command or args—just point to the HTTP endpoint.curl http://localhost:8000/health
The server runs on port 8000 by default.