fix: mcp install command with environment variables

This commit is contained in:
Se7en
2025-01-13 20:12:32 +08:00
committed by GitHub
parent 400dcda2eb
commit 53fe3417bb

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
``` ```
@@ -480,4 +480,4 @@ We are passionate about supporting contributors of all levels of experience and
## License ## 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.