diff --git a/mcp/packages/server/src/PenpotMcpServer.ts b/mcp/packages/server/src/PenpotMcpServer.ts index 6bd3ca33e55..ec1f5ee19b2 100644 --- a/mcp/packages/server/src/PenpotMcpServer.ts +++ b/mcp/packages/server/src/PenpotMcpServer.ts @@ -224,6 +224,17 @@ export class PenpotMcpServer { } private setupHttpEndpoints(): void { + /** + * Health check endpoint used by Docker/orchestration to determine liveness. + * + * Intentionally cheap: it does not exercise any downstream dependencies + * (Penpot API, plugin bridge, etc.), it simply confirms that the HTTP + * server is up and able to respond. + */ + this.app.get("/healthz", (_req: any, res: any) => { + res.status(200).json({ status: "ok" }); + }); + /** * Modern Streamable HTTP connection endpoint. *