How to integrate Bubble MCP with Atomic Agent

Connect Atomic Agent to Bubble MCP. Create a new user in your bubble app, update a record in the bubble database, and more using natural language, with authentication handled for you.

Bubble logoBubble
Api Key

Bubble is a visual programming platform for building web apps without code. It empowers anyone to create, launch, and scale interactive applications quickly.

15 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Bubble.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Bubble account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Bubble with

How Atomic Agent connects to Bubble

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Bubble to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Bubble. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Bubble account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Bubble MCP server, and what's possible with it?

The Bubble MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Bubble applications. It provides structured and secure access to your Bubble backend, so your agent can perform actions like creating and updating database entries, running workflows, fetching app data, and managing users on your behalf.

  • Automated database management: Your agent can create, update, or delete entries in your Bubble app’s database, streamlining data operations without manual input.
  • Workflow execution: Let your agent trigger workflows inside your Bubble app to automate complex business processes based on real-time prompts or events.
  • Dynamic data queries: Effortlessly ask your agent to fetch, filter, or search records from any data type within your Bubble app and return structured results.
  • User account administration: Enable your agent to create, update, or manage user profiles, permissions, and authentication flows directly in your Bubble environment.
  • App configuration and resource management: Allow your agent to adjust application settings, manage resources, or monitor usage metrics—keeping your Bubble project running smoothly.

Use Bubble from Atomic Agent

With your account connected, ask Atomic Agent to work with Bubble in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Bubble action and event your agent gets out of the box.

Bulk Create Things

Bulk create up to 1,000 Bubble Things via newline-separated JSON, with Create via API permission.

Create Thing

Tool to create a new Thing.

Delete Thing By ID

Tool to delete a Bubble Thing by its unique ID.

Get Thing By ID

Retrieve a Bubble Thing by data type and unique ID.

Patch Thing By ID

Tool to modify selected fields on a Thing by its unique ID.

Replace Thing by ID

Replace all editable fields on a Bubble Thing by its unique ID.

Download File

Tool to download a file given its URL.

Create Temp File

Upload base64-encoded or plain-text content as a temporary file and return its storage key, name, and MIME type.

Upload File

Upload a file to a Bubble app's storage.

Get Bubble API Swagger JSON

Tool to retrieve the auto-generated Swagger JSON for enabled APIs.

Get OAuth Access Token

Tool to exchange an authorization code or refresh token for an OAuth2 access token.

OAuth Authorize

Initiate OAuth authorization with a GET request and return the redirect location, or the request URL if no redirect is supplied.

Bubble OAuth Register App

Send an OAuth authorization request using the supplied client ID and redirect URI, and return the supplied credentials, HTTP status and any redirect location.

Trigger Bubble Workflow via GET

Trigger a Bubble API workflow using an HTTP GET request.

Trigger Bubble Workflow via POST

Triggers a Bubble API workflow by name using a POST request.

FAQ

Frequently asked questions

Start with Bubble.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Bubble tool your agent needs.Free to start.

Start building