* 连接到 Server * @param serverId Server ID * @returns 连接结果
(serverId: string)
| 94 | * @returns 连接结果 |
| 95 | */ |
| 96 | async connectServer(serverId: string): Promise<MCPServerInfo> { |
| 97 | return this.request<MCPServerInfo>(`/v1/mcp/servers/${serverId}/connect`, { |
| 98 | method: "POST", |
| 99 | }); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * 启动 MCP Server(别名方法) |
no test coverage detected