MCP server
Sentry MCP server
Sentry's official MCP server lets AI search errors, events and traces, read issue details, get AI analysis and update issues.
- Official server
- Developer tools
At a glance
- Maintained by
- Sentry
- Tools exposed
- 10 listed below
- Reviewed
- September 24, 2026
Why it matters
What it does and why it matters
Sentry collects errors and performance traces from applications. Its official MCP server lets an assistant search issues and events, read issue details and traces, run Sentry's own AI analysis and update issues. Combined with a code server, an assistant can go from an error report to the line of code that caused it.
That shortens the time between "users see an error" and "a developer understands it".
It replaces the archived MCP reference server. Most tools read data, but it can also update issues and create projects, teams and keys. Use an account with access only to the projects a team works on. Error events can contain personal data, so check your data scrubbing settings in Sentry.
Use cases
Best business use cases
Error investigation
Trace review
Issue triage
AI analysis
Docs lookup
Tools
Available tools
Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.
Read and write: Mostly read: searches errors, traces and issues; can also update issues and create projects, teams and DSNs.
-
whoamiIdentify the signed-in Sentry user.
-
find_organizationsFind organizations you can access.
-
find_projectsFind projects in Sentry.
-
search_issuesSearch issues using plain language or Sentry syntax.
-
search_eventsSearch events using plain language or Sentry syntax.
-
get_issue_detailsGet details about a specific issue.
-
get_trace_detailsGet details about a specific trace.
-
analyze_issue_with_seerUse Seer to find the root cause and suggest code fixes.
-
update_issueChange an issue's status or assignment.
-
search_docsSearch Sentry documentation.
Workflows
Example workflows
From error to fix
-
1
A new issue appears after a release.
-
2
The assistant reads the issue and stack trace.
-
3
It uses the GitHub server to open the code.
-
4
It explains the cause and drafts a fix.
-
5
A developer reviews and merges.
Weekly error review
-
1
Ask for the top issues this week.
-
2
The assistant lists them by frequency.
-
3
It groups related errors.
-
4
It suggests owners.
-
5
The team plans work.
Prompts
Example prompts
“What are the five most frequent errors in the web project this week?”
“Explain this issue and show the line of code that throws it.”
“Why is the checkout trace slow?”
Setup
Installation and configuration
Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.
Claude Desktop: claude_desktop_config.json
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": [
"@sentry/mcp-server"
],
"env": {
"SENTRY_ACCESS_TOKEN": "your-token",
"EMBEDDED_AGENT_PROVIDER": "openai",
"OPENAI_API_KEY": "sk-..."
}
}
}
}
Claude Code: terminal
claude mcp add --transport http sentry https://mcp.sentry.dev/mcp
- Hosted server: streamable-http; https://mcp.sentry.dev/mcp; OAuth, or header Authorization: Sentry-Bearer <SENTRY_ACCESS_TOKEN>.
- Local server: stdio; @sentry/mcp-server.
- Needs: SENTRY_ACCESS_TOKEN (local); EMBEDDED_AGENT_PROVIDER plus OPENAI_API_KEY / ANTHROPIC_API_KEY / OPENROUTER_API_KEY for AI search tools (local); SENTRY_HOST for self-hosted.
Security
Security considerations
-
Project access
Limit the account to relevant projects.
-
Personal data in events
Check Sentry data scrubbing settings.
-
Write actions
Updating issues and creating keys should be reviewed.
-
Audit
Review changes made through the assistant.
Related servers
Servers that pair well with it
GitHub
GitHub's official MCP server lets AI read repositories, search code, manage issues and pull requests and, when allowed, change files.
GitLab
GitLab's built-in MCP server lets AI read projects, code, merge requests and pipelines and create commits and work items. In beta.
Elasticsearch
Elastic's Agent Builder MCP endpoint lets AI search indices, run ES|QL queries and read mappings and documents in Elasticsearch.
Keep exploring
Solutions and services that use it
Related services
View all related services- MCP integration Connect AI assistants to your CRM, files, databases and tools through Model Context Protocol servers, with safe permissions.
- AI copilots AI helpers built into your product or internal tools that draft, summarize and suggest while people decide.
- MVP development A first version with just enough features to put in front of real users and learn what to build next.
- Legacy modernization Replace an aging system step by step, with the business running normally while the new parts take over.
Solutions
View all solutions- Internal help desk assistant An assistant in Slack or Teams that answers policy and how-to questions from your handbooks and opens tickets when needed.
- Approval workflows Requests, approvals and reminders in one place, with clear owners and deadlines instead of long email threads.
- AI sales research agent Short, sourced briefings on each prospect before a call, drafted by an AI agent from public information and your CRM.
- Automated quoting Draft accurate quotes and proposals from a request, your price rules and past work, for a person to approve.
Industries
View all industriesGuides and articles
View all guides and articles- Where AI helps in development, and where it does not An honest map of the development tasks AI speeds up and the ones that still need experienced people.
- How to build an AI workflow with MCP servers Plan, connect and test an AI workflow that uses MCP servers, from a single task to a reliable process.
- What is AI-accelerated development? How software teams use AI to plan, code, test and document faster, and where people still make every decision.
- What are AI agents and how do businesses use them? What AI agents are, real business uses, the controls they need and how to start with one safely.
- AI chatbot vs AI agent What separates a chatbot that answers from an agent that acts, and when you need each.
AI models
View all ai models- Mistral Medium 3.5 A newer open-weight Mistral model for agent and coding work, with image input, tool calling, structured outputs and a 256K window.
- Codestral 25.08 Mistral's low-latency coding model for code completion and generation, with fill-in-the-middle support, tool calling and a 128K window.
- Qwen3-Coder Qwen's open-weight coding models under Apache 2.0, from the efficient Qwen3-Coder-Next to the large 480B model, with tool use and long context.
- Coding Models that write, review and explain code, and power coding assistants and developer tools.
- Claude Opus 5.5 Anthropic's recommended starting point for most serious work: long-running agentic coding and knowledge work, with a 1M token context window.
- GPT-6 Sol The middle model of the GPT-6 family, positioned for complex coding and agentic workflows at a mid price level.
Glossary terms
View all glossary terms- AI agent An AI agent is software that uses a language model to plan steps, call tools and act toward a goal, instead of only answering one question.
- AI copilot An AI copilot is an assistant built into a tool people already use, which suggests, drafts and explains while the person stays in control.
- Claude Code Claude Code is Anthropic's agentic coding tool, which works in a developer's terminal, IDE, desktop app or browser to read code, run commands and make changes.
- Automation Automation is using software to perform a task or process with little or no human effort each time it runs.
- Chatbot A chatbot is software that holds a conversation with people through text or voice, answering questions or completing simple tasks.
- MCP server An MCP server is a program or hosted service that exposes a system's data and actions as tools that AI assistants can use through the Model Context Protocol.
FAQ
Questions people ask us
Have a question that is not here? Ask us directly.
Yes. It is maintained by Sentry and replaces the archived reference server.
It can update issues and create projects, teams and keys. Most tools only read.
Yes. It can run Sentry's Seer analysis on an issue.