Skip to content

Commit ff8e667

Browse files
authored
Fix minor typo in mcp-clients.mdx
Change redundant “in within code” to “within code”
1 parent 0301a9a commit ff8e667

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
@@ -219,7 +219,7 @@ In the next section, we'll explore the ecosystem of MCP servers available on Hug
219219

220220
## Code Clients
221221

222-
You can also use the MCP Client in within code so that the tools are available to the LLM. Let's explore some examples in `smolagents`.
222+
You can also use the MCP Client within code so that the tools are available to the LLM. Let's explore some examples in `smolagents`.
223223

224224
First, let's explore our weather server from the previous page. In `smolagents`, we can use the `ToolCollection` class to automatically discover and register tools from an MCP server. This is done by passing the `StdioServerParameters` or `SSEServerParameters` to the `ToolCollection.from_mcp` method. We can then print the tools to the console.
225225

0 commit comments

Comments
 (0)