From 3aa26f167660b46d61cbf44c52aa37c0a14bdc27 Mon Sep 17 00:00:00 2001 From: Don Bowman Date: Thu, 15 Oct 2026 02:19:35 -0400 Subject: [PATCH] fix(core): advertise the spec-shaped MCP elicitation capability (#53196) Co-authored-by: Aiden Cline --- packages/core/src/mcp/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/mcp/client.ts b/packages/core/src/mcp/client.ts index 3281738fd5e..47ca7348db9 100644 --- a/packages/core/src/mcp/client.ts +++ b/packages/core/src/mcp/client.ts @@ -185,7 +185,7 @@ export const connect = Effect.fnUntraced(function* ( const runFork = Effect.runForkWith(yield* Effect.context()) const client = new Client(clientInfo, { capabilities: { - ...(elicitation ? { elicitation: { form: { applyDefaults: true }, url: {} } } : {}), + ...(elicitation ? { elicitation: { form: {}, url: {} } } : {}), // Legacy era only: roots are deprecated as of 2026-07-28 and modern servers cannot request them. // Some legacy servers refuse to run without one (https://github.com/anomalyco/opencode/issues/2308). roots: {},