Skip to content

Commit 567a331

Browse files
committed
Streamline instructions for remote server configurations
1 parent c40fd3a commit 567a331

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,16 @@ options use the `PENPOT_MCP_` prefix for consistency.
208208

209209
### Logging Configuration
210210

211-
| Environment Variable | Description | Default |
212-
|------------------------|------------------------------------------------------|---------|
213-
| `PENPOT_MCP_LOG_LEVEL` | Log level: `trace`, `debug`, `info`, `warn`, `error` | `info` |
214-
| `PENPOT_MCP_LOG_DIR` | Directory for log files | `logs` |
211+
| Environment Variable | Description | Default |
212+
|------------------------|------------------------------------------------------|----------|
213+
| `PENPOT_MCP_LOG_LEVEL` | Log level: `trace`, `debug`, `info`, `warn`, `error` | `info` |
214+
| `PENPOT_MCP_LOG_DIR` | Directory for log files | `logs` |
215215

216216
### Plugin Server Configuration
217217

218-
| Environment Variable | Description | Default |
219-
|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
220-
| `PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS` | Address on which the plugin web server listens. Can be a single address or a comma-separated list. For example, use `0.0.0.0` to accept connections from any address (use caution in untrusted networks). | (local only) |
218+
| Environment Variable | Description | Default |
219+
|-------------------------------------------|-----------------------------------------------------------------------------------------|--------------|
220+
| `PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS` | Address on which the plugin web server listens (single address or comma-separated list) | (local only) |
221221

222222
## Beyond Local Execution
223223

@@ -231,13 +231,9 @@ you may set the following environment variables to configure the two servers
231231
(MCP server & plugin server) appropriately:
232232
* `PENPOT_MCP_REMOTE_MODE=true`: This ensures that the MCP server is operating
233233
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).
234+
* `PENPOT_MCP_SERVER_LISTEN_ADDRESS` and `PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS`:
235+
Set these according to your requirements for remote connectivity.
236+
To bind all interfaces, use `0.0.0.0` (use caution in untrusted networks).
237237
* `PENPOT_MCP_SERVER_ADDRESS=<your-address>`: This sets the hostname or IP address
238238
where the MCP server can be reached. The Penpot MCP Plugin uses this to construct
239239
the WebSocket URL as `ws://<your-address>:<port>` (default port: `4402`).
240-
* `PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS`: Set this to the address (or a
241-
comma-separated list of addresses) on which the plugin web server listens.
242-
To accept connections from any address, use `0.0.0.0` (use caution in
243-
untrusted networks).

0 commit comments

Comments
 (0)