# Sentry and Datadog MCP servers: debug production errors from Claude Code

> Give Claude Code your Sentry issues and Datadog logs, metrics and traces with the official MCP servers and plugins. Setup, sign-in, and what to ask.

Published by Calyban (https://calyban.com/blog/sentry-datadog-mcp-claude-code), 2026-11-28.

**Short answer:** Sentry hosts its official MCP server at `https://mcp.sentry.dev/mcp`. Add it with `claude mcp add --transport http sentry https://mcp.sentry.dev/mcp` and sign in through the browser. For Datadog, install the official plugin with `/plugin install datadog@claude-plugins-official`, which brings a preconfigured Datadog MCP server for logs, metrics, traces and dashboards.

With both connected, "why is checkout throwing 500s?" stops being a tab-switching exercise.

Or install both from one place: [Calyban](/) adds Sentry to every agent you pick and installs the Datadog plugin through Claude Code's own commands, one click each. Free, no account.

## Sentry

```bash
claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
```

The first call opens a browser window to sign in to Sentry and choose an organization. No token to copy.

For Codex, add a `url` line:

```toml
[mcp_servers.sentry]
url = "https://mcp.sentry.dev/mcp"
```

Cursor takes the same URL in `mcp.json` as `"url": "https://mcp.sentry.dev/mcp"`.

The agent can then search issues, read an issue's details and stack trace, and search events. The useful part is that it has your code open at the same time, so it reads the stack trace and then the exact line it points at.

There are also Sentry plugins for Claude Code (`sentry@claude-plugins-official` and the CLI-based `sentry-cli`), and a Sentry skill in OpenAI's skills repo for Codex.

## Datadog

```
/plugin install datadog@claude-plugins-official
```

The plugin is published by Datadog and sets up a Datadog MCP server for you. Then ask in plain words: query logs for a service, pull a metric, follow a trace, open a dashboard.

If you'd rather stay on the command line, the catalog also has a [Datadog CLI skill](/skills/davila7-datadog-cli) that teaches the agent to use Datadog's own CLI.

## Things to ask

- "What are the top five unresolved Sentry issues in the api project this week, and where in our code does the first one start?"
- "Pull the error logs for checkout-service from the last hour and group them by message."
- "This trace is slow. Which span takes the time?"

## Keep the blast radius small

Monitoring tools read a lot of data you probably don't want pasted everywhere. Sign in with an account whose permissions match what the agent needs, and install these into the projects where you debug production rather than into every session.

## The Calyban way

[Sentry](/mcp/sentry) and [Datadog](/plugins/claude-plugins-official-datadog) are both in Calyban's catalog. **Install** writes Sentry's hosted URL into each agent you pick in its own format, and runs Claude Code's plugin command for Datadog, checking the plugin's files as they arrive. Choose **One folder** to keep production debugging tools out of your side projects.

Calyban is free for Windows and Linux at [/#download](/#download). Tell us on [Discord](https://discord.gg/pHDNtgYvWn) which monitoring tool you want covered next.
