Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/develop/build-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ var clientTransport = new StdioClientTransport(new()
Arguments = arguments,
});
await using var mcpClient = await McpClientFactory.CreateAsync(clientTransport);
await using var mcpClient = await McpClient.CreateAsync(clientTransport);
var tools = await mcpClient.ListToolsAsync();
foreach (var tool in tools)
Expand Down Expand Up @@ -1609,7 +1609,7 @@ static void PromptForInput()

### 1. Client Initialization

- The client is initialized using `McpClientFactory.CreateAsync()`, which sets up the transport type and command to run the server.
- The client is initialized using `McpClient.CreateAsync()`, which sets up the transport type and command to run the server.

### 2. Server Connection

Expand Down