MCP Sentry Server logo

MCP Sentry Server

by weekitmo

This is a Node.js implementation of the Model Context Protocol (MCP) Sentry server. It provides integration with Sentry for retrieving error reports and stacktraces through MCP.

View on GitHub

Last updated: N/A

What is MCP Sentry Server?

The MCP Sentry Server is a Node.js application that integrates with the Sentry API to retrieve error reports and stacktraces via the Model Context Protocol (MCP). It supports both standard MCP over stdin/stdout and SSE (Server-Sent Events) transport.

How to use MCP Sentry Server?

To use the server, clone the repository, install dependencies using pnpm install, configure your Sentry authentication token in a .env file, build the project with pnpm build, and run the server using pnpm start or pnpm start:sse for SSE support. You can also use the provided MCP configuration examples to integrate it with your MCP environment.

Key features of MCP Sentry Server

  • Integration with Sentry API for error tracking and monitoring

  • Support for standard MCP over stdin/stdout

  • Support for SSE (Server-Sent Events) transport

  • Configurable port for the SSE server

  • Provides prompts and tools for retrieving and analyzing Sentry issues

Use cases of MCP Sentry Server

  • Retrieving Sentry issue information in an MCP environment

  • Analyzing Sentry issues and stacktraces

  • Integrating Sentry error tracking with LLMs or other client applications via MCP

  • Monitoring application errors and performance through Sentry

FAQ from MCP Sentry Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for communication between applications.

How do I get a Sentry authentication token?

You can obtain your Sentry authentication token from your Sentry account settings.

What is the default port for the SSE server?

The default port for the SSE server is 3579.

How do I run the server in development mode?

Use the command pnpm dev.

What communication protocols are supported?

The server supports standard MCP protocol over stdin/stdout and SSE transport.