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.
1 parent c255349 commit c775464Copy full SHA for c775464
docs/quickstart/client.mdx
@@ -568,7 +568,7 @@ async connectToServer(serverScriptPath: string) {
568
command,
569
args: [serverScriptPath],
570
});
571
- this.mcp.connect(this.transport);
+ await this.mcp.connect(this.transport);
572
573
const toolsResult = await this.mcp.listTools();
574
this.tools = toolsResult.tools.map((tool) => {
0 commit comments