(w http.ResponseWriter, r *http.Request)
| 214 | } |
| 215 | |
| 216 | func (s *Server) handleTools(w http.ResponseWriter, r *http.Request) { |
| 217 | if r.Method != http.MethodGet { |
| 218 | methodNotAllowed(w) |
| 219 | return |
| 220 | } |
| 221 | tools, err := s.services.Tools.List() |
| 222 | writeResult(w, tools, err) |
| 223 | } |
| 224 | |
| 225 | func (s *Server) handleMCPClients(w http.ResponseWriter, r *http.Request) { |
| 226 | if r.Method != http.MethodGet { |
nothing calls this directly
no test coverage detected