Merge pull request #27 from tmokmss/patch-1

await mcp.connect
This commit is contained in:
Jonathan Hefner 2025-12-12 09:44:02 -06:00 • committed by GitHub
commit 811d46212a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,7 @@ class MCPClient {
command,
args: [serverScriptPath],
});
this.mcp.connect(this.transport);
await this.mcp.connect(this.transport);
// List available tools
const toolsResult = await this.mcp.listTools();