Skip to content

Commit 1eef4d6

Browse files
committed
add install instructions to mcp-clients page
1 parent a07bb8e commit 1eef4d6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

units/en/unit1/mcp-clients.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ Environment variables can be passed to server processes using the `env` field. H
114114
<hfoptions id="env-variables">
115115
<hfoption id="python">
116116

117+
Let's first install the packages we need to run the examples.
118+
119+
```bash
120+
pip install "mcp[cli]" "smolagents[mcp]" "fastmcp[cli]"
121+
# or if you are using uv
122+
uv add "mcp[cli]" "smolagents[mcp]" "fastmcp[cli]"
123+
```
124+
117125
In Python, we use the `os` module to access environment variables:
118126

119127
```python

0 commit comments

Comments
 (0)