Jeremiah Lowin commited on
Commit
d639b99
·
1 Parent(s): 2a37c5a

Add notes about uv and claude desktop

Browse files
Files changed (1) hide show
  1. docs/deployment/cli.mdx +6 -3
docs/deployment/cli.mdx CHANGED
@@ -148,9 +148,12 @@ Install a MCP server in the Claude desktop app.
148
  fastmcp install server.py
149
  ```
150
 
151
- <Tip>
152
- This command installs your server in an isolated environment. All dependencies must be explicitly specified using the `--with` and/or `--with-editable` options.
153
- </Tip>
 
 
 
154
 
155
  <Warning>
156
  The `install` command currently only sets up servers for STDIO transport. When installed in the Claude desktop app, your server will be run using STDIO regardless of any transport configuration in your code.
 
148
  fastmcp install server.py
149
  ```
150
 
151
+
152
+ Note that for security reasons, Claude runs every MCP server in a completely isolated environment. Therefore, all dependencies must be explicitly specified using the `--with` and/or `--with-editable` options (following `uv` conventions) or by attaching them to your server in code via the `dependencies` parameter.
153
+ <Warning>
154
+ - **`uv` must be installed and available in your system PATH**. Claude Desktop runs in its own isolated environment and needs `uv` to manage dependencies.
155
+ - **On macOS, it is recommended to install `uv` globally with Homebrew** so that Claude Desktop will detect it: `brew install uv`. Installing `uv` with other methods may not make it accessible to Claude Desktop.
156
+ </Warning>
157
 
158
  <Warning>
159
  The `install` command currently only sets up servers for STDIO transport. When installed in the Claude desktop app, your server will be run using STDIO regardless of any transport configuration in your code.