SE

Sentry

Inspect Sentry projects, issues, and error events.

7 天免费 · 无需信用卡 · EU 托管

问 Sentry 任何事

通过 AnythingMCP 对 Sentry 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Sentry
Sentry · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Sentry。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Sentry

Sentry 指南

面向主流 AI 客户端的逐步设置。

配置 Sentry

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

Connect to Sentry's hosted REST API to investigate projects, issues, and error events using four read-only tools.

Setup: Create a Sentry personal authentication token under User settings > Personal Tokens with org:read and event:read scopes. Supply it as SENTRY_AUTH_TOKEN, and your organization ID or URL slug (the acme in sentry.io/organizations/acme) as SENTRY_ORG, when configuring this connector. The organization goes into every path for you, so no tool asks the model for it. org:read permits listing organization projects; event:read permits reading issues and their events. Access remains limited by the token owner's permissions. Authentication uses the Authorization: Bearer header. This adapter targets https://sentry.io/api/0.

Workflow: Use sentry_list_projects to discover project IDs and slugs, then sentry_list_issues to find issues. Pass the returned issue id, rather than shortId, to sentry_get_issue or sentry_list_issue_events. An issue groups related errors; events are individual occurrences. Set full=true when listing events to include full event bodies and stack traces; Sentry then caps the page size at 10.

Filtering: sentry_list_issues defaults to unresolved issues when query is omitted. Use project to select one project and statsPeriod to narrow the time range, for example 24h or 14d.

Pagination: the list tools ask for Sentry's Link header, so each response carries _pagination next to the body. Call again with cursor = _pagination.nextCursor and repeat until _pagination is absent, which means that was the last page. Never invent a cursor value.

Self-hosted Sentry: this adapter targets sentry.io. If you run your own Sentry, change the connector's base URL to your instance's /api/0 after installing; everything else is identical.

你的 AI 距离 Sentry 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。