跳到正文
FunCoding

Sentry

官方官方 MCP Registry 已收录

MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants

Star
978
版本
v0.51.0
最近提交
2026年12月1日

@sentry/mcp-server

The Sentry MCP server for stdio clients, as a single file with no runtime dependencies. Works with sentry.io and self-hosted Sentry.

Prefer sentry mcp. The Sentry CLI runs the same server as sentry mcp, using your CLI login, so the MCP config needs no token:

curl https://cli.sentry.dev/install -fsS | bash
sentry auth login
claude mcp add sentry -- sentry mcp

Other clients take {"command": "sentry", "args": ["mcp"]}. See the sentry mcp docs and https://mcp.sentry.dev/?transport=cli. This package remains for clients that launch the server through npx.

{
  "command": "npx",
  "args": ["-y", "@sentry/mcp-server@latest"]
}

Requires Node.js 22.15 or later.

Authentication

  • npx -y @sentry/mcp-server auth login signs in once. The login is shared with the sentry CLI, so an existing sentry auth login works too.

  • To use a token instead, set SENTRY_AUTH_TOKEN in the client's env. It wins over a stored login:

    {
      "command": "npx",
      "args": ["-y", "@sentry/mcp-server@latest"],
      "env": {
        "SENTRY_AUTH_TOKEN": "sntryu_..."
      }
    }
    
  • --access-token / SENTRY_ACCESS_TOKEN are deprecated. They still work, as SENTRY_AUTH_TOKEN, and print a warning on stderr.

  • Each server process uses one account. The package runs the CLI's own auth commands, so npx -y @sentry/mcp-server auth status|list|switch|logout manages the same login.

  • npx -y @sentry/mcp-server cli defaults and cli fix are the CLI's own commands too: they set the defaults (such as ca-cert for a corporate TLS proxy) and repair the local database the server shares with the CLI.

Options

Starting the server is the default command, so npx -y @sentry/mcp-server and npx -y @sentry/mcp-server mcp are the same. Run npx -y @sentry/mcp-server mcp --help for the flags and environment variables. For self-hosted Sentry, set SENTRY_HOST / SENTRY_URL (with SENTRY_AUTH_TOKEN, only these scope the token to your server). See stdio authentication.

Development

The source lives in packages/cli: packages/cli/src/mcp-server.ts runs the CLI's runner with an application of four commands, mcp, auth, cli (defaults and fix only), and help (packages/cli/src/mcp-server-app.ts). pnpm run bundle builds dist/sentry-mcp.cjs from it, and pnpm run test:bundle smoke-tests the result.

同类 MCP Server

Keploy

End-to-end API testing — generate and run tests from OpenAPI, curl, Postman, or real user traffic.

KEkeploy/keploy20k近 7 天新增 69 个 star

精选

mobile-mcp

用无障碍快照在模拟器和真机上自动化测试 iOS 与 Android 应用。

MOmobile-next/mobile-mcp11k近 7 天新增 180 个 star

Tuist

Build, test and cache insights for Xcode, Gradle and Bazel projects, for coding agents.

TUtuist/tuist5.9k近 7 天新增 2 个 star

精选

agent-device

让智能体在模拟器、真机与电视上检查、控制并验证 App。

CAcallstack/agent-device5.6k近 7 天新增 78 个 star

linkedin-mcp-server

Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.

STstickerdaniel/linkedin-mcp-server4.4k近 7 天新增 66 个 star

Argent

MCP server for AI agents to control, debug and profile iOS simulators, Android emulators and TVs

SOsoftware-mansion/argent3.3k近 7 天新增 42 个 star