Skip to content

Commit a064c72

Browse files
authored
Merge pull request #24 from phil71x/patch-1
Fix: Update mcp-clients.mdx
2 parents 81d296e + 8b81960 commit a064c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/en/unit1/mcp-clients.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Weather API: Get the weather in a specific location
248248

249249
</details>
250250

251-
We can also connect to an MCP server that is hosted on a remote machine. In this case, we need to pass the `SSEServerParameters` to the `ToolCollection.from_mcp` method.
251+
We can also connect to an MCP server that is hosted on a remote machine. In this case, we need to pass the `SSEServerParameters` to the `MCPClient` class.
252252

253253
```python
254254
from smolagents.mcp_client import MCPClient

0 commit comments

Comments
 (0)