Implement .env configuration
This commit is contained in:
+5
-3
@@ -9,13 +9,15 @@ so use a firewall, VPN, or private network when exposing it beyond this machine.
|
||||
## Start The Server
|
||||
|
||||
```bash
|
||||
export VOIPMS_API_USERNAME='you@example.com'
|
||||
export VOIPMS_API_PASSWORD='your-api-password'
|
||||
export MCP_AUTH_TOKEN='choose-a-long-random-token'
|
||||
cp .env-example .env
|
||||
# Edit .env and optionally add MCP_AUTH_TOKEN='choose-a-long-random-token'
|
||||
|
||||
./bin/serve-mcp.sh
|
||||
```
|
||||
|
||||
The launcher reads the project-root `.env` file when present. Already exported
|
||||
environment variables take precedence over `.env` values.
|
||||
|
||||
Defaults:
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user