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