feat(httpapi): bridge mcp control endpoints (#24403)

This commit is contained in:
Kit Langton
2026-04-25 19:16:19 -04:00
committed by GitHub
parent 58c65874ba
commit a14c22d4e9
5 changed files with 294 additions and 32 deletions
@@ -79,6 +79,9 @@ export const InstanceRoutes = (upgrade: UpgradeWebSocket): Hono => {
app.get(InstancePaths.lsp, (c) => handler(c.req.raw, context))
app.get(InstancePaths.formatter, (c) => handler(c.req.raw, context))
app.get(McpPaths.status, (c) => handler(c.req.raw, context))
app.post(McpPaths.status, (c) => handler(c.req.raw, context))
app.post(McpPaths.connect, (c) => handler(c.req.raw, context))
app.post(McpPaths.disconnect, (c) => handler(c.req.raw, context))
}
return app