@@ -102,49 +102,49 @@ close(self)
102102Close the transport.
103103
104104
105- ### ` WSTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L121 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
105+ ### ` WSTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L120 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
106106
107107
108108Transport implementation that connects to an MCP server via WebSockets.
109109
110110
111111** Methods:**
112112
113- #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L139 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
113+ #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L138 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
114114
115115``` python
116116connect_session(self , ** session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
117117```
118118
119- ### ` SSETransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L160 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
119+ ### ` SSETransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L159 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
120120
121121
122122Transport implementation that connects to an MCP server via Server-Sent Events.
123123
124124
125125** Methods:**
126126
127- #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L196 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
127+ #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L195 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
128128
129129``` python
130130connect_session(self , ** session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
131131```
132132
133- ### ` StreamableHttpTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L230 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
133+ ### ` StreamableHttpTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L229 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
134134
135135
136136Transport implementation that connects to an MCP server via Streamable HTTP Requests.
137137
138138
139139** Methods:**
140140
141- #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L266 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
141+ #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L265 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
142142
143143``` python
144144connect_session(self , ** session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
145145```
146146
147- ### ` StdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L301 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
147+ ### ` StdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L300 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
148148
149149
150150Base transport for connecting to an MCP server via subprocess with stdio.
@@ -155,67 +155,67 @@ transports like Python, Node, Uvx, etc.
155155
156156** Methods:**
157157
158- #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L351 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
158+ #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L350 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
159159
160160``` python
161161connect_session(self , ** session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
162162```
163163
164- #### ` connect ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L363 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
164+ #### ` connect ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L362 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
165165
166166``` python
167167connect(self , ** session_kwargs: Unpack[SessionKwargs]) -> ClientSession | None
168168```
169169
170- #### ` disconnect ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L398 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
170+ #### ` disconnect ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L397 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
171171
172172``` python
173173disconnect(self )
174174```
175175
176- #### ` close ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L413 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
176+ #### ` close ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L412 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
177177
178178``` python
179179close(self )
180180```
181181
182- ### ` PythonStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L484 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
182+ ### ` PythonStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L482 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
183183
184184
185185Transport for running Python scripts.
186186
187187
188- ### ` FastMCPStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L537 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
188+ ### ` FastMCPStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L535 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
189189
190190
191191Transport for running FastMCP servers using the FastMCP CLI.
192192
193193
194- ### ` NodeStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L566 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
194+ ### ` NodeStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L564 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
195195
196196
197197Transport for running Node.js scripts.
198198
199199
200- ### ` UvStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L619 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
200+ ### ` UvStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L617 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
201201
202202
203203Transport for running commands via the uv tool.
204204
205205
206- ### ` UvxStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L698 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
206+ ### ` UvxStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L696 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
207207
208208
209209Transport for running commands via the uvx tool.
210210
211211
212- ### ` NpxStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L763 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
212+ ### ` NpxStdioTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L761 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
213213
214214
215215Transport for running commands via the npx tool.
216216
217217
218- ### ` FastMCPTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L825 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
218+ ### ` FastMCPTransport ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L823 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
219219
220220
221221In-memory transport for FastMCP servers.
@@ -228,7 +228,7 @@ tests or scenarios where client and server run in the same runtime.
228228
229229** Methods:**
230230
231- #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L844 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
231+ #### ` connect_session ` <sup ><a href = " https://github.com/jlowin/fastmcp/blob/main/src/fastmcp/client/transports.py#L842 " target = " _blank" ><Icon icon = " github" style = " width: 14px; height: 14px;" /></a ></sup >
232232
233233``` python
234234connect_session(self , ** session_kwargs: Unpack[SessionKwargs]) -> AsyncIterator[ClientSession]
0 commit comments