uno_connect_server
Connects to an MCP server and retrieves its tools and input schemas. For OAuth-protected servers, returns an authorization URL; after user authorizes, call again to get tools.
Instructions
连接指定 MCP Server,处理 OAuth 授权。
【使用场景】
uno_search_servers 返回的 uncached server 需要认证时
已知 server 名称,想获取其完整 tools 定义时
【返回内容】
已连接/普通 server:返回该 server 全部 tools + inputSchema
OAuth server(未授权):返回 auth_url,用户点击完成授权后重新调用
【OAuth 流程】
uno_connect_server(server_name="github") → 返回 auth_url
用户点击链接完成授权
再次调用 uno_connect_server(server_name="github") → 返回 tools
使用 uno_call_tool 调用具体工具
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_name | Yes | 要连接的 MCP server 名称,如 github、notion、amap-maps |