Sulat.com / Writing on AIWednesday, November 11, 2026
A worn wooden toolbox on a workbench, locked with a single padlock and key, sits between a blank vintage terminal and an industrial data cable. The official Sentry mark is stamped on a brushed-metal plaque on the lid.
Agents/11 November 2026

Sentry ships a unified CLI and MCP flow that shares one login

Sentry is shipping a unified CLI and MCP flow. A new sentry mcp command starts the MCP server in stdio mode and reuses the credentials already set up with the CLI, so one device-code login can cover both.

At a glance

  • Sentry is shipping a unified CLI and MCP flow; the new sentry mcp command launches the MCP server in stdio mode and shares the CLI's credentials.
  • David Cramer set the case out in a 10 November engineering post, MCP or CLI? Yes., and described the flow as a new experiment for agents with access to sandboxes.
  • He argues the CLI can do things MCP cannot, such as grepping raw session-replay events on a filesystem, while MCP remains the better native interface for agents.
  • The official MCP page documents the same local path and still lists a separate HTTP MCP endpoint with OAuth. Cramer said shared CLI auth is not, in his view, the long-term answer.
  • Sentry says it is working on shifting onboarding toward a CLI-based approach, rather than a plugin-based one.

Sentry is shipping a unified command-line and Model Context Protocol setup, so a single CLI login can also cover the company’s MCP server. David Cramer set the case out in a 10 November engineering post, “MCP or CLI? Yes.” The company’s X account pointed to the post the same day.

“Let’s stop debating it and just lean in: you can have both.”

— David Cramer, in MCP or CLI? Yes.

The new command, sentry mcp, launches the MCP server in stdio mode and adds a shim so it can use the credentials already held by the Sentry CLI. Cramer says you authenticate with the usual CLI methods, generally a device-code flow, and that login is passed through. The official Sentry MCP page documents the same local path: install the CLI, run sentry auth login, then register sentry mcp as a stdio server. “It uses the CLI login, so the MCP config needs no token,” the page says.

A Claude Code example on both the blog and the MCP page is claude mcp add sentry -- sentry mcp. Other clients can point at the same command. The MCP page still lists a separate HTTP endpoint at https://mcp.sentry.dev/mcp, which uses OAuth and can be scoped to an organisation or project.

Cramer’s case is that neither interface replaces the other. “The CLI can do things MCP can’t, and MCP is still the superior agentic tooling,” he wrote. The example he gives is session replay: the CLI has a filesystem, so an agent can pull chunks of a raw event log, grep them and paginate, which he says cannot be done efficiently through MCP alone. MCP, by contrast, is discovered natively: the agent does not know the CLI exists unless you tell it.

A later section sketches a future where launching MCP from the CLI would let the server steer the agent toward CLI commands for heavier work, but Cramer said Sentry has not implemented that transport-specific steering yet. The post calls the shared-login flow “the right solution right now for agents with access to sandboxes,” and “a new experiment.”

On authentication, Cramer said the main advantage is that Sentry controls the login flow, so “any of the historical authentication bugs in MCP are no longer present.” He also said this is not the perfect answer, and that he does not think it is the long-term one, because MCP’s consolidated authentication can support things like organisation-wide login and native token handling. The company says it is working on shifting onboarding toward a CLI-based approach, rather than a plugin-based one, and has asked for feedback from people who try the new flow.


Discover more from Sulat AI & Tech News

Subscribe to get the latest posts sent to your email.