fix: mcp install command with environment variables

This commit is contained in:
Se7en 2025-01-13 20:12:32 +08:00 • committed by GitHub
commit 53fe3417bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -249,7 +249,7 @@ mcp install server.py
mcp install server.py --name "My Analytics Server" mcp install server.py --name "My Analytics Server"
# Environment variables # Environment variables
mcp install server.py -e API_KEY=abc123 -e DB_URL=postgres://... mcp install server.py -v API_KEY=abc123 -v DB_URL=postgres://...
mcp install server.py -f .env mcp install server.py -f .env
``` ```