Bubble MCP security: 5 questions the manual doesn't answer for me

  1. Data-type access. The manual says an admin can give the AI tool access to specific data types, and “Data types without access stay out of reach.”

    Q: Does this setting apply to dev and live separately? Does it only limit the record tools (search_things, get_thing), or also data shown in previews and expressions?

  2. Login tokens. The get_app_user_impersonation_token description reads “Mint a temporary session token for an app User record”. With runAsAppUserId, get_preview_link returns a URL that contains “a single-use login token”.

    Q: How long do these stay valid? Can they be revoked?

  3. Secrets. For API Connector headers and parameters, “Private” means “Store the key and value securely and redact them from responses.”

    Q: Can get_node read values that aren’t marked Private? What about keys in plugin settings?

  4. Audit log. “The MCP server acts as your logged in Bubble account user.”

    Q: Is there a log of MCP calls (who, which tool, which version) that an admin can review, including reads?

  5. Sign-in scope. “Your permissions apply. If you’re a collaborator on an app, the AI tool has the same access you do.”

    Q: Can I limit the MCP sign-in to one app, or to read-only?

For context, here’s how my current MCP setup works: How I set up Bubble's official MCP so AI can't touch live data (with GDPR in mind)

  1. Sorry about the miscommunication here. The agent only has access to what its running user does. If certain collaborators don’t have data access in Bubble, then the MCP will not have that access. This is surrounding general data access, not specific data types. Docs have been corrected.
  2. When the AI gives you a preview link that runs as a specific user, it works just like starting preview from the editor. The link stays valid for an hour. Whoever clicks that link, within an hour, will be able to open the link. Once they open it, they have access to that preview for one day. There is no way to revoke it. The older get-token feature you may have seen was just deprecated and we are removing!
  3. Values you haven’t marked Private aren’t secret. so it can see those. It can’t read anything stored securely, including Private API Connector values and plugin keys. To keep something hidden, mark it Private.
  4. We are adjusting the changelog to better communicate which users did what with the MCP but this wouldn’t include reads. I’d recommend a workspace account for that on your agent of choice so you can monitor prompting there.
  5. Not yet, but we’re looking into adding that with per-app configuration!