Sentry MCP Server
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
The Sentry MCP Server has been released for production, however MCP is a developing technology and changes should be expected. There will be bugs. Please reach out on GitHub if you have any feedback or concerns.
The Sentry MCP Server provides a secure way of bringing Sentry's full issue context into systems that are able to leverage the Model Context Protocol (MCP). Sentry hosts and manages a remote MCP server, which you can connect to and leverage centrally. With the MCP, you can:
- Access Sentry issues and errors
- Search for errors in specific files
- Query projects and organizations
- List and create Sentry DSN's for projects
- Invoke Seer to automatically fix issues and retrieve the status and details of an issue fix
The Sentry MCP Server includes support for modern MCP features:
- Remote hosted (preferred) or local STDIO mode - The hosted version provides lower friction and always includes the latest functionality and stability
- OAuth support - Authenticate using your existing Sentry organization for seamless access to your projects
- Streamable HTTP with graceful SSE fallback - Automatic fallback ensures compatibility across different clients
- 16+ tool calls and prompts - Comprehensive toolset for bringing Sentry context into LLM interactions
For clients that support OAuth, you can use the streamlined configuration that provides automatic authentication:
{
"mcpServers": {
"Sentry": {
"url": "https://mcp.sentry.dev/mcp"
}
}
}
This configuration:
- Enables OAuth authentication with your Sentry organization
- Uses Streamable HTTP transport with automatic SSE fallback
- Provides access to all 16+ available tools
- Automatically handles authentication and session management
With OAuth configuration, you'll be prompted to:
- Accept the OAuth authorization
- Login via your existing Sentry organization
- Grant access to the necessary permissions
If you've joined a new Sentry organization, log out of your LLM's MCP integration and log back in to refresh access.
Once authenticated, you'll see the tools become available in your MCP client.