Sentry
About
Connects AI to Sentry error tracking platform for retrieving and analyzing application errors, including stacktraces, error types, and occurrence statistics without context switching.
Details
- Author
- faurealexis
- Repository
- FaureAlexis/sentry-mcp-server
- GitHub stars
- 2
- Downloads
- 360
- Categories
- Design, Developer Tools, AI, Security, Infrastructure, Frontend
- Tags
- #analytics
Jump to
- 🎯 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
SentryCommand (node, npx, python, etc.)npxArguments-
Argument 1
-y -
Argument 2
@highlight/mcp-server
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
pnpm install
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
get_sentry_issue
Retrieve and analyze a Sentry issue by providing its issue ID or URL. Parameters: issue_id_or_url (string)
sentry-issue
Get formatted details of a Sentry issue by providing its issue ID or URL. Parameters: issue_id_or_url (string)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"sentry": {
"env": {},
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
}
}
Linux
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Macos
{
"env": [],
"args": [
"-y",
"@highlight/mcp-server"
],
"command": "npx"
}
Windows
{
"env": [],
"args": [
"/c",
"npx",
"-y",
"@highlight/mcp-server"
],
"command": "cmd"
}
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:
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




