---
title: "Sentry MCP server: let AI agents investigate and triage errors"
description: "Install Sentry's MCP server in an Aldena project and agents search issues, read events and traces, and triage errors, acting as the person who signed in."
url: "https://aldena.ai/mcp-servers/sentry"
---

# Let agents dig into Sentry issues and fix what they find

Sentry MCP server. Install Sentry's MCP server in an Aldena project and agents search issues, read events and traces, and triage errors, acting as the person who signed in.

- **Sign-in**: Browser sign-in
- **Installs as**: `sentry-mcp`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-28

Sentry tracks errors and performance in production, grouping events into issues with stack traces, traces and the release that introduced them. Sentry's hosted MCP server lets an agent search issues and events, read stack traces and traces, triage by resolving or assigning, and look up Sentry's own docs, acting as the person who signed in.

Aldena's built-in [Sentry connector](https://aldena.ai/integrations/sentry) is the other half. It only starts runs: when a new issue appears in a project the agent watches, the agent wakes with the issue's title and culprit. From there the MCP server does the investigating. The agent reads the latest event's stack trace, searches for related issues, and checks the traces around the failure. It clones the repository into its conversation's sandbox, reproduces the bug, writes the fix and opens a pull request through the [GitHub connector](https://aldena.ai/integrations/github). Once the fix is merged, it resolves the issue in Sentry and notes the pull request, so the next on-call engineer sees the whole story.

The server installs as `sentry-mcp`, since `sentry` names the connector, and each tool gets its own row in the project's [permissions](https://aldena.ai/features/human-in-the-loop). For the same investigation with logs, pair it with the [Axiom MCP server](https://aldena.ai/mcp-servers/axiom); for paging people, with the [PagerDuty MCP server](https://aldena.ai/mcp-servers/pagerduty).

## With Sentry, your agents can

- Search issues and error events across your Sentry projects
- Read stack traces, traces and performance data for a problem
- Triage issues by resolving or assigning them
- Look up Sentry's documentation and SDK setup

## Try asking

- “Find the Sentry issue with the most events in the web project since this morning's deploy and show me its stack trace.”
- “Look at the slowest Sentry traces for the /checkout transaction today and tell me which span is taking the time.”
- “Resolve Sentry issue WEB-1832 in the next release and assign the related WEB-1840 to me.”

## Server

- **Server URL**: `https://mcp.sentry.dev/mcp`
- **Website**: [sentry.io](https://sentry.io)
- **MCP docs**: [Sentry MCP docs](https://mcp.sentry.dev/)
- **Built-in connector**: [Aldena's Sentry connector](https://aldena.ai/integrations/sentry)

## How to connect Sentry

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install Sentry.** Search for Sentry and press Install. Aldena adds it as `sentry-mcp`.
3. **Sign in to Sentry.** Open the sign-in link Aldena shows and approve. The server then acts as you.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Axiom MCP server](https://aldena.ai/mcp-servers/axiom): Query logs, traces, and metrics, and manage dashboards and monitors.
- [Cloudflare Observability MCP server](https://aldena.ai/mcp-servers/cloudflare-observability): Query Workers logs, analytics, and error traces.
- [Globalping MCP server](https://aldena.ai/mcp-servers/globalping): Run ping, traceroute, and DNS checks from a global network.
- [Jam MCP server](https://aldena.ai/mcp-servers/jam): Read bug reports with console logs and repro steps.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### How do Aldena's Sentry connector and Sentry's MCP server work together?

The connector starts runs: a new issue, a new error or a comment in a watched Sentry project wakes the agent with the title and culprit. It cannot search or change anything. Sentry's MCP server is what the agent then uses to read events and traces, search related issues, and resolve or assign.

### Why is the Sentry server named sentry-mcp in Aldena?

Aldena's built-in Sentry connector already uses the name sentry, so the marketplace installs the MCP server as sentry-mcp. Both sets of tools appear in the project, each with its own permission rows, and agents tell them apart by name.

### Can the Sentry server be scoped to one project?

Sentry lets a client scope its server URL to an organization or a project, which hides discovery tools. The marketplace installs the base URL, so the agent can reach every organization the signed-in user can; press Edit to change the URL to a scoped one if you prefer.
