← Back to articles

Sentry MCP in Claude Code

Got another Sentry issue? Run it first through your LLM agent!

Integrating Sentry in Claude Code with MCP is straightforward:

claude mcp add \
    --transport stdio sentry \
    --env SENTRY_ACCESS_TOKEN=xxx \
    --env SENTRY_HOST=sentry.example.com \
    -- \
    npx @sentry/mcp-server@latest

You should then be able to run claude and /mcp to test the connectivity.

Then you can gently ask Fix sentry issue PROJECT-CF1 🚀