@@ -197,13 +197,14 @@ options use the `PENPOT_MCP_` prefix for consistency.
197197
198198### Server Configuration
199199
200- | Environment Variable | Description | Default |
201- | -----------------------------| ----------------------------------------------------------------------------| ---------|
202- | ` PENPOT_MCP_SERVER_PORT ` | Port for the HTTP/SSE server | ` 4401 ` |
203- | ` PENPOT_MCP_WEBSOCKET_PORT ` | Port for the WebSocket server (plugin connection) | ` 4402 ` |
204- | ` PENPOT_MCP_REPL_PORT ` | Port for the REPL server (development/debugging) | ` 4403 ` |
205- | ` PENPOT_MCP_SERVER_ADDRESS ` | Hostname or IP address where the MCP server can be reached | ` localhost ` |
206- | ` PENPOT_MCP_REMOTE_MODE ` | Enable remote mode (disables file system access). Set to ` true ` to enable. | ` false ` |
200+ | Environment Variable | Description | Default |
201+ | ------------------------------------| ----------------------------------------------------------------------------| --------------|
202+ | ` PENPOT_MCP_SERVER_LISTEN_ADDRESS ` | Address on which the MCP server listens (binds to) | ` localhost ` |
203+ | ` PENPOT_MCP_SERVER_PORT ` | Port for the HTTP/SSE server | ` 4401 ` |
204+ | ` PENPOT_MCP_WEBSOCKET_PORT ` | Port for the WebSocket server (plugin connection) | ` 4402 ` |
205+ | ` PENPOT_MCP_REPL_PORT ` | Port for the REPL server (development/debugging) | ` 4403 ` |
206+ | ` PENPOT_MCP_SERVER_ADDRESS ` | Hostname or IP address via which clients can reach the MCP server | ` localhost ` |
207+ | ` PENPOT_MCP_REMOTE_MODE ` | Enable remote mode (disables file system access). Set to ` true ` to enable. | ` false ` |
207208
208209### Logging Configuration
209210
@@ -230,6 +231,9 @@ you may set the following environment variables to configure the two servers
230231(MCP server & plugin server) appropriately:
231232 * ` PENPOT_MCP_REMOTE_MODE=true ` : This ensures that the MCP server is operating
232233 in remote mode, with local file system access disabled.
234+ * ` PENPOT_MCP_SERVER_LISTEN_ADDRESS=<address> ` : Set this to the address on which
235+ the MCP server listens (binds to). To accept connections from any address, use
236+ ` 0.0.0.0 ` (use caution in untrusted networks).
233237 * ` PENPOT_MCP_SERVER_ADDRESS=<your-address> ` : This sets the hostname or IP address
234238 where the MCP server can be reached. The Penpot MCP Plugin uses this to construct
235239 the WebSocket URL as ` ws://<your-address>:<port> ` (default port: ` 4402 ` ).
0 commit comments