mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 06:24:18 +02:00
feat: add --config-path flag to claude-desktop install command (#3380)
* feat: add --config-path flag to claude-desktop install command * feat: add --config-path flag to claude-desktop install command * docs: add --config-path option to install-mcp documentation * fix: show specific error message when provided --config-path does not exist
This commit is contained in:
parent
d4a8354ba2
commit
34d848b16a
3 changed files with 48 additions and 7 deletions
|
|
@ -65,6 +65,7 @@ See [Server Configuration](/deployment/server-configuration) for the full config
|
|||
| Python | `--python` | Python version (e.g., `3.11`) |
|
||||
| Project | `--project` | Run within a uv project directory |
|
||||
| Requirements | `--with-requirements` | Install from a requirements file |
|
||||
| Config Path | `--config-path` | Custom path to Claude Desktop config directory (`claude-desktop` only) |
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
@ -92,6 +93,10 @@ fastmcp install cursor server.py --env-file .env
|
|||
fastmcp install claude-desktop server.py \
|
||||
--python 3.11 \
|
||||
--with-requirements requirements.txt
|
||||
|
||||
# With custom config path (claude-desktop only)
|
||||
fastmcp install claude-desktop server.py \
|
||||
--config-path "C:\Users\username\AppData\Local\Packages\Claude_xyz\LocalCache\Roaming\Claude"
|
||||
```
|
||||
|
||||
## Generating MCP JSON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue