Sentry bridges its CLI and MCP for AI agent workflows
Brief
Sentry has introduced a CLI flow for launching its MCP server, combining shared CLI authentication with MCP’s native agent tooling.
How to try it
- Install the CLI with
curl https://cli.sentry.dev/install -fsS | bash, runsentry auth login, then add Sentry to Claude withclaude mcp add sentry -- sentry mcp. - The CLI launches the MCP server in stdio mode and uses a shim to share CLI credentials, with an alternative token type for authentication.
Why combine CLI and MCP
- The CLI can access a filesystem, which Sentry says can help agents fetch and search raw session replay events in chunks.
- MCP provides native tool discovery and calls, while CLI commands need to be explained to the agent.
- Sentry says MCP implementations differ across clients and some capabilities are not consistently supported. Its transport-specific guidance for using the CLI has not yet been implemented.
Generated by AI from the original article. Check the source for full details.