Skip to content

Commit 8b81960

Browse files
authored
Fix: Update mcp-clients.mdx
1 parent c7998ab commit 8b81960

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)