We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5d83d4 + c775464 commit e4d43cbCopy full SHA for e4d43cb
docs/quickstart/client.mdx
@@ -598,7 +598,7 @@ async connectToServer(serverScriptPath: string) {
598
command,
599
args: [serverScriptPath],
600
});
601
- this.mcp.connect(this.transport);
+ await this.mcp.connect(this.transport);
602
603
const toolsResult = await this.mcp.listTools();
604
this.tools = toolsResult.tools.map((tool) => {
0 commit comments