2026-04-04 12:53:27 +01:00
|
|
|
# Penpot MCP server — bridges AI clients to Penpot via the MCP plugin.
|
|
|
|
|
# Port 4401: HTTP/SSE for MCP clients (Claude, etc.)
|
|
|
|
|
# Port 4402: WebSocket for the Penpot browser plugin
|
|
|
|
|
---
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: penpot-mcp
|
|
|
|
|
namespace: devtools
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: penpot-mcp
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: penpot-mcp
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: penpot-mcp
|
|
|
|
|
image: src.sunbeam.pt/studio/penpot-mcp:latest
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
containerPort: 4401
|
|
|
|
|
- name: ws
|
|
|
|
|
containerPort: 4402
|
2026-04-04 15:37:45 +01:00
|
|
|
- name: plugin
|
|
|
|
|
containerPort: 4400
|
2026-04-04 12:53:27 +01:00
|
|
|
env:
|
|
|
|
|
- name: PENPOT_MCP_REMOTE_MODE
|
|
|
|
|
value: "true"
|
|
|
|
|
- name: PENPOT_MCP_SERVER_HOST
|
|
|
|
|
value: "0.0.0.0"
|
|
|
|
|
- name: PENPOT_MCP_SERVER_ADDRESS
|
|
|
|
|
value: "mcp-designer.DOMAIN_SUFFIX"
|
2026-04-04 15:37:45 +01:00
|
|
|
- name: WS_URI
|
|
|
|
|
value: "wss://mcp-designer.DOMAIN_SUFFIX/ws"
|
|
|
|
|
- name: PENPOT_MCP_PLUGIN_SERVER_HOST
|
|
|
|
|
value: "0.0.0.0"
|
2026-04-04 12:53:27 +01:00
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 50m
|
|
|
|
|
memory: 64Mi
|
|
|
|
|
limits:
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
|
|
|
|
name: penpot-mcp
|
|
|
|
|
namespace: devtools
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
app: penpot-mcp
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
|
|
|
|
port: 4401
|
|
|
|
|
targetPort: http
|
|
|
|
|
- name: ws
|
|
|
|
|
port: 4402
|
|
|
|
|
targetPort: ws
|
2026-04-04 15:37:45 +01:00
|
|
|
- name: plugin
|
|
|
|
|
port: 4400
|
|
|
|
|
targetPort: plugin
|