fix(hub): use X-MCP-Secret header for opax-mcp auth

This commit is contained in:
Chris Christiansen 2026-09-05 20:57:03 +00:00
parent e84a52d4f6
commit 8ae993d930
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ def _identity_token() -> str:
def _mcp_headers() -> dict: def _mcp_headers() -> dict:
return { return {
"X-MCP-Key": _MCP_SECRET.strip(), "X-MCP-Secret": _MCP_SECRET.strip(),
"Content-Type": "application/json", "Content-Type": "application/json",
} }

View File

@ -73,7 +73,7 @@ def _identity_token() -> str:
def _mcp_headers() -> dict: def _mcp_headers() -> dict:
return { return {
"X-MCP-Key": _MCP_SECRET.strip(), "X-MCP-Secret": _MCP_SECRET.strip(),
"Content-Type": "application/json", "Content-Type": "application/json",
} }