Sentry MCP Server
DevOpsstdiov0.4.0
MCP server for Sentry error tracking integration. Enables AI agents to retrieve and analyze issues, view error stack traces, search events by query, and access project performance data. Helps developers debug production errors by providing contextual error information directly in AI-powered development workflows.
连接
将此配置添加到 .claude/mcp.json
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": [
"-y",
"@sentry/mcp-server"
],
"env": {
"SENTRY_AUTH_TOKEN": "<YOUR_SENTRY_AUTH_TOKEN>",
"SENTRY_ORG": "<YOUR_SENTRY_ORG>"
}
}
}
}工具 (3)
list_issues
List recent issues from a Sentry project with status and frequency.
{
"type": "object",
"required": [
"project"
],
"properties": {
"query": {
"type": "string",
"description": "Search query to filter issues"
},
"status": {
"type": "string",
"description": "Filter by status (unresolved, resolved, ignored)"
},
"project": {
"type": "string",
"description": "Sentry project slug"
}
}
}get_issue_details
Get detailed information about a specific Sentry issue including stack trace.
{
"type": "object",
"required": [
"issueId"
],
"properties": {
"issueId": {
"type": "string",
"description": "Sentry issue ID"
}
}
}search_events
Search for error events matching a query across projects.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Sentry search query (e.g. error message, tag filters)"
},
"project": {
"type": "string",
"description": "Project slug to search within"
},
"timeRange": {
"type": "string",
"description": "Time range (e.g. 24h, 7d, 30d)"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 许可证
- MIT
- 版本
- 0.4.0
- 星标
- 704
- 最后更新
- 2026年5月25日