Enable MCP server on-premise
Enable the MCP endpoint on your UI Bakery on-premise instance.
See the MCP server guide for connection instructions and supported capabilities.
Before you begin
You need access to the UI Bakery deployment configuration and its
.envfile.The instance must be reachable through its public HTTPS URL.
UI_BAKERY_APP_SERVER_NAMEmust match the externally reachable host. This ensures OAuth redirects use the correct URL.
Enable the MCP server
Generate a cryptographically secure random secret. Use at least 32 random bytes.
openssl rand -hex 32Add the following line to the UI Bakery
.envfile.UI_BAKERY_JWT_MCP_SECRET=<generated-value>Restart UI Bakery using the existing Updating environment variables procedure.
Configure MCP clients with this remote Streamable HTTP endpoint:
https://<your-ui-bakery-instance>/api/mcpFollow the general MCP server guide to connect Codex, Claude Code, Cursor, or another MCP-compatible client.
Related documentation
Last updated
Was this helpful?