Skip to content

Releases

v1.2.0 — security release

Choose a tag to compare

@HieuAnh87 HieuAnh87 released this 16 Oct 04:06
6776530

Security release — upgrade from any earlier version

In every version before 1.2.0, raw_sentry_api passed its endpoint argument straight to the HTTP client. An absolute URL made the client ignore the configured Sentry URL while still sending the Authorization: Bearer header, so a single tool call could send your Sentry auth token to any host, or reach hosts on the server's internal network. Agents can be steered by text inside Sentry events, and anyone with a project's public DSN can submit events — so exploiting this needed no access to your Sentry instance.

If you ran an earlier version with an agent that reads Sentry data, rotate the token.

1.2.0 rejects absolute and protocol-relative URLs, backslashes, control characters and any path that resolves outside /api/0/, and the HTTP client additionally refuses absolute URLs and does not follow redirects.

Install

The npm release is pending (npm still serves 1.1.2 for now). Until then, install from this release's tarball:

# one-off / MCP client config
npx -y https://github.com/HieuAnh87/sentry-selfhosted-mcp/releases/download/v1.2.0/selfhosted-sentry-mcp-1.2.0.tgz

# global install
npm install -g https://github.com/HieuAnh87/sentry-selfhosted-mcp/releases/download/v1.2.0/selfhosted-sentry-mcp-1.2.0.tgz

In an MCP client config, use that URL in place of selfhosted-sentry-mcp in the npx args. Verify the download against SHA256SUMS.txt.

Highlights

  • Broken tools fixed (checked against Sentry 26.9 source and a live self-hosted instance): bulk_update_issues sent its query in the request body, which Sentry ignores, so it acted on every unresolved issue in the project — it now sends the selection in the URL and refuses a call without one. merge_issues, get_trace_details, get_grouping_config and list_activity called endpoints that don't exist. Pagination cursors are now returned. in_app_only no longer drops every frame.
  • SENTRY_READ_ONLY=true hides and refuses the four write tools and limits raw_sentry_api to GET.
  • Responses 68–83% smaller on real data: compact JSON, compact issue lists (full: true for the raw objects), breadcrumb and event noise removed.
  • MCP: SDK 0.6.0 → 1.32.1 (protocol up to 2025-11-25), annotations (readOnlyHint, destructiveHint, …) on every tool.
  • New read-only tools: whoami, list_event_attachments, get_event_attachment, list_user_feedback — 28 tools in total.
  • Short issue IDs (PROJ-1A2) and issue URLs accepted everywhere; clearer errors, including proxy 5xx pages.

Some tool outputs changed shape (compact lists, pagination block). See CHANGELOG.md for the full list, including every output change.

v1.1.3

Choose a tag to compare

@HieuAnh87 HieuAnh87 released this 16 May 03:54

Full Changelog: v1.1.1...v1.1.3