Sentry MCP Server
by FaureAlexis
A TypeScript implementation of a Sentry MCP (Modern Context Protocol) tool that allows AI agents to access and analyze Sentry error data. It provides interfaces for retrieving and analyzing Sentry issues.
Last updated: N/A
What is Sentry MCP Server?
The Sentry MCP Server is a tool that enables AI agents to interact with and analyze error data from Sentry. It provides a modern context protocol interface for retrieving issue details, stacktraces, and metadata.
How to use Sentry MCP Server?
- Install the server using
pnpm install
. 2. Configure your Sentry auth token in a.env
file. 3. Start the server usingpnpm build && pnpm start
. 4. Use the tool or prompt interfaces with theissue_id_or_url
parameter to retrieve Sentry issue information.
Key features of Sentry MCP Server
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
Use cases of Sentry MCP Server
Integrating Sentry data into AI workflows
Automated error analysis and reporting
Debugging and troubleshooting with AI assistance
Enhancing IDE experiences with Sentry integration
FAQ from Sentry MCP Server
What is an MCP?
What is an MCP?
MCP stands for Modern Context Protocol, a standardized way for AI agents to interact with external tools and services.
Where do I get my Sentry Auth Token?
Where do I get my Sentry Auth Token?
You can generate an auth token in your Sentry organization settings under 'API'.
What port does the server run on?
What port does the server run on?
The server runs on port 1337 by default.
How do I specify the Sentry API base URL?
How do I specify the Sentry API base URL?
You can set the SENTRY_API_BASE
environment variable in your .env
file. The default value is https://sentry.io/api/0/
.
Can I contribute to the project?
Can I contribute to the project?
Yes, contributions are welcome! Please fork the repository, create a feature branch, commit your changes, push to the branch, and create a new pull request.