Serve the Pipelines chat tools over a loopback MCP endpoint and register it with Claude Code, Codex and OpenCode chats

This commit is contained in:
2026-11-09 16:34:21 +00:00
parent 3ab029cd7b
commit 9791f09230
33 changed files with 2308 additions and 7 deletions
+5
View File
@@ -153,6 +153,11 @@ func HandlerWithOptions(ctx context.Context, options Options, stores ...*pipelin
}
runs.serveArtifact(w, r)
})
if len(stores) > 0 {
// The Pipelines chat tools' MCP endpoint, for harnesses on this machine.
hub.shown = stores[0]
registerChatTools(mux, newChatToolService(stores[0], stores[0], hub, registry), build.Version)
}
mux.HandleFunc("GET /discovery", serveServerDiscovery)
mux.HandleFunc("GET /files", serveHomeFile)
mux.HandleFunc("POST /files", serveHomeFileUpload)