sentry-mcp logo

sentry-mcp

by getsentry

This is a prototype of a remote MCP server, acting as a middleware to the upstream Sentry API provider. It is based on Cloudflare's work towards remote MCPs.

View on GitHub

Last updated: N/A

What is sentry-mcp?

sentry-mcp is a remote Model Context Protocol (MCP) server that acts as middleware for the Sentry API. It facilitates communication between Sentry and MCP clients like Claude and Cursor.

How to use sentry-mcp?

To use sentry-mcp, you can either deploy it as a remote service (e.g., using Cloudflare Workers) or run it locally. Configuration involves setting up authentication via Sentry API tokens or OAuth, and then connecting MCP clients to the server's endpoint. The README provides detailed instructions for both remote and local development, including examples for Claude Desktop and Cursor.

Key features of sentry-mcp

  • Remote MCP server

  • Middleware for Sentry API

  • Support for stdio transport

  • OAuth authentication

  • Integration with MCP Inspector

  • Local development environment

Use cases of sentry-mcp

  • Connecting Sentry data to MCP clients like Claude and Cursor

  • Extending Sentry functionality with custom tools

  • Testing and iterating on MCP server implementations

  • Self-hosting Sentry with remote MCP support

FAQ from sentry-mcp

What is an MCP?

MCP stands for Model Context Protocol, it is a protocol for communication between AI models and external tools.

How do I authenticate with the MCP server?

Authentication can be done via Sentry API tokens or OAuth, depending on the deployment method (stdio or remote).

Can I use this with a self-hosted Sentry instance?

Yes, you can override the SENTRY_HOST environment variable to point to your self-hosted Sentry URL.

How do I test the MCP server?

You can use the MCP Inspector tool to test the server by connecting to its endpoint.

What clients are supported?

The documentation specifically mentions Claude Desktop and Cursor, but other MCP clients can be configured by providing the server's endpoint in their configuration files.