getsentry/toolkit
Agentic tooling for Sentry
What it solves
Developers using coding agents like Cursor or Claude Code often need to check Sentry errors, issues, traces, or performance without leaving their editor. This project provides a Model Context Protocol (MCP) server that exposes Sentry's API to those agents, so they can ask questions about debugging data directly from the agent's workflow. It also includes a Sentry CLI that can run the server locally against self-hosted Sentry installations.
How it works
The core is a remote MCP server (hosted at mcp.sentry.dev) built on Cloudflare's remote MCP approach. It acts as middleware between coding agents and the upstream Sentry API. Two transports are supported: a remote HTTP endpoint and a stdio transport for local use. For stdio, you use the Sentry CLI's sentry mcp command, which authenticates via your CLI login or a token. The server exposes tools grouped into "skills" (e.g., inspect, triage, seer) that can be enabled or disabled. Some search tools (search_errors, search_traces, etc.) are AI-powered: they require an LLM provider (OpenAI, Anthropic, OpenRouter, or Azure OpenAI) to translate natural-language queries into Sentry's query syntax. Rate limits from the Sentry API are handled with automatic retries and clear "Rate Limited" messages.
Who it's for
Developers who use coding agents or assistants (Cursor, Claude Code, etc.) and want to debug Sentry issues without switching context. It's also for teams running self-hosted Sentry who want to connect via stdio using the CLI, and for contributors who want to extend the server or the CLI.
Highlights
- Remote MCP server at
mcp.sentry.devthat works with Cursor, Claude Code, and similar tools - Supports both remote (HTTP) and local
stdiotransports - Claude Code plugin for automatic subagent delegation when you ask about Sentry errors or traces
- AI-powered search tools that turn natural language into Sentry queries (requires an LLM provider)
- Configurable skills (
inspect,triage,seer) with the ability to disable any skill - Works with self-hosted Sentry via
SENTRY_HOSTandSENTRY_URLenvironment variables - Rate-limit handling with retries and clear feedback
- Includes the Sentry CLI for authentication and running the stdio server
Related
- Dispatch
- Project
- Project
- Project
- Project