fix(cli): update environment variable handling for server URL
Some checks failed
CI / build-and-test (push) Failing after -32m44s
Some checks failed
CI / build-and-test (push) Failing after -32m44s
This commit is contained in:
@@ -572,7 +572,7 @@ server: https://your-amcs-server
|
||||
token: your-bearer-token
|
||||
```
|
||||
|
||||
Env vars override the config file: `AMCS_URL`, `AMCS_TOKEN`. Flags `--server` and `--token` override env vars.
|
||||
Env vars override the config file: `AMCS_SERVER` (preferred), `AMCS_URL` (legacy alias), and `AMCS_TOKEN`. Flags `--server` and `--token` override env vars.
|
||||
|
||||
### stdio MCP client setup
|
||||
|
||||
@@ -586,7 +586,7 @@ With inline credentials (no config file):
|
||||
|
||||
```bash
|
||||
claude mcp add --transport stdio amcs amcs-cli stdio \
|
||||
--env AMCS_URL=https://your-amcs-server \
|
||||
--env AMCS_SERVER=https://your-amcs-server \
|
||||
--env AMCS_TOKEN=your-bearer-token
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user