(w http.ResponseWriter, r *http.Request)
| 223 | } |
| 224 | |
| 225 | func (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 | |
| 233 | func (s *Server) handleMCPServers(w http.ResponseWriter, r *http.Request) { |
| 234 | if r.Method != http.MethodGet { |
nothing calls this directly
no test coverage detected