MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / handleMCPClients

Method handleMCPClients

internal/sidecar/server.go:225–231  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

223}
224
225func (s *Server) handleMCPClients(w http.ResponseWriter, r *http.Request) {
226 if r.Method != http.MethodGet {
227 methodNotAllowed(w)
228 return
229 }
230 writeJSON(w, s.services.MCP.ListClients())
231}
232
233func (s *Server) handleMCPServers(w http.ResponseWriter, r *http.Request) {
234 if r.Method != http.MethodGet {

Callers

nothing calls this directly

Calls 3

methodNotAllowedFunction · 0.85
ListClientsMethod · 0.80
writeJSONFunction · 0.70

Tested by

no test coverage detected