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"
# 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
```
@ -480,4 +480,4 @@ We are passionate about supporting contributors of all levels of experience and
## License
This project is licensed under the MIT License - see the LICENSE file for details.
This project is licensed under the MIT License - see the LICENSE file for details.