: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(mcp): default Devin client to single-exec CLI mode (#61853)
Georgiy Tarasovbd5fa7adf1e0
diff --git a/services/mcp/src/lib/client-detection.ts b/services/mcp/src/lib/client-detection.tsindex a6383cd6707a..dc35dc564610 100644--- a/services/mcp/src/lib/client-detection.ts+++ b/services/mcp/src/lib/client-detection.ts@@ -59,6 +59,9 @@ export const CODING_AGENT_CLIENT_NAME_FRAGMENTS = ['aider','copilot','gemini-cli',+ // Devin self-reports `clientInfo.name` as `Devin`; it's a coding agent and+ // benefits from the same single-exec mode.+ 'devin',// LibreChat is a general MCP client, but benefits from the same CLI-shaped// single-exec mode as coding agents.'librechat',diff --git a/services/mcp/tests/unit/client-detection.test.ts b/services/mcp/tests/unit/client-detection.test.tsindex 00e9ef649c89..643e1d93d1f0 100644--- a/services/mcp/tests/unit/client-detection.test.ts+++ b/services/mcp/tests/unit/client-detection.test.ts@@ -25,6 +25,7 @@ describe('isCodingAgentClient', () => {['zed'],['aider'],['copilot'],+ ['devin'],['librechat'],['notion'],])('returns true for %s', (clientName) => {@@ -49,6 +50,7 @@ describe('isCodingAgentClient', () => {['LibreChat/1.2.3'],['notion-mcp-client'],['Notion'],+ ['Devin'],])('returns true for variant %s (case-insensitive substring match)', (clientName) => {expect(isCodingAgentClient(clientName)).toBe(true)})