Feature Request: Enable MCP and Access Tokens flags in Penpot (or expose EXTRA_PENPOT_FLAGS)
-
Hi everyone,
I am trying to set up the new official Penpot MCP (Model Context Protocol) server to integrate my self-hosted Penpot instance with local AI coding clients like Cursor and Claude Desktop.
Currently, this is impossible on the Cloudron deployment because the necessary UI elements ("Integrations" and "Access Tokens" in the account settings) are hidden behind Penpot feature flags that are not enabled in the Cloudron package.
Because Cloudron dynamically constructs PENPOT_FLAGS on startup, manually editing env.sh to add these flags gets ignored/overwritten.
Could we get one of the following implemented in the next package update?
Option A (Ideal): Enable the enable-mcp and enable-access-tokens flags by default in the app's startup script, as these are becoming standard features for modern AI workflows.
Option B (Flexible): Expose an EXTRA_PENPOT_FLAGS variable in env.sh that gets appended to the main string on startup. This would allow advanced users to opt-in to new Penpot backend features without waiting for package updates.
Thanks for maintaining this package! Let me know if there is a temporary workaround I can use in the meantime.
-
I created a /app/data/env.sh file and tried adding the following line:
export PENPOT_FLAGS="enable-registration enable-login-with-password enable-access-tokens enable-mcp"After saving the file and completely restarting the app via the Cloudron dashboard, the "Integrations" and "Access Tokens" UI elements still do not appear in the Penpot account settings.
My assumption was that the Cloudron deployment's internal startup script dynamically generates or overrides the PENPOT_FLAGS variable (perhaps to ensure SMTP or OIDC settings stay intact) and is ignoring the manual export in env.sh.
If there is a specific syntax I should be using in env.sh to append custom flags without them getting overwritten by the system, please let me know! Otherwise, having a supported way to inject flags like EXTRA_PENPOT_FLAGS would be really helpful.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login