()
| 182 | } |
| 183 | |
| 184 | async resources(): Promise<Array<Resource>> { |
| 185 | if (this.#closed) throw new MCPConnectionError('MCP client is closed') |
| 186 | return (await this.#client.listResources()).resources |
| 187 | } |
| 188 | |
| 189 | async readResource(uri: string): Promise<ReadResourceResult> { |
| 190 | if (this.#closed) throw new MCPConnectionError('MCP client is closed') |
no outgoing calls
no test coverage detected