Let Client take StdioServerParameters directly (#3321)
This commit is contained in:
parent
fb443cc4b2
commit
e473cca6a1
1 changed files with 51 additions and 27 deletions
|
|
@ -45,7 +45,7 @@ It is also the command `mcp install` writes into Claude Desktop's config for you
|
|||
|
||||
And a host is nothing more than an application with an MCP client inside it, so your own
|
||||
Python can play the host's part: **[Client transports](../client/transports.md)** launches
|
||||
this same file as a subprocess with `stdio_client(...)`, and **[Testing](testing.md)**
|
||||
this same file as a subprocess with `Client(StdioServerParameters(...))`, and **[Testing](testing.md)**
|
||||
connects to it in memory with no process at all.
|
||||
|
||||
## Claude Desktop
|
||||
|
|
|
|||
Loading…
Reference in a new issue