Skip to content
Development
Command

/mcp

`sentry mcp` starts the local stdio Sentry MCP server using the active Sentry CLI session. Authenticate once with `sentry auth login`; no separate MCP login or token cache is required.

BOOST
From plugin
toolkit
91943 skills1 agent43 commands2 MCP
Install
> /plugin marketplace add getsentry/toolkit
> /plugin install sentry-mcp@sentry-mcp

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/mcp

Context preview

What this command does when you run it.

`sentry mcp` starts the local stdio Sentry MCP server using the active Sentry CLI session. Authenticate once with `sentry auth login`; no separate MCP login or token cache is required.

Command definition

mcp.md

`sentry mcp` starts the local stdio Sentry MCP server using the active Sentry CLI session. Authenticate once with `sentry auth login`; no separate MCP login or token cache is required.

Configure an MCP client

Point your MCP client at the installed Sentry CLI:

{
  "mcpServers": {
    "sentry": {
      "command": "sentry",
      "args": ["mcp"]
    }
  }
}

For a self-hosted instance, first authenticate the CLI against that host. You can also override the target for this MCP server invocation:

{
  "mcpServers": {
    "sentry": {
      "command": "sentry",
      "args": ["mcp", "--host=sentry.example.com"]
    }
  }
}
Ships withtoolkit

This repository contains the Sentry CLI, the Sentry MCP server, and shared packages. For the CLI, see the CLI guide and the published documentation at . The documentation index covers both products and shared contributor guidance.

Get the whole plugin

Other commands on toolkit.