-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 1.62 KB
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# ── HTTP / REST API server config ────────────────────────────────────────────────────────────────────────────────────────
API_BASE_URL=https://api.example.com
API_TOKEN=replace-with-token
TIMEOUT_MS=30000
MAX_RETRIES=3
# ── CLI server config (used by cli-server.ts / mcp-template-cli-server) ─────────────────────────────
# Required: absolute or PATH-resolvable path to the CLI binary.
CLI_PATH=node
# Optional: fixed arguments prepended before every tool-supplied argument.
# Examples:
# CLI_BASE_ARGS=scripts/echo-cli.js <- use the bundled echo POC
# CLI_BASE_ARGS=-C /path/to/repo <- e.g. for git
# CLI_BASE_ARGS=--namespace prod <- e.g. for kubectl
CLI_BASE_ARGS=scripts/echo-cli.js
# Optional: working directory for every spawned process.
# CLI_CWD=/path/to/working/dir
# Optional: per-invocation timeout in milliseconds (default: 30000).
# CLI_TIMEOUT_MS=30000
# ── Streamable HTTP transport config (used by http-server.ts) ───────────────────────────────────────
# Optional: all default to a local-only listener on port 3000.
# HTTP_PORT=3000
# HTTP_HOST=127.0.0.1
# Optional: extra Host/Origin values accepted by DNS-rebinding protection
# (comma-separated). Local hostnames are always allowed.
# HTTP_ALLOWED_HOSTS=mcp.example.com
# HTTP_ALLOWED_ORIGINS=https://app.example.com