: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
chore(mcp): remove the retired --no-skills call flag (#104477)
Jake Ruthef406c0c9a23
diff --git a/services/mcp/src/tools/exec.ts b/services/mcp/src/tools/exec.tsindex 85ebd5398ea1..97ecf5e66f53 100644--- a/services/mcp/src/tools/exec.ts+++ b/services/mcp/src/tools/exec.ts@@ -324,11 +324,6 @@ function parseCallFlags(input: string): { forceJson: boolean; confirmed: booleanrest = parsed.restcontinue}- if (parsed.verb === '--no-skills') {- // Ignore for backward compatibility with clients that still send this flag.- rest = parsed.rest- continue- }break}diff --git a/services/mcp/tests/unit/exec.test.ts b/services/mcp/tests/unit/exec.test.tsindex c4db7e2ed272..6fa37f6ea5dd 100644--- a/services/mcp/tests/unit/exec.test.ts+++ b/services/mcp/tests/unit/exec.test.ts@@ -359,12 +359,9 @@ describe('exec tool', () => {)})- it.each([- { label: '--confirm before --json', command: 'call --confirm --json mock-tool' },- { label: 'the retired --no-skills flag', command: 'call --no-skills --json mock-tool' },- ])('dispatches a call with $label', async ({ command }) => {+ it('allows --confirm before --json when dispatching a call', async () => {const exec = createExec()- const result = await exec.handler(mockContext, { command })+ const result = await exec.handler(mockContext, { command: 'call --confirm --json mock-tool' })const parsed = JSON.parse(result as string)expect(parsed).toEqual({ id: 1, name: 'test', items: [{ a: 1 }, { a: 2 }] })})