docs: add an environment-variable reference (#2365)
Every variable that changes runtime behavior now lives on one page, docs/environment-variables.md: which client reads it, its default, and its effect. It covers three variables that were undocumented (MCP_LOG_FILE, MCP_INSPECTOR_LOG_DIR, LOG_LEVEL), the secret-store variables previously only in the Docker guide, and the Node TLS variables that answer #1936 (a self-signed https://localhost server). The README docs table, the migration guide, docker.md and the four client READMEs link to it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TRJ64MnDTg1TpzCTEV9Xva Signed-off-by: cliffhall <cliff@futurescale.com>
This commit is contained in:
parent
3e728a3b8c
commit
2c1d3fdba8
1 changed files with 116 additions and 4 deletions
|
|
@ -268,6 +268,8 @@ Stdout is otherwise compatible: the default `text` format still pretty-prints th
|
|||
|
||||
## Environment variables
|
||||
|
||||
This table maps v1 names to v2. Defaults, accepted values, and the variables with no v1 counterpart are in [Environment variables](./environment-variables.md).
|
||||
|
||||
| v1 | v2 | Notes |
|
||||
| ------------------------ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `MCP_PROXY_AUTH_TOKEN` | **`MCP_INSPECTOR_API_TOKEN`** | Renamed, but the **old name still works** as a deprecated fallback when the new one is unset — an existing deployment keeps running while you migrate. Guards `/api/*` via `x-mcp-remote-auth: Bearer <token>`; the browser also receives it injected into `index.html`, so a bare reload keeps working. (The `?MCP_PROXY_AUTH_TOKEN=` **query param** has no such fallback — see [Web UI](#web-ui).) |
|
||||
|
|
|
|||
Loading…
Reference in a new issue