sentry-issues-mcp
5
sentry-issue-mcp is an MCP server that streamlines the process of retrieving and analyzing issues from Sentry. It provides tools to fetch event details and supports intelligent analysis using a language model.
sentry-issue-mcp
Description
⚠️ Getting issues is deprecated as of version 1.0.5. The response structure is so similar to the event API that it's considered redundant.
This is a mcp for sentry issue.
It supports 2 tools to get a issue or list of issues.
U can let LLM analysis the Res, or u want to do.
Feature
- EZ size
- EZ understand
- EZ tiny
Tools
- get_single_event
- get a event detail infos, tiny mode return stack info, huge mode return all info
- inputs:
- url_or_id: sentry event url or sentry event id
- organization_id_or_slug: sentry organization id or slug, it can be undefined
- project_id_or_slug: sentry project id or slug, it can be undefined
- mode: tiny or huge, it can be undefined
- get_project_events
- get list of events, tiny mode return id and title, huge mode return all info
- inputs:
- project_id_or_slug: sentry project id or slug
- organization_id_or_slug: sentry organization id or slug, it can be undefined
- mode: tiny or huge, it can be undefined
QuickStart
this is MCP Server Config
"mcpServers": {
"sentry-issue-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sentry-issues-mcp@latest"
],
"env": {
"SENTRY_HOST": "<your_sentry_host>",
"SENTRY_ORG": "<your_sentry_org>",
"SENTRY_PROJ": "<your_sentry_proj>",
"SENTRY_USER_TOKEN": "<your_sentry_user_token>"
}
}
}
Case
- Ask LLM to analysis one issue by url or id
- input "analysis the issue, and give me the reason of it, and tell me how to fix it, {sentry_issue_url}"
- if ur LLM is SMART🧠, it will call tools
- u will get result
- Ask LLM to find Today most dangerous issue (PS: default val of sentry time period is "24h")
- input "find today most dangerous issue, and give me the reason of it, and tell me how to fix it"
- if ur LLM is SMART🧠, it will call tools
- u will get result
License
MIT