Fix: Correct authentication and add ping method
This commit is contained in:
@@ -322,6 +322,7 @@ class MCPSummaryHandler(BaseHTTPRequestHandler):
|
||||
|
||||
def do_POST(self):
|
||||
"""Handle MCP JSON-RPC requests."""
|
||||
# Streamable HTTP MCP endpoint
|
||||
if self.path not in ("/", "/mcp"):
|
||||
self.send_error(404, "Not Found")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user