mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-22 08:40:01 +02:00
fix(mcp): use supported OpenAPI registration fields
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
797fecd803
commit
07f638c1bc
1 file changed
+2
-2
@@ -11336,8 +11336,8 @@ registerCurrentRoute({
|
|||||||
|
|
||||||
registerCurrentRoute({
|
registerCurrentRoute({
|
||||||
method: "get", path: "/api/mcp/setup", tags: ["tool-gateway"],
|
method: "get", path: "/api/mcp/setup", tags: ["tool-gateway"],
|
||||||
summary: "Read assistant connection setup for a signed-in person",
|
summary: "Read assistant connection setup using a human browser session",
|
||||||
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.",
|
// Available while disabled; returns metadata only and never grants access.
|
||||||
responses: {
|
responses: {
|
||||||
200: r.ok(z.object({ enabled: z.boolean(), serverUrl: z.string().url() })),
|
200: r.ok(z.object({ enabled: z.boolean(), serverUrl: z.string().url() })),
|
||||||
401: r.unauthorized, 403: r.forbidden, 404: r.notFound,
|
401: r.unauthorized, 403: r.forbidden, 404: r.notFound,
|
||||||
|
|||||||
Reference in new issue
Block a user