mcpField
S
Sentry MCP Server πŸ”

Sentry MCP Server πŸ”

Local
github.com/FaureAlexisDeveloper Tools2Updated 87w ago

About Sentry MCP Server πŸ”

Sentry MCP Server is a TypeScript server for AI agents to access and analyze Sentry error data. It returns issue details, metadata, and stack traces through tool and prompt interfaces.

Key features

  1. 01Retrieve and analyze Sentry issues
  2. 02View formatted issue details and metadata
  3. 03Inspect detailed stack traces
  4. 04Tool and prompt interfaces
  5. 05Error handling

Use cases

  1. 01Investigate issues recorded in Sentry
  2. 02Review issue metadata and stack traces for debugging

MCP support

The MCP server provides clients with the `get_sentry_issue` tool and the `sentry-issue` prompt interface to retrieve issue information by ID or URL.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.