From 07f638c1bc7f00ddf1b383896063dbd02ce26358 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 5 Oct 2026 17:13:14 -0500 Subject: [PATCH] fix(mcp): use supported OpenAPI registration fields Co-Authored-By: Paperclip --- server/src/routes/openapi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/routes/openapi.ts b/server/src/routes/openapi.ts index f5d157ab5f..2ca32629a2 100644 --- a/server/src/routes/openapi.ts +++ b/server/src/routes/openapi.ts @@ -11336,8 +11336,8 @@ registerCurrentRoute({ registerCurrentRoute({ method: "get", path: "/api/mcp/setup", tags: ["tool-gateway"], - summary: "Read assistant connection setup for a signed-in person", - description: "Returns the live experimental setting and canonical MCP server URL. Requires a human browser session; agent and board API keys are not accepted. Remains available while the experiment is disabled and grants no access.", + summary: "Read assistant connection setup using a human browser session", + // Available while disabled; returns metadata only and never grants access. responses: { 200: r.ok(z.object({ enabled: z.boolean(), serverUrl: z.string().url() })), 401: r.unauthorized, 403: r.forbidden, 404: r.notFound,