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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user