curl --request POST \ --url https://zeus-api.agentspro.cn/api/tools/mcp/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "tavily", "base_url": "https://mcp.tavily.com/mcp", "transport_type": "streamable_http", "api_key": "tvly-..." }'
{ "success": true, "status": "connected", "tools": [ { "name": "tavily_search", "description": "Search the web using Tavily" }, { "name": "tavily_extract", "description": "Extract content from a URL" } ], "tool_count": 2, "prompts": [], "prompt_count": 0 }
验证 MCP 服务器连接并获取工具和提示词列表
streamable_http
sse
stdio
Authorization: Bearer
connected
显示 tool
显示 prompt