# MCP or CLI? Yes.

DevFeed: [MCP or CLI? Yes.](<https://devfeed.tech/articles/mcp-or-cli-yes-127630.md>)

Original publisher: [Read original article](<https://blog.sentry.io/mcp-or-cli/>)

Author: David Cramer

Published: 2026-11-10T09:00:00Z

Content type: opinion

Language: en

Sources: [Sentry](<https://devfeed.tech/sources/sentry-blog.md>)

Topics: [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [Docker AI Governance](<https://devfeed.tech/topics/docker-ai-governance.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [approach](<https://devfeed.tech/tags/approach.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [bearer](<https://devfeed.tech/tags/bearer.md>), [bearer-token](<https://devfeed.tech/tags/bearer-token.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [behaviors](<https://devfeed.tech/tags/behaviors.md>), [behind-the-scenes](<https://devfeed.tech/tags/behind-the-scenes.md>), [bridges](<https://devfeed.tech/tags/bridges.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [cli](<https://devfeed.tech/tags/cli.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [native](<https://devfeed.tech/tags/native.md>), [sentry](<https://devfeed.tech/tags/sentry.md>), [steering](<https://devfeed.tech/tags/steering.md>)

## AI overview

Sentry's `sentry mcp` command launches its MCP server in stdio mode and shares credentials with the CLI, letting users authenticate through the CLI's usual methods. The bridge uses a `Sentry-Bearer` token header to bypass the MCP service's separate OAuth constraints, but this gives up MCP's consolidated authentication and may require one-off handling. The tools complement each other: the CLI can expose a filesystem for fetching and inspecting raw data such as session replay events, while MCP offers native tool discovery and steering. Sentry suggests MCP responses could guide agents to use the CLI for detailed retrieval, though that transport-specific steering is not yet implemented. The article also notes uneven support across MCP clients for features such as deferred tool search, `instructions` metadata, and Events, and presents the bridge as an experiment shaped by current limitations.

## Source excerpt

Sentry now bridges its CLI and MCP server: shared auth, CLI-only capabilities like a filesystem, and native MCP steering. Here's why you want both.