Files
mcp_web_dev_server/examples/codex/config.toml
T
melabidi ad4d31d792
Tests / test (push) Successful in 9m43s
Tests / build-and-push-image (push) Successful in 22s
Add Codex multi-workspace config and Linux/mac run script.
2026-07-31 16:18:28 -04:00

44 lines
1.2 KiB
TOML

# Merge these tables into ~/.codex/config.toml (or a trusted project .codex/config.toml).
# Each entry points at a dedicated web-dev-mcp container (one WORKSPACE_ROOT per server).
#
# Edit the four workspace names/ports if needed, then start containers with:
# ./examples/codex/run-workspaces.sh
#
# Localhost bind = no MCP_HTTP_TOKEN required.
[mcp_servers.web-dev-ws1]
url = "http://127.0.0.1:3939/mcp"
startup_timeout_sec = 20
tool_timeout_sec = 120
enabled = true
[mcp_servers.web-dev-ws2]
url = "http://127.0.0.1:3940/mcp"
startup_timeout_sec = 20
tool_timeout_sec = 120
enabled = true
[mcp_servers.web-dev-ws3]
url = "http://127.0.0.1:3941/mcp"
startup_timeout_sec = 20
tool_timeout_sec = 120
enabled = true
[mcp_servers.web-dev-ws4]
url = "http://127.0.0.1:3942/mcp"
startup_timeout_sec = 20
tool_timeout_sec = 120
enabled = true
# Optional: if you bind containers to 0.0.0.0 and set MCP_HTTP_TOKEN,
# set the token in your shell env and uncomment:
#
# [mcp_servers.web-dev-ws1]
# url = "http://127.0.0.1:3939/mcp"
# bearer_token_env_var = "MCP_HTTP_TOKEN_WS1"
#
# [mcp_servers.web-dev-ws2]
# url = "http://127.0.0.1:3940/mcp"
# bearer_token_env_var = "MCP_HTTP_TOKEN_WS2"
# ... etc