sentry
MCP server from srcgrp/sentry-mcp-server
claude mcp add --transport stdio srcgrp-sentry-mcp-server node /path/to/your/cloned/sentry-mcp-server/build/index.js \ --env SENTRY_BASE_URL="YOUR_SENTRY_API_ENDPOINT" \ --env SENTRY_ORG_SLUG="your-organization-slug" \ --env SENTRY_AUTH_TOKEN="YOUR_SENTRY_AUTH_TOKEN"
How to use
This MCP server exposes a set of tools that let you interact with Sentry data directly from your MCP client (for example, within VS Code using Cline). You can inspect the server configuration and connection to Sentry, list the most recent releases for a project, fetch all releases for a project, view health statistics for a specific release, retrieve details about a specific Sentry issue, and list all issues associated with a given release. The tools are designed to work with both Sentry cloud (sentry.io) and self-hosted instances by using standard Sentry API endpoints configured via environment variables. Start by running the server so it can authenticate with your Sentry account, then configure your MCP client to point to the built index.js file using an absolute path in your settings file. Use the inspect_sentry tool to verify connectivity and available capabilities, then call the other tools with the required arguments (project_slug, org_slug, release_version, issue_id, etc.).
How to install
Prerequisites:
- Node.js (LTS recommended) and npm installed on your machine
- Git to clone the repository
- Access to a Sentry account with an API token and the appropriate permissions
Installation steps:
-
Clone the repository git clone https://github.com/srcgrp/sentry-mcp-server.git cd sentry-mcp-server
-
Install dependencies and build npm install npm run build
This generates the executable server script in the build/ directory
-
Run the server (example) node build/index.js
Or use your process manager to keep it running in the background
-
Configure MCP client Add the server to your MCP client's configuration (e.g., cline_mcp_settings.json) with the absolute path to the built index.js, and set environment variables as needed. Example snippet: { "mcpServers": { "sentry-local": { "command": "node", "args": ["/absolute/path/to/sentry-mcp-server/build/index.js"], "env": { "SENTRY_AUTH_TOKEN": "YOUR_SENTRY_AUTH_TOKEN", "SENTRY_BASE_URL": "YOUR_SENTRY_API_ENDPOINT", "SENTRY_ORG_SLUG": "your-organization-slug" }, "disabled": false, "autoApprove": [] } } }
-
Restart your MCP client after updating settings.
Additional notes
Environment variables are required for Sentry access. Ensure SENTRY_BASE_URL matches your Sentry instance API endpoint (cloud users typically use https://sentry.io/api/0/). If you switch between Sentry cloud and a self-hosted instance, update SENTRY_BASE_URL accordingly. The inspect_sentry tool is useful for validating connectivity before making API calls. When sharing configuration files, prefer using absolute paths to the built index.js to avoid path resolution issues. If you encounter authentication errors, double-check that your SENTRY_AUTH_TOKEN has the necessary scopes for project and issue data access.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.