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");