Skip to content

Commit 811d462

Browse files
Merge pull request #27 from tmokmss/patch-1
await mcp.connect
2 parents c2cc47f + b5f0935 commit 811d462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp-client-typescript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class MCPClient {
5656
command,
5757
args: [serverScriptPath],
5858
});
59-
this.mcp.connect(this.transport);
59+
await this.mcp.connect(this.transport);
6060

6161
// List available tools
6262
const toolsResult = await this.mcp.listTools();

0 commit comments

Comments
 (0)