You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`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) |
220
+
193
221
## Beyond Local Execution
194
222
195
223
The above instructions describe how to run the MCP server and plugin server locally.
196
224
We are working on enabling remote deployments of the MCP server, particularly
197
225
in [multi-user mode](docs/multi-user-mode.md), where multiple Penpot users will
198
226
be able to connect to the same MCP server instance.
227
+
228
+
To run the server remotely (even for a single user),
229
+
you may set the following environment variables to configure the two servers
230
+
(MCP server & plugin server) appropriately:
231
+
*`PENPOT_MCP_REMOTE_MODE=true`: This ensures that the MCP server is operating
232
+
in remote mode, with local file system access disabled.
233
+
*`PENPOT_MCP_SERVER_ADDRESS=<your-address>`: This sets the hostname or IP address
234
+
where the MCP server can be reached. The Penpot MCP Plugin uses this to construct
235
+
the WebSocket URL as `ws://<your-address>:<port>` (default port: `4402`).
236
+
*`PENPOT_MCP_PLUGIN_SERVER_LISTEN_ADDRESS`: Set this to the address (or a
237
+
comma-separated list of addresses) on which the plugin web server listens.
238
+
To accept connections from any address, use `0.0.0.0` (use caution in
0 commit comments