diff --git a/README.md b/README.md index 44de60d..1d4bc0a 100644 --- a/README.md +++ b/README.md @@ -197,13 +197,14 @@ options use the `PENPOT_MCP_` prefix for consistency. ### Server Configuration -| Environment Variable | Description | Default | -|-----------------------------|----------------------------------------------------------------------------|---------| -| `PENPOT_MCP_SERVER_PORT` | Port for the HTTP/SSE server | `4401` | -| `PENPOT_MCP_WEBSOCKET_PORT` | Port for the WebSocket server (plugin connection) | `4402` | -| `PENPOT_MCP_REPL_PORT` | Port for the REPL server (development/debugging) | `4403` | -| `PENPOT_MCP_SERVER_ADDRESS` | Hostname or IP address where the MCP server can be reached | `localhost` | -| `PENPOT_MCP_REMOTE_MODE` | Enable remote mode (disables file system access). Set to `true` to enable. | `false` | +| Environment Variable | Description | Default | +|------------------------------------|----------------------------------------------------------------------------|--------------| +| `PENPOT_MCP_SERVER_LISTEN_ADDRESS` | Address on which the MCP server listens (binds to) | `localhost` | +| `PENPOT_MCP_SERVER_PORT` | Port for the HTTP/SSE server | `4401` | +| `PENPOT_MCP_WEBSOCKET_PORT` | Port for the WebSocket server (plugin connection) | `4402` | +| `PENPOT_MCP_REPL_PORT` | Port for the REPL server (development/debugging) | `4403` | +| `PENPOT_MCP_SERVER_ADDRESS` | Hostname or IP address via which clients can reach the MCP server | `localhost` | +| `PENPOT_MCP_REMOTE_MODE` | Enable remote mode (disables file system access). Set to `true` to enable. | `false` | ### Logging Configuration @@ -230,6 +231,9 @@ you may set the following environment variables to configure the two servers (MCP server & plugin server) appropriately: * `PENPOT_MCP_REMOTE_MODE=true`: This ensures that the MCP server is operating in remote mode, with local file system access disabled. + * `PENPOT_MCP_SERVER_LISTEN_ADDRESS=
`: Set this to the address on which + the MCP server listens (binds to). To accept connections from any address, use + `0.0.0.0` (use caution in untrusted networks). * `PENPOT_MCP_SERVER_ADDRESS=