Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(mcp): enable CLI mode for Ando client (#68122)

Georgiy Tarasov05136f7baf5d
diff --git a/services/mcp/src/lib/client-detection.ts b/services/mcp/src/lib/client-detection.ts
index 45b93ccf5481..ea67ddedb4a1 100644
--- a/services/mcp/src/lib/client-detection.ts
+++ b/services/mcp/src/lib/client-detection.ts
@@ -93,6 +93,10 @@ export const CODING_AGENT_CLIENT_NAME_FRAGMENTS = [
// UI, so they benefit from the same single-exec mode and formatted-text
// rendering as the other coding agents.
'grok',
+ // Ando is an LLM-driven assistant (Slack, chat, calls) whose MCP client
+ // self-reports `clientInfo.name` as `ando-mcp-gateway`; it renders text and
+ // benefits from the same single-exec mode as the coding agents.
+ 'ando-mcp-gateway',
] as const
// Known `x-anthropic-client` (`vendorClient`) header values. Anthropic pools
diff --git a/services/mcp/tests/unit/client-detection.test.ts b/services/mcp/tests/unit/client-detection.test.ts
index 068d8df0ba70..4d5039ce6924 100644
--- a/services/mcp/tests/unit/client-detection.test.ts
+++ b/services/mcp/tests/unit/client-detection.test.ts
@@ -37,6 +37,7 @@ describe('isCliModeEnabledClient', () => {
['amp-mcp-client'],
['poke'],
['grok'],
+ ['ando-mcp-gateway'],
])('returns true for %s', (clientName) => {
expect(isCliModeEnabledClient(clientName)).toBe(true)
})