Back to Home
getsentry icon

sentry-mcp

Verified Safe

by getsentry

Overview

The Sentry Model Context Protocol (MCP) server is designed as middleware to the Sentry API, optimized for human-in-the-loop coding agents and AI assistants (like Cursor, Claude Code) to facilitate developer workflows and debugging use cases.

Installation

Run Command
npx @sentry/mcp-server@latest --access-token=<YOUR_SENTRY_TOKEN_HERE>

Environment Variables

  • OPENAI_API_KEY
  • SENTRY_ACCESS_TOKEN
  • SENTRY_HOST
  • SENTRY_CLIENT_ID
  • SENTRY_CLIENT_SECRET
  • COOKIE_SECRET
  • MCP_URL
  • MCP_SKILLS
  • SENTRY_DSN
  • LOG_LEVEL
  • OPENAI_MODEL
  • OPENAI_REASONING_EFFORT

Security Notes

The project uses robust OAuth and token encryption for handling Sentry API credentials, which is a strong positive. It explicitly avoids logging API keys. However, the `biome.json` configuration permits `noExplicitAny` and `noDangerouslySetInnerHtml`, which can introduce vulnerabilities if not meticulously managed. While `sanitizeHtml` is used in some web rendering contexts (Cloudflare app), the `noExplicitAny` can hide potential type-related security flaws in a complex codebase integrating multiple APIs and LLMs.

Similar Servers

Stats

Interest Score93
Security Score7
Cost ClassHigh
Avg Tokens1500
Stars458
Forks60
Last Update2025-12-03

Tags

AI AgentsDeveloper ToolsDebuggingSentry APIModel Context ProtocolCloudflare WorkersMiddleware