From 6f75b088dcc8b73c061c8d376bfb8339c5cded6b Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 18:42:03 +0000 Subject: [PATCH] feat(cli): Mention sentry mcp in installer Get started output Co-Authored-By: David Cramer <23610+dcramer@users.noreply.github.com> --- packages/cli/src/commands/cli/setup.ts | 1 + packages/cli/test/commands/cli/setup.test.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/cli/src/commands/cli/setup.ts b/packages/cli/src/commands/cli/setup.ts index cac464876..99904e9a7 100644 --- a/packages/cli/src/commands/cli/setup.ts +++ b/packages/cli/src/commands/cli/setup.ts @@ -483,6 +483,7 @@ function printWelcomeMessage( emit(""); emit("Get started:"); emit(" sentry auth Authenticate with Sentry"); + emit(" sentry mcp Run the Sentry MCP server for your AI agent"); emit(" sentry --help See all available commands"); emit(""); emit("https://cli.sentry.dev"); diff --git a/packages/cli/test/commands/cli/setup.test.ts b/packages/cli/test/commands/cli/setup.test.ts index f01057fb6..f8057fa75 100644 --- a/packages/cli/test/commands/cli/setup.test.ts +++ b/packages/cli/test/commands/cli/setup.test.ts @@ -824,6 +824,9 @@ describe("sentry cli setup", () => { // Should show welcome message, not "Setup complete!" expect(combined).toContain("Installed sentry v"); expect(combined).toContain("Get started:"); + expect(combined).toContain( + " sentry mcp Run the Sentry MCP server for your AI agent", + ); expect(combined).toContain("sentry auth"); expect(combined).toContain("sentry --help"); expect(combined).toContain("cli.sentry.dev");