Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func (s *Server) handleMCPHTTP(w http.ResponseWriter, r *http.Request) {
return
}

s.logger.Info("Request body: %s", string(body))
s.logger.Debug("Request body: %s", string(body))

// Parse the JSON-RPC request
var req map[string]interface{}
Expand Down Expand Up @@ -444,7 +444,7 @@ func (s *Server) handleMCPHTTP(w http.ResponseWriter, r *http.Request) {
}
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
s.logger.Info("Response: %s", string(respBytes))
s.logger.Debug("Response: %s", string(respBytes))
if _, err := w.Write(respBytes); err != nil {
s.logger.Error("Failed to write response: %v", err)
}
Expand All @@ -470,7 +470,7 @@ func (s *Server) handleMCPHTTP(w http.ResponseWriter, r *http.Request) {
}
respBytes = b
}
s.logger.Info("Response: %s", string(respBytes))
s.logger.Debug("Response: %s", string(respBytes))
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK)
if _, err := w.Write(respBytes); err != nil {
Expand Down