Add Codex multi-workspace config and Linux/mac run script.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user