The Dash0 MCP Server enables AI assistants to interact with your observability data, allowing them to troubleshoot issues and read services, metrics, logs, traces, failed checks, synthetic checks, SLOs, dashboards, and websites. All tools are read-only.
The Dash0 MCP Server is the official Model Context Protocol (MCP) server for Dash0. It enables AI assistants to interact with your observability data, allowing them to troubleshoot issues and read services, metrics, logs, traces, failed checks, synthetic checks, SLOs, dashboards, and websites. All of its tools are read-only.
The MCP server is a "remote" MCP server, cloud-hosted by Dash0. It uses the Streamable HTTP transport, so there is no local process to install or manage. AI assistants connect to it remotely using OAuth 2.0 or a Dash0 auth token.
The MCP server can also delegate read-only investigations to Agent0, Dash0's AI observability assistant. Agent0 investigates and returns structured findings with a recommended fix, but it does not apply the change itself. A full investigation consumes roughly 1-2 Agent0 credits.
The Dash0 MCP Server uses the Streamable HTTP transport, running as a cloud-hosted remote service. AI assistants can authenticate using either OAuth 2.0 (recommended for interactive AI tools like Claude Code, Codex, Cursor, and Windsurf) or a Dash0 auth token (recommended for CI/CD and automated workflows).
Before configuring the MCP server, ensure:
The MCP endpoint URL has the form https://api.<region>.<cloud>.dash0.com/mcp. Use the <region> and <cloud> values
that match the region of your Dash0 organization:
| Dash0 region | <region> | <cloud> |
|---|---|---|
| AWS Europe (Ireland) | eu-west-1 | aws |
| AWS Europe (Frankfurt) | eu-central-1 | aws |
| Google Cloud Europe (Netherlands) | europe-west4 | gcp |
| AWS US East (N. Virginia) | us-east-1 | aws |
| AWS US West (Oregon) | us-west-2 | aws |
For example, an organization in AWS Europe (Ireland) uses the eu-west-1 region on aws.
OAuth 2.0 lets AI assistants authenticate without static API tokens. Dynamic client registration, browser-based consent, and token refresh are handled automatically on first use.
claude mcp add dash0 {{endpoint_mcp}} --transport httpAdd --scope to control where the server is registered, choosing one of local, user, or project (for example,
--scope user makes it available across all your projects). See the
Claude Code MCP scopes documentation for details.
On first use, Claude Code opens a browser window where you log in to Dash0 and grant consent. Access tokens expire after 15 minutes and refresh automatically.
Dash0 as the name and paste the MCP endpoint URL for your region.Add the Dash0 MCP server:
codex mcp add dash0 --url {{endpoint_mcp}}Authenticate with Dash0:
codex mcp login dash0Codex opens a browser window where you log in to Dash0 and grant consent. You can review and revoke connected applications under User Settings → Applications in Dash0.
Cursor, Windsurf, and other clients that support remote MCP servers with OAuth can connect using the same MCP endpoint
URL. Add the server through your client's MCP configuration UI or mcp add command, omit the Authorization header,
and the client will walk you through the OAuth consent flow on first connection.
All authorization, token exchange, and revocation events are recorded in your organization's audit logs. You can review and revoke connected applications at any time under User Settings → Applications in Dash0.
For headless environments, scripts, and CI/CD pipelines, configure the server with a static Dash0 auth token.
claude mcp add --transport http dash0 {{endpoint_mcp}} --header "Authorization: Bearer {{token}}"mcpServers JSONClients whose mcpServers JSON configuration accepts remote servers, such as Cursor, can connect directly using the
Streamable HTTP transport:
{
"mcpServers": {
"dash0": {
"url": "{{endpoint_mcp}}",
"headers": {
"Authorization": "Bearer {{token}}"
}
}
}
}For AI assistants that do not yet support remote MCP servers natively, you can use mcp-remote as a bridge:
{
"mcpServers": {
"dash0": {
"command": "npx",
"args": ["mcp-remote", "{{endpoint_mcp}}", "--header", "Authorization:${AUTH_HEADER}"],
"env": {
"AUTH_HEADER": "Bearer {{token}}"
}
}
}
}Read-only telemetry queries over MCP are free. Invoking Agent0 to run an investigation consumes Dash0 credits, because Agent0 performs a multi-step investigation on your behalf — the same as a run started from the Dash0 UI.
An administrator controls whether Agent0 is available over MCP, under Settings → AI. Turn Agent0 via MCP off there to stop anyone in your organization from spending credits this way.