Sentry's official MCP server lets coding agents search errors and events, triage issues, analyze performance and read Sentry docs. The hosted server at mcp.sentry.dev uses OAuth and can be scoped to an organization or project; a stdio package is available for self-hosted Sentry using an access token. AI-powered search tools require an LLM provider key when run locally.
Also available as
Connect
- 1Connect it in ChatGPT
Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.sentry.dev/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.
- 2Or add it to Codex or the API
codex mcp add sentry --url https://mcp.sentry.dev/mcp codex mcp login sentryThe login command opens a browser to finish OAuth.
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 2
search_eventssearch_issuesThings to ask
- “What are the top unresolved issues in my frontend project this week?”
- “Show me the stack trace for the latest TypeError in production”
- “Search events for 500 errors on /api/checkout in the last 24 hours”
- “Help me fix the most frequent error in this project”