sentry-mcp
by getsentry·★ 691·综合分 53
一个用于 Sentry 与 LLM 集成的 MCP 服务器,提供错误跟踪和调试功能。
概述
Sentry 的 MCP 服务器专为人类参与的编码助手设计,专注于开发工作流程和调试用例。它作为上游 Sentry API 的中间件,专为 Cursor 和 Claude Code 等编码助手优化。该服务器支持远程和 stdio 传输模式,AI 驱动的搜索工具需要 LLM 提供商(OpenAI 或 Anthropic)支持。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您已经在使用 Sentry 进行错误跟踪,并希望将其直接与 AI 编码助手集成以进行调试和问题解决时,选择这个服务器。
什么时候不要选它
如果您不使用 Sentry 或需要超出 Sentry 提供范围的错误跟踪系统的读写访问权限,请不要选择此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具search_eventsSearch Sentry events using natural language
search_issuesSearch Sentry issues using natural language
create_issueCreate a new Sentry issue
get_issueRetrieve details of a specific Sentry issue
update_issueUpdate an existing Sentry issue
list_projectsList available Sentry projects
create_github_issueCreate a GitHub issue from a Sentry issue
query_postgresQuery PostgreSQL database with Sentry data
use_sentryGeneral purpose Sentry interaction tool
get_organizationGet details of a Sentry organization
get_teamGet details of a Sentry team
search_tracesSearch Sentry traces using natural language
说明:Inferred tool names from the documentation that mentions AI-powered search tools (search_events, search_issues) and other capabilities (create_issue, get_issue, etc.). Some tool names are mentioned in the context of functionality rather tha
可对比工具
安装
安装
Claude Code 插件
claude plugin marketplace add getsentry/sentry-mcp
claude plugin install sentry-mcp@sentry-mcpMCP 配置
{
"mcpServers": {
"sentry": {
"command": "npx",
"args": ["@sentry/mcp-server"],
"env": {
"SENTRY_ACCESS_TOKEN": "your-token",
"EMBEDDED_AGENT_PROVIDER": "openai",
"OPENAI_API_KEY": "sk-..."
}
}
}
}FAQ
- 支持哪些 LLM 提供商?
- 支持 OpenAI 和 Anthropic 用于 AI 驱动的搜索工具。您需要为您选择的提供商配置 API 密钥。
- 我可以在自托管 Sentry 上使用此服务吗?
- 可以,使用带有 --host 标志的 stdio 传输,并提供您的 Sentry 主机 URL。对于非 TLS 部署,可能需要添加 --insecure-http。
sentry-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。