Sentry MCP server for AI agents
Read Sentry errors, events and releases, and resolve or assign issues.
- Auth
- Access token
- Tools
- 9
- Triggers
- 0
- Category
- Developer tools, Infrastructure
Tools and triggers
List organizations
SENTRY_LIST_ORGANIZATIONS
Lists the Sentry organizations the token can access, with their slugs.read-only
List projects
SENTRY_LIST_PROJECTS
Lists the projects of an organization with their slugs and platforms.read-only
List issues of a project
SENTRY_LIST_PROJECT_ISSUES
Lists issues (grouped errors) of one project. Defaults to unresolved issues; use `query` for Sentry search syntax such as `is:unresolved level:error`.read-only
List issues of an organization
SENTRY_LIST_ORGANIZATION_ISSUES
Lists issues across all projects of an organization, or the projects named in `project`.read-only
Get an issue
SENTRY_GET_ISSUE
Returns one issue: title, culprit, status, event count, user count, first and last seen.read-only
Update an issue's status
SENTRY_UPDATE_ISSUE_STATUS
Resolves, ignores or reopens an issue, and optionally assigns it.destructive
List events of an issue
SENTRY_LIST_ISSUE_EVENTS
Lists the individual error events that make up an issue, newest first.read-only
Get the latest event of an issue
SENTRY_GET_LATEST_EVENT
Returns the most recent event of an issue with its stack trace, tags, breadcrumbs and request data.read-only
List releases
SENTRY_LIST_RELEASES
Lists releases of an organization, newest first, with version, commit count and new issue count.read-only
Connect via MCP
Create an MCP server for Sentry in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.
claude mcp add --transport http sentry \
"https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
--header "x-api-key: ptm_…"Connect via REST
Run a tool with one request. The response is { data, error, successful, log_id } for every tool.
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/SENTRY_LIST_ORGANIZATIONS \
-H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
-d '{ "user_id": "alice", "arguments": {} }'