feat: polish the mcp-server configure feature (#447)

* feat: disable the MCP server configuation by default

* Fixed the lint and test errors

* fix the lint error

* feat:update the mcp config documents and tests

* fixed the lint errors
This commit is contained in:
Willem Jiang
2025-07-19 09:33:32 +08:00
committed by GitHub
parent 75ad3e0dc6
commit d34f48819d
4 changed files with 94 additions and 4 deletions

View File

@@ -385,7 +385,7 @@ async def mcp_server_metadata(request: MCPServerMetadataRequest):
]:
raise HTTPException(
status_code=403,
detail="MCP server configuration is disabled. Set ENABLE_MCP_SERVER_CONFIGURATION=true to enable.",
detail="MCP server configuration is disabled. Set ENABLE_MCP_SERVER_CONFIGURATION=true to enable MCP features.",
)
try: