How to add Sentry error monitoring with Claude Code
Sentry scores 5/5 on our Claude Code fit scale: official Anthropic-marketplace plugin with MCP server + 8 skills. These steps use only Sentry’s and Anthropic’s official instructions; each step links its source.
-
1
Have Claude Code and a Sentry account ready
You need Claude Code installed and an account with Sentry (sentry.io). Some tools only need the account when the agent first calls a live tool.
-
2
Install the official Sentry plugin
Run this in Claude Code (or your terminal, as the source shows):
/plugin install sentry@claude-plugins-official -
3
No marketplace setup needed
This plugin is in Anthropic’s official marketplace (claude-plugins-official), which Claude Code adds automatically the first time you start an interactive session.
Source: https://code.claude.com/docs/en/plugins/anthropic-marketplaces
-
4
Connect and verify
Run /mcp inside a Claude Code session to see connected servers, check status and complete sign-in where the server uses OAuth.
-
5
Let the skills do the SDK work
The plugin bundles 8 skills that Claude loads when relevant, or you can call one directly with /skill-name.
sentry-create-alertsentry-debug-issuesentry-fix-stack-tracessentry-get-startedsentry-instrumentsentry-otel-exporter-setupsentry-setup-releasessentry-snapshots-cocoa
Then just ask
Example prompt (our suggestion, not from vendor docs):
“Help me add Sentry error monitoring in this project. Follow the Sentry skills, keep secrets in environment variables, and show me the plan before changing files.”