(uri: string)
| 187 | } |
| 188 | |
| 189 | async readResource(uri: string): Promise<ReadResourceResult> { |
| 190 | if (this.#closed) throw new MCPConnectionError('MCP client is closed') |
| 191 | return this.#client.readResource({ uri }) |
| 192 | } |
| 193 | |
| 194 | async resourceTemplates(): Promise<Array<ResourceTemplate>> { |
| 195 | if (this.#closed) throw new MCPConnectionError('MCP client is closed') |
no outgoing calls
no test coverage detected