Configure sandbox MCP broker access

This commit is contained in:
mmckeen-nv
2026-04-29 13:01:59 -07:00
parent 6b2451e216
commit 10f5a0b6aa
11 changed files with 626 additions and 66 deletions
+4 -1
View File
@@ -28,9 +28,12 @@ export async function GET(
"",
"This preview omits the broker token. Use POST to issue and write a live broker config.",
"",
`- MCP: \`${brokerUrl}/mcp\``,
`- Capabilities: \`${brokerUrl}/capabilities\``,
`- Call: \`${brokerUrl}/call\``,
"",
"OpenClaw will receive an `openshell-control` MCP server entry that uses the MCP endpoint.",
"",
].join("\n"),
})
} catch (error) {
@@ -74,7 +77,7 @@ export async function POST(
sandboxId,
synced,
network,
note: `Issued MCP broker config at ${synced.path}.`,
note: `Issued MCP broker config at ${synced.path} and ${synced.openClaw.path}.`,
})
} catch (error) {
const message = error instanceof Error ? error.message : "Failed to issue MCP broker config"