await mcp.connect
This commit is contained in:
parent
dfc92478e2
commit
b5f0935306
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue