Skip to main content
Glama
sentry
by hempun10

pi-sentry-mcp

CI npm

Talk to Sentry from Pi. After you sign in, the agent can search issues, events, and traces on Sentry's MCP at https://mcp.sentry.dev/mcp.

You need Pi, pi-mcp-adapter, and a Sentry account.

Published as pi-sentry-mcp on npm. The pi-package keyword lists it on pi.dev/packages. Landing page: https://hempun10.github.io/pi-sentry-mcp/

Install

pi install npm:pi-mcp-adapter
pi install npm:pi-sentry-mcp

Restart Pi or run /reload, then run /mcp-auth sentry and sign in in the browser.

pi-mcp-adapter stores the OAuth token. This repo never sees it.

If Pi says pi-mcp-adapter is not installed, install that package and reload.

Related MCP server: Sentry

Limit to one org or project

The default URL is https://mcp.sentry.dev/mcp. That can reach every org your account can access.

Put sentryMcp in .pi/settings.json for this project, or in ~/.pi/agent/settings.json for every project. .pi/settings.json overrides the user file.

Field

Required

Source

What it does

url

no

settings

Full MCP URL. Ignores organization and project.

organization

no

settings or SENTRY_ORG

Uses https://mcp.sentry.dev/mcp/{org}

project

no

settings or SENTRY_PROJECT

Needs organization. Uses https://mcp.sentry.dev/mcp/{org}/{project}

experimental

no

settings or SENTRY_MCP_EXPERIMENTAL=1

Adds ?experimental=1 to the built URL

{
  "sentryMcp": {
    "organization": "my-org",
    "project": "my-project"
  }
}

If you set project, you must also set organization.

Call it

The server name is sentry.

mcp({ search: "unresolved issues", server: "sentry" })
mcp({ tool: "search_issues", args: { organizationSlug: "my-org", query: "is:unresolved" } })

Paste Sentry issue URLs as they are. Write org/project as organizationSlug/projectSlug.

Sentry lists tools at mcp.sentry.dev. Sentry can add or remove tools without a change in this repo.

What this repo does not do

It does not implement search_issues or other Sentry tools. Those run on Sentry's server.

It is not sentry-cli. It is not a self-hosted MCP. For self-hosted Sentry, set sentryMcp.url to your MCP endpoint.

Develop

npm install
npm run check
npm test

Landing page:

cd site
npm install
npm run dev

See CONTRIBUTING.md.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables interaction with Sentry's error tracking platform to fetch and manage issue details, events, and project information through the Sentry API.
      4
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Sentry's error tracking and monitoring tools through a unified API, allowing natural language access to Sentry services.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables interaction with Sentry organizations, projects, and issues directly from MCP clients like Claude Code.
      16 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for integrating self-hosted Sentry with AI assistants, enabling project and issue listing, issue details with stack traces, and event retrieval.
      7
      10 npm
      1
      MIT