🐛 Fix regression on mcp server listen port

This commit is contained in:
Andrey Antukh
2026-03-26 11:54:58 +01:00
committed by Alonso Torres
parent 5ae4b21046
commit 448d85febb
5 changed files with 10 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ EMSDK_QUIET=1 . /opt/emsdk/emsdk_env.sh;
export PATH="/home/penpot/.cargo/bin:/opt/jdk/bin:/opt/utils/bin:/opt/clojure/bin:/opt/node/bin:/opt/imagick/bin:/opt/cargo/bin:$PATH"
export CARGO_HOME="/home/penpot/.cargo"
export PENPOT_MCP_PLUGIN_SERVER_HOST=0.0.0.0
export PENPOT_MCP_SERVER_HOST=0.0.0.0
alias l='ls --color -GFlh'
alias ll='ls --color -GFlh'
alias rm='rm -rf'

View File

@@ -5,7 +5,8 @@ ENV LANG=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
NODE_VERSION=v22.21.1 \
DEBIAN_FRONTEND=noninteractive \
PATH=/opt/node/bin:$PATH
PATH=/opt/node/bin:$PATH \
PENPOT_MCP_SERVER_HOST=0.0.0.0
RUN set -ex; \
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \

View File

@@ -4,7 +4,7 @@
"version": "1.0.0",
"type": "module",
"scripts": {
"start": "cross-env PENPOT_MCP_PLUGIN_SERVER_HOST=0.0.0.0 vite build --watch --config vite.config.ts",
"start": "vite build --watch --config vite.config.ts",
"start:multi-user": "pnpm run start",
"build": "tsc && vite build --config vite.release.config.ts",
"types:check": "tsc --noEmit",

View File

@@ -38,6 +38,7 @@
"zod": "^4.3.6"
},
"devDependencies": {
"cross-env": "^7.0.3",
"@penpot/mcp-common": "workspace:../common",
"@types/express": "^4.17.0",
"@types/js-yaml": "^4.0.9",

3
mcp/pnpm-lock.yaml generated
View File

@@ -97,6 +97,9 @@ importers:
'@types/ws':
specifier: ^8.5.10
version: 8.18.1
cross-env:
specifier: ^7.0.3
version: 7.0.3
esbuild:
specifier: ^0.25.0
version: 0.25.12