Skip to main content
Glama

Sentry MCP Server

by FaureAlexis

Sentry MCP Server 🔍

A TypeScript implementation of a Sentry MCP (Modern Context Protocol) tool that allows AI agents to access and analyze Sentry error data. 🤖

✨ Features

  • 🎯 Retrieve and analyze Sentry issues
  • 📊 Get formatted issue details and metadata
  • 🔬 View detailed stacktraces
  • 🛠️ Support for both tool and prompt interfaces
  • 🛡️ Robust error handling
  • 🔄 Real-time communication

📦 Installation

pnpm install

🔧 Configuration

Create a .env file in the root directory with your Sentry auth token:

SENTRY_AUTH_TOKEN=your_sentry_auth_token SENTRY_API_BASE=https://sentry.io/api/0/ # Optional, defaults to this value

📚 Usage

Starting the Server 🚀

pnpm build && pnpm start

The server will start on port 1337 by default.

Using with MCP 🛠️

The server provides two MCP interfaces:

  1. Tool Interface: get_sentry_issue
    { "issue_id_or_url": "12345" }
  2. Prompt Interface: sentry-issue
    { "issue_id_or_url": "https://sentry.io/organizations/your-org/issues/12345/" }

💡 Integrating with Cursor IDE

The Sentry MCP Server can be integrated with Cursor IDE for enhanced development experience:

  1. 🚀 Start the MCP server locally using pnpm start
  2. 🔧 Configure Cursor to use the local MCP server: image
  3. 🎉 Enjoy seamless Sentry issue analysis directly in your IDE!

🤝 Contributing

  1. 🔀 Fork the repository
  2. 🌿 Create your feature branch
  3. 💾 Commit your changes
  4. 🚀 Push to the branch
  5. 📬 Create a new Pull Request
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A TypeScript server that allows AI agents to access, retrieve, and analyze Sentry error data through the Modern Context Protocol.

  1. ✨ Features
    1. 📦 Installation
      1. 🔧 Configuration
        1. 📚 Usage
          1. Starting the Server 🚀
          2. Using with MCP 🛠️
        2. 💡 Integrating with Cursor IDE
          1. 🤝 Contributing

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that retrieves and analyzes Sentry.io issues, allowing users to inspect error reports, stacktraces, and debugging information from their Sentry account.
              Last updated -
              20
              Python
              • Apple
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to interact with Sentry for error tracking and monitoring, allowing retrieval and analysis of error data, project management, and performance monitoring through the Sentry API.
              Last updated -
              10
              19
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A TypeScript implementation of a Model Context Protocol server that connects to Sentry error tracking service, allowing AI models to query and analyze error reports and events.
              Last updated -
              1
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that provides AI-powered features for the Transcripter project, including tools for searching and summarizing transcriptions and resources for accessing transcription and analysis data.
              Last updated -
              628
              TypeScript

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/FaureAlexis/sentry-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server