Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sentry 6 min read Opinion mediumAdept

MCP or CLI? Yes.

Sentry now ships its MCP server launchable from the CLI (`sentry mcp`), running stdio mode with a shim that reuses CLI credentials via a separate `Sentry-Bearer` token header that bypasses the OAuth proxy's CIMD/DCR flow. This sidesteps MCP's authentication bugs but gives up the consolidated, client-native auth that MCP offers. The two interfaces are complementary: the CLI has filesystem access for token-efficient grepping and pagination over raw data like session replay event logs, while MCP provides native tool discovery and steering. Sentry plans transport-aware steering where MCP tool responses point agents at CLI commands, and notes that uneven harness support for tool search, `instructions` metadata and MCP Events still limits relying on MCP alone.

Assumes: Model Context Protocol basicsOAuth device code flowcoding agent harnesses

Related posts

  • Better Rails for Agents: A New Remote MCP and Railway Agent in the CLI

    Railway mediumAdept

    Railway shipped a remote MCP server at mcp.railway.com, which connects to MCP clients over OAuth with no local install, and a new `railway agent` CLI command for interactive, scripted or CI use with JSON output. The MCP surface is kept deliberately small at 7 tools, because every tool definition costs client context and multi-step operations cost a round-trip each. Questions such as "why is my deploy crashing" go to a `railway-agent` tool that runs the multi-step investigation server-side and returns one answer. Instead of a separate service, the MCP server is a stateless Koa route inside the main backend. It reuses the existing OIDC provider and permission controllers, passes per-request context through AsyncLocalStorage, and wraps tools in a factory that handles auth and errors.

  • Is MCP good yet?

    Neon mediumAdept

    Neon's remote MCP server now handles more tool calls than its CLI runs commands and has about twice the CLI's daily active users. Agents pick MCP even where Neon's own skills recommend the CLI, likely because harnesses surface MCP tools to the model automatically. Neon added support for the stateless MCP 2026-07-28 spec, which drops the initialize handshake and Mcp-Session-Id in favor of per-request _meta and Mcp-Method/Mcp-Name headers, so any instance behind a round-robin load balancer can serve any request. That let Neon retire its SSE endpoints and remove Redis-backed session handling, while still accepting the old handshake because most clients (Claude Code excepted) don't use the new spec by default yet.

  • Bringing MCP to the Cloud

    Neon mediumAdept

    Neon moved its MCP server from a locally spawned stdio process authenticated by a long-lived API key to a hosted server at mcp.neon.tech, using SSE for server-to-client messages and HTTP POST to a /messages endpoint routed by an in-memory session map. Authentication uses OAuth 2.1: the MCP server acts as an OAuth server to MCP clients, with dynamic client registration, PKCE and refresh tokens, and as an OAuth client to Neon upstream. Each session gets its own MCP server instance scoped to the user's Neon token. The server runs as a Docker image on Fly. Open issues include the Node.js dependency introduced by mcp-remote and clients restarting the OAuth flow instead of using refresh tokens.

  • Unreal MCP now speaks Sentry

    Sentry mediumAdept

    Unreal Engine 5.8 adds an experimental in-editor MCP server, and Sentry's Unreal plugin (1.24.0+) registers its own tools and agent skills so coding agents like Claude Code, Cursor or Codex can configure the DSN, enable debug symbol upload, instrument tracing/logs/metrics and debug captured crashes. Setup requires enabling Unreal MCP and All Toolsets, generating a client config via a console command, and optionally connecting Sentry MCP directly or proxied through the editor so the agent can fetch DSNs and verify events. In a demo, the agent took a project from zero setup to a symbolicated crash and traced it via breadcrumbs to an unwired Blueprint rather than just adding a null check. Rough edges include agents skipping tool discovery in tool-search mode and lost connections on editor restart.

  • Solving the MCP Authentication Headache with Vercel & Better Auth

    Neon mediumAdept

    Remote MCP servers can authenticate users with OAuth instead of plaintext bearer tokens or UUIDs stored in a client's mcp.json, using Better Auth's MCP plugin together with Vercel's @vercel/mcp-adapter in a Next.js app. Setup touches three files: add the mcp plugin with a login page to the Better Auth config, expose the .well-known/oauth-authorization-server discovery route, and wrap the MCP handler so it resolves the user's session via getMCPSession and returns 401 when none exists. The session's user ID can then scope tool access to that user's own data. Clients such as Cursor, connecting through mcp-remote, open a login popup on first use.

The quest for software engineering knowledge.

Look:
Layout: