Skip to content

Sentry MCP and API

Sentry provides access to application errors, issues, traces and diagnostic information in an authorized organization. An agent can read application issues and diagnostic information for bug research. Sign in to Sentry the first time an agent uses the server.

Add to Longwave

Install elsewhere

Install Sentry

Choose a harness. These instructions connect to the hosted MCP endpoint shown on this page.

Claude Code

Run this in your terminal. It adds a user-scoped server; use --scope project instead if it should apply only to the current project.

terminal
claude mcp add --scope user --transport http sentry https://mcp.sentry.dev/mcp
access
Connect account

Use Sentry on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Sign in to Sentry the first time an agent uses the server.
  3. Ask for the result in any thread, for example: “Read an application error before preparing a fix”. The agent picks the Sentry function and calls it.

Use cases

Questions people ask

Which application data can Sentry MCP inspect?

The server provides tools for Sentry organizations, projects, issues and diagnostic information. Access follows the connected Sentry account permissions. Sentry documentation

Can Sentry MCP inspect issue details?

The server includes tools for finding issues and retrieving their details. An agent can use those details while investigating an application error. Sentry documentation

How do I add the Sentry MCP server to Claude Code?

Run claude mcp add --transport http sentry https://mcp.sentry.dev/mcp in a terminal. Sign in to Sentry the first time an agent uses the server.

Who publishes the Sentry MCP server?

Sentry publishes the Sentry MCP server that Longwave installs.

Use Sentry in Longwave

Call Sentry from any agent thread, on your machine or in the cloud.

Add to Longwave