Skip to content

Development integration

Sentry MCP server for Claude, Codex and Cursor

Investigate errors and understand production issues. Connect the Sentry MCP server to Toolstile once, then choose which of its tools Claude Code, Codex, Cursor and Claude Desktop may use.

Free plan available. Server credentials stay in Toolstile, not in agent configs.

On this page

What your AI apps can do with Sentry

  • Find errors and issues
  • Investigate event context

Sentry MCP tools

34 tools, taken from the publisher's documentation on 29 October 2026. The server decides what it offers and can add or rename tools at any time; after you connect, Toolstile shows the current list.

ToolWhat it does
find_organizationsLists organizations and projects you can access
find_projectsLists organizations and projects you can access
search_issuesSearches grouped issues and returns a list
search_errorsSearches error events, counts and trends
search_logsSearches application logs
search_tracesSearches spans and traces for latency and throughput
search_metricsSearches counters, gauges and distributions
search_profilesFinds profiles and session replays
search_replaysFinds profiles and session replays
get_sentry_resourceFetches an issue, event, trace or other resource by URL or ID
analyze_issue_with_seerRuns Seer root cause analysis with suggested code fixes
update_issueChanges an issue's status or assignee
search_sentry_toolsSearches the rest of the tool catalog
execute_sentry_toolRuns any catalog tool found through search_sentry_tools
get_issue_detailsReads one issue in detail (catalog)
get_event_stacktraceReads a stack trace or breadcrumb trail (catalog)
get_issue_breadcrumbsReads a stack trace or breadcrumb trail (catalog)
get_trace_detailsReads a trace (catalog)
search_docsSearches and reads Sentry documentation (catalog)
get_docSearches and reads Sentry documentation (catalog)
add_issue_noteAdds a comment to an issue's activity feed (catalog)
link_issueLinks or unlinks an external ticket or PR (catalog)
unlink_issueLinks or unlinks an external ticket or PR (catalog)
create_projectCreates or updates a project (catalog)
update_projectCreates or updates a project (catalog)
create_dsnCreates or changes a DSN, including its rate limit and active status (catalog)
update_dsnCreates or changes a DSN, including its rate limit and active status (catalog)
create_alert_ruleCreates or changes an alert and its notification actions (catalog)
update_alert_ruleCreates or changes an alert and its notification actions (catalog)
delete_alert_rulePermanently deletes an alert or metric monitor (catalog)
delete_metric_monitorPermanently deletes an alert or metric monitor (catalog)
delete_uptime_monitorDeletes an uptime monitor (catalog)
add_team_to_projectGrants or revokes a team's project access (catalog)
remove_team_from_projectGrants or revokes a team's project access (catalog)

Suggested starting access

Toolstile read each Sentry tool's description and wrote these starting selections by hand. They are a suggestion reviewed by Toolstile, not a guarantee: Sentry decides what each tool does and can change it, so check that a selection fits each app before you save it.

Investigate issues with approval

Find organizations and projects. Searching issues, metrics, error events, traces and logs, and opening an individual event or resource, wait for approval. Nothing that changes issues or projects.

  • Allow: find_organizations, find_projects
  • Require approval: search_logs, search_errors, search_traces, get_sentry_resource, search_issues, search_metrics

Triage issues with approval

The same lookups, plus changing an issue's status or assignee and running Seer analysis. Issue, metric, error, trace and log searches, opening individual events, and every change wait for approval.

  • Allow: find_organizations, find_projects
  • Require approval: update_issue, analyze_issue_with_seer, search_logs, search_errors, search_traces, get_sentry_resource, search_issues, search_metrics

In the access editor, choosing a suggestion adds the listed tools this server offers to your draft. Existing access stays as it is, blocks and approval requirements stay in force, and the suggestion doesn't grant tool names the server adds later. Nothing is saved until you choose Save changes.

Suggested access for each AI app

The documentation this list comes from doesn't mark Sentry's tools as read-only or destructive. Read each tool's description and decide per app before allowing it.

Coding agent in Claude Code or Cursor. Allow the read tools so the agent can look things up without stopping, and require approval for tools that change shared data.

Chat or research app in Claude Desktop. Allow reading and searching. Allow writes only where you want the app to act for you.

Unattended agent, such as a scheduled Codex job. No one is watching the session, so keep it narrow: allow what the job needs, require approval for changes and block the rest.

Blocked tools are removed from the tool list an app sees, so it won't try them. Because rules apply per app, the same Sentry connection can be broad in one app and read-only in another, and the credential stays in Toolstile instead of each app's config file.

How it works with Toolstile

  1. Connect once. Add Sentry to a workspace (browser sign-in). Toolstile keeps the credential, so no agent config holds it.
  2. Choose access per app. Give Claude Code every Sentry tool, give Cursor only the read tools, or keep Sentry away from an app entirely.
  3. Share approved accounts. Teammates use the connection without copying tokens, and you can remove access in one place.
  4. Review activity. See which app called which tool and when, so you can tighten access with evidence.

Add the Sentry MCP server to an AI app

Through Toolstile, every AI app uses one gateway entry, whichever servers you connect. In Claude Code:

Shell
claude mcp add --transport http toolstile 'https://toolstile.com/mcp'

Then connect Sentry in your workspace and choose which of its tools that app may use. Client setup covers Codex, Cursor and Claude Desktop.

To connect directly instead, add the Sentry endpoint to each app separately. In Claude Code:

Shell
claude mcp add --transport http sentry 'https://mcp.sentry.dev/mcp'

In Cursor's mcp.json:

JSON
{
  "mcpServers": {
    "sentry": {
      "url": "https://mcp.sentry.dev/mcp"
    }
  }
}

Some servers accept only clients they have approved, or need a token header. Check the Sentry MCP documentation for what your client needs.

Before you connect

A Sentry account with access to the relevant organization and projects.

Server details

DetailValue
PublisherSentry
Endpointhttps://mcp.sentry.dev/mcp
AuthenticationBrowser sign-in
CategoriesDevelopment
Tool list34 tools, observed 29 October 2026 (docs)

Sentry MCP documentation