Atlas / MCP servers / getsentry / toolkit

toolkitBLOCK

mcp/getsentry/toolkit

Agentic tooling for Sentry

Verdict
BLOCK
Grade
F
Trust score
37 /100
Exposed tools
33 19r · 10w · 4d
Transport
stdio · streamable-http
License
NOASSERTION
Stars
914
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Sentry's MCP service is primarily designed for human-in-the-loop coding agents. Our tool selection and priorities are focused on developer workflows and debugging use cases, rather than providing a general-purpose MCP server for all Sentry functionality.

This remote MCP server acts as middleware to the upstream Sentry API, optimized for coding assistants like Cursor, Claude Code, and similar development tools. It's based on Cloudflare's work towards remote MCPs.

Getting Started

You'll find everything you need to know by visiting the deployed service in production:

If you're looking to contribute, learn how it works, or to run this for self-hosted Sentry, continue below.

Claude Code Plugin

Install as a Claude Code plugin for automatic subagent delegation:

claude plugin marketplace add getsentry/sentry-mcp
claude plugin install sentry-mcp@sentry-mcp

This provides a sentry-mcp subagent that Claude automatically delegates to when you ask about Sentry errors, issues, traces, or performance.

For forward-looking tool variants and features:

claude plugin install sentry-mcp@sentry-mcp-experimental

Stdio vs Remote

While this repository is focused on acting as an MCP service, we also support a stdio transport. This is still a work in progress, but is the easiest way to adapt run the MCP against a self-hosted Sentry install.

Note: The AI-powered search tools (search_errors, search_traces, search_logs, search_issues, etc.) require an LLM provider (OpenAI, Azure OpenAI, Anthropic, or OpenRouter). These tools use natural language processing to translate queries into Sentry's query syntax. Without a configured provider, these specific tools will be unavailable, but all other tools will function normally.

To utilize the stdio transport, you'll need to create an User Auth Token in Sentry with the necessa

Read from source at commit ecf363473d00OBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add mcp-server --env SENTRY_ACCESS_TOKEN=${SENTRY_ACCESS_TOKEN} -- npx -y @sentry/[email protected]
03

Exposed tools (33)

19 read · 10 write · 4 destructive. Blast radius: 4 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
DO_NOT_TRACKwriteIndustry-standard opt-out for telemetry. When set to
DocumentationreadDeprecated legacy docs-only grant. Documentation tools are now available through Inspect Issues & Events.
FORCE_COLORdestructiveForce color output on interactive terminals. Only takes effect when stdout is a TTY. Set to
NODE_EXTRA_CA_CERTSreadPath to a PEM file containing additional CA certificates to trust.
NO_COLORwriteStandard convention to disable color output. See [no-color.org](https://no-color.org/). Respected when
SENTRY_CLIENT_IDreadClient ID of a public OAuth application on your Sentry instance. **Required for [self-hosted Sentry](./self-hosted/)** (26.1.0+) to use
SENTRY_CLI_NO_AUTO_REPAIRwriteDisable automatic database schema repair. By default, the CLI automatically repairs its SQLite database when it detects schema drift. Set this to
SENTRY_CLI_NO_TELEMETRYwriteDisable CLI telemetry (error tracking for the CLI itself). The CLI sends anonymized error reports to help improve reliability — set this to opt out.
SENTRY_CLI_NO_UPDATE_CHECKwriteDisable the automatic update check that runs periodically in the background.
SENTRY_CONFIG_DIRreadOverride the directory where the CLI stores its database (credentials, caches, defaults). Follows the [XDG Base Directory specification](https://specifications.freedesktop.org/basedir/latest/): defaults to
SENTRY_CUSTOM_HEADERSreadCustom HTTP headers to include in all requests to your Sentry instance.
SENTRY_DSNreadSentry DSN for project auto-detection. This is the same DSN you use in
SENTRY_FORCE_ENV_TOKENdestructiveWhen set, environment variable tokens (
SENTRY_HOSTreadBase URL of your Sentry instance. **Only needed for [self-hosted Sentry](./self-hosted/).** SaaS users (sentry.io) should not set this.\n\nWhen set, all API requests (including OAuth login) are directed to this URL instead of
SENTRY_INITwriteUsed with the install script. When set to
SENTRY_INIT_TUIreadControl the TUI (terminal user interface) for
SENTRY_INSTALL_DIRwriteOverride the directory where the CLI binary is installed. Used by the install script and
SENTRY_LOG_LEVELreadControls the verbosity of diagnostic output. Defaults to
SENTRY_MAX_PAGINATION_PAGESreadCap the maximum number of pages fetched during auto-pagination. Useful for limiting API calls when using large
SENTRY_NO_CACHEwriteDisable API response caching. When set, the CLI will not cache API responses and will always make fresh requests.
SENTRY_NO_GRAPHICSwriteDisable inline terminal graphics (kitty and sixel) on terminals that support them; the banner falls back to block art, and image attachments printed by
SENTRY_NO_SIXELreadDeprecated alias for
SENTRY_ORGreadDefault organization slug. Skips organization auto-detection.
SENTRY_OUTPUT_FORMATdestructiveForce the output format for all commands. Currently only
SENTRY_PIPELINEreadIdentifies the Sentry build plugin that invoked the CLI (e.g.,
SENTRY_PLAIN_OUTPUTdestructiveForce plain text output (no colors or ANSI formatting). Takes precedence over
SENTRY_PROJECTreadDefault project slug. Can also include the org in
SENTRY_RELEASEreadExplicit release version for
SENTRY_TOKENreadLegacy alias for
SENTRY_URLreadAlias for
SENTRY_VERSIONwritePin a specific version for the [install script](./getting-started/#install-script). Accepts a version number (e.g.,
SeerreadSentry
SentryreadConnect your Sentry account to search, analyze, and manage errors and performance issues across your applications.
04

Trust audit

BLOCKgrade F · trust 37/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (8 observation(s))
Network
declared (5 observation(s))
Shell
declared (8 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/cli/script/bump-version.ts:114
exec(`npm --no-git-tag-version version ${version}`);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/cli/script/bump-version.ts:157
exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/cli/src/lib/db/sqlite.ts:460
exec(sql: string): void {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/mcp-cloudflare/worker-configuration.d.ts:2279
exec(input?: (string | URLPatternInit), baseURL?: string): URLPatternResult | null;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/mcp-cloudflare/worker-configuration.d.ts:7051
exec(query: string): Promise<D1ExecResult>;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
packages/cli/src/lib/init/tools/project-file.ts:9
".git-credentials",
Why it matters. touches a credential store
HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
packages/cli/src/lib/init/tools/project-file.ts:11
".netrc",
Why it matters. touches a credential store
MEDIUMInventory / provenance · inv.binary · CWE-1104
apps/cli-docs/src/fonts/dammit-sans-v0.3-bold.otf
dammit-sans-v0.3-bold.otf
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.binary · CWE-1104
packages/cli/src/lib/formatters/assets/spleen-8x16.bin
spleen-8x16.bin
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.claude/skills
.claude/skills
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
.cursor/skills
.cursor/skills
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
apps/cli-docs/public/.well-known/skills/sentry-cli/SKILL.md
apps/cli-docs/public/.well-known/skills/sentry-cli/SKILL.md
Why it matters. link not followed
MEDIUMInventory / provenance · inv.symlink · CWE-1104
apps/cli-docs/public/.well-known/skills/sentry-cli/references
apps/cli-docs/public/.well-known/skills/sentry-cli/references
Why it matters. link not followed
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/mcp-core/scripts/measure-token-cost.ts:219
console.log(`✅ Token stats written to: ${absolutePath}`);
MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
packages/mcp-server/src/cli/commands/auth.ts:73
console.log(`Logged out (removed cached token for ${cached.user_email}).`);
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
apps/cli-docs/src/fragments/commands/local.md:179
curl http://127.0.0.1:3030/api/users/42
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
apps/cli-docs/src/fragments/commands/local.md:180
curl -X POST http://127.0.0.1:3030/api/agent/run \
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
apps/cli-docs/src/fragments/commands/local.md:183
curl -i http://127.0.0.1:3030/api/broken
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/cli/test/commands/auth/status.test.ts:260
token: "sntrys_env_token_123",
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/cli/test/commands/auth/status.test.ts:273
token: "sntrys_env_token_123",
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/cli/test/commands/auth/status.test.ts:288
token: "sntrys_env_token_123",
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/cli/test/commands/auth/status.test.ts:302
token: "sntrys_env_token_123_long_enough",
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
packages/cli/test/commands/auth/status.test.ts:317
token: "sntrys_env_token_123_long_enough",
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
FORCE_COLOR, SENTRY_FORCE_ENV_TOKEN, SENTRY_OUTPUT_FORMAT, SENTRY_PLAIN_OUTPUT
Why it matters. 4 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.binary · CWE-1104
packages/cli/test/fixtures/dif/embedded-ppdb.dll
embedded-ppdb.dll
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha ecf363473d00full audit observations/trust-audit/mcp-server/getsentry__toolkit.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06ecf363473d00BLOCKF37first audit
06

Questions

What is the toolkit MCP server?

Agentic tooling for Sentry

What tools does toolkit expose?

33 in total: 19 read-only, 10 that write, and 4 that can delete or overwrite (FORCE_COLOR, SENTRY_FORCE_ENV_TOKEN, SENTRY_OUTPUT_FORMAT, SENTRY_PLAIN_OUTPUT). Every one is listed on this page with its risk.

Is toolkit safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (37/100) and found 7 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 4 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does toolkit need?

It reads ANTHROPIC_API_KEY, MCP_OAUTH_REDIRECT_URI, OPENAI_API_KEY, OPENROUTER_API_KEY, SENTRY_ACCESS_TOKEN, SENTRY_AUTH_TOKEN, SENTRY_FORCE_ENV_TOKEN, SENTRY_MCP_AUTH_CACHE and SENTRY_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does toolkit run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @sentry/toolkit-core at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (ecf363473d00), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement