Skip to content
Skillpedia
βœ“ Official Β· Butterbase● Free and open sourceπŸ’»β˜οΈ Local / RemoteπŸ”‘ Needs an API keyCloud and servers

Butterbase MCP

Lets your AI agent manage a backend: Postgres schemas, auth, functions, storage, RAG and deploys.

3.0k stars on GitHubby ButterbaseLicense Apache-2.0Updated 18 days ago

How to install

This MCP has two ways to run: local or remote.

Pick one below. Local runs on your computer; remote runs in the cloud and needs nothing installed.

Paste in the terminal:

claude mcp add butterbase-ai -e BUTTERBASE_API_KEY="<your value>" -- npx -y @butterbase/mcp

What to fill in

NameWhat it isRequired
BUTTERBASE_API_KEYButterbase API key (bb_sk_...). Create one at https://butterbase.ai.Yes

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Create a table for customers with row-level security.
Deploy a serverless function that sends a welcome email.

What it is

Butterbase is an open-source backend-as-a-service, and its MCP server lets agents operate it with tools. Each app gets its own Postgres database with auth, file storage, serverless functions, realtime, an AI gateway and RAG. You can self-host it with Docker or use the managed cloud at butterbase.ai.

What it can do

  • Postgres schema and migrations with row-level security
  • Auth: email and OAuth, JWT settings and service keys
  • Serverless functions on Deno
  • File storage with presigned URLs
  • AI gateway and RAG collections
  • Realtime subscriptions and key-value store
  • Frontend deploys and custom domains

When to use

  • β€ΊWhen you want an agent to set up a backend for a new app.
  • β€ΊWhen you need a database, auth and storage without writing glue code.
  • β€ΊWhen you want to self-host a backend and let agents run it.

What you need

A Butterbase account at butterbase.ai, or Docker, Node 22+ and npm to self-host. The stdio server runs with npx @butterbase/mcp.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is Apache 2.0 licensed and self-hostable. The managed cloud has a free tier to start.

Do I need an account?

For the managed cloud, yes. You can self-host with Docker instead.

How do I connect an agent?

Use the MCP endpoint at /mcp over HTTP, or the stdio package @butterbase/mcp.

What database does it use?

Real Postgres, with one database per app.

Is there a Claude Code plugin?

Yes. The readme mentions a plugin with 39 skills and 34 slash commands.

What are the self-host limits?

Self-hosting runs the AI gateway without upstream router adapters, uses a no-op billing provider and has unlimited quotas.

If it does not work

  • β€ΊWhen self-hosting, run the database migrations and seed the dev user before using the API.
  • β€ΊClone with --recurse-submodules or run git submodule update --init --recursive.
  • β€ΊCheck that control-api is healthy at /health/ready.

5 new skills a week. 1 minute to read.