PlugWiki
butterbase logo

Butterbase MCP Server: Setup for Claude Code, Cursor and Other Apps

OfficialLocal
Gethttps://api.butterbase.ai/mcpbutterbase-ai/butterbase

Lets Claude, Cursor and other assistants create and run a Butterbase backend: database, sign-in, functions, storage and deploys.

Butterbase is a backend service with a database per app, user sign-in, file storage, serverless functions, search over documents and an AI gateway. This is its own MCP server, so your assistant can set those up for you from chat.

It needs a Butterbase API key. You can run it locally with npx, and the docs also describe a hosted address that takes the key as a Bearer header.

It can delete apps, users and data, and it can add credit to your account, so use a key you are comfortable handing to an assistant.

Good for

  • Developers building an app on Butterbase who want the assistant to set up the backend
  • Solo founders going from idea to deployed app inside Claude Code
  • Teams that want schema, auth and deploys done by prompt

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install butterbase MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the butterbase MCP server to Claude Code. Run this command:
    
    claude mcp add butterbase -e BUTTERBASE_API_KEY=<BUTTERBASE_API_KEY> -- npx -y @butterbase/mcp
    
    Ask me for BUTTERBASE_API_KEY and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Two ways to connect. The local npx server (default) runs on your machine and reads BUTTERBASE_API_KEY. The hosted endpoint https://api.butterbase.ai/mcp takes the same key as an Authorization: Bearer header; Butterbase documents the hosted config for Claude Code, Cursor, Windsurf and 'any MCP-compatible editor'. Configs for other clients are adapted by us from that documented URL and header and are not documented by Butterbase. Keys start with bb_sk_ and come from butterbase.ai.

Built from the package data we hold. Not yet tested by us.

Tools

  • Reads the Butterbase documentation

    Returns built-in docs on a topic such as auth, storage, functions or billing. It runs locally and makes no API call.

    Try: “Show me the Butterbase docs on storage.”

    Read · butterbase_docs

  • Creates a new Butterbase backend app

    Creates an app with its own database and returns its ID and API address. You can pick a region.

    Try: “Create a new Butterbase app called todo-list.”

    Write · init_app

  • Lists regions an app can live in

    Shows the regions you can create or move an app to.

    Try: “Which regions can I use for a new app?”

    Network · list_regions

  • Lists, configures, pauses, clones or deletes apps

    Covers app settings such as CORS, access mode, visibility and environment variables. It can also pause an app, clone a template and permanently delete an app.

    Try: “List my apps and pause the staging one.”

    Delete · manage_app

  • Moves an app to another region

    Checks the app is eligible, then queues a migration to the region you name.

    Try: “Move my app to eu-central-1.”

    Write · move_app

  • Checks on a region move

    Returns the progress of a move you started.

    Try: “How is the move of my app going?”

    Network · move_app_status

  • Removes the old copy after a move

    Decommissions the source-region copy kept after a completed move.

    Try: “Clean up the old replica after the move finished.”

    Delete · teardown_source_replica

  • Inspects, cancels or reverses region moves

    Shows the active move, aborts one before cutover, or rolls a finished one back while the old copy exists.

    Try: “Abort the running migration for my app.”

    Write · manage_migrations

  • Reads and changes your database schema

    Reads the schema, previews the SQL a change would run, applies a schema, and lists past changes.

    Try: “Preview adding a published column to posts, then apply it.”

    Write · manage_schema

  • Reads rows from a table

    Queries a table with filters, sorting and paging.

    Try: “Show the 20 newest rows in the orders table.”

    Network · select_rows

  • Adds one row to a table

    Inserts a single row into a table of your app.

    Try: “Add a todo called "buy milk".”

    Write · insert_row

  • Adds many rows at once

    Inserts up to 100 rows across tables in one call. The docs say it bypasses row-level security.

    Try: “Seed the products table with ten sample items.”

    Write · seed_database

Read from the source code

Permissions

high risk · 4 things to watch

High risk

By default it can create and permanently delete apps, users, functions and stored data, and it can top up account credit. Use an API key on a test account first and watch each call that deletes or spends.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It can permanently delete apps and data

    Tools can delete apps, users, functions, stored files and every key in the key-value store. The docs call app and function deletion irreversible. github.com

  • It can add credit and raise spending caps

    manage_billing can top up your prepaid balance (topup) and raise the monthly spending cap (cap_raise) by any positive amount in cents. The money comes from the Butterbase account that owns the key, so you pay. The server code sends the call straight to Butterbase with no confirmation step and sets no limit of its own, so the only ceiling is your account. Use a key from an account you are happy to have an assistant spend from. github.com

  • It can send messages through connected apps

    Once you connect Gmail or Slack, the integration tool can send email or messages as you. github.com

  • Seeding bypasses row-level security

    The bulk insert tool writes with a platform role, so it ignores your row-level rules. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Talks toButterbase API (api.butterbase.ai)
Sign-in and keysThe API key (starts with bb_sk_) is set in the BUTTERBASE_API_KEY environment variable in your client config.
Scopes
  • Whatever your Butterbase API key allows

Questions

Is the Butterbase MCP server official?

Yes. The package README calls it the official server for Butterbase, and it comes from the Butterbase repo.

Do I need an API key?

Yes. Get a key that starts with bb_sk_ from Butterbase and put it in BUTTERBASE_API_KEY, as the install box shows.

Is there a hosted version?

Yes. The README and setup docs list https://api.butterbase.ai/mcp and say to send the key in an Authorization: Bearer header. The install box shows it next to the local npx setup for every client; Butterbase documents the hosted config for Claude Code, Cursor and Windsurf only, so the others are adapted by us.

Can it delete my data?

Yes. It can delete apps, users, functions, files and key-value data. There is no read-only mode.

Can the assistant spend my money through it?

Yes. The manage_billing tool can top up credit and raise your monthly spending cap, and it does not ask for confirmation. The charge goes to the Butterbase account that owns the API key. Use a key from an account where that is acceptable, and review billing calls before approving them.

Is Butterbase free and open source?

The code is Apache 2.0 licensed and can be self-hosted with Docker Compose. A managed cloud also exists; check Butterbase for its plans and prices.

Is the tool list complete?

No. It covers the 36 tools registered by the published npm package. The current repo and the hosted service add more, such as agents, previews and office tools.

Information

updated Nov 2, 2026

Publisher
Official
Package
@butterbase/mcp
Registry
npm
Endpoint
https://api.butterbase.ai/mcp
Transport
stdio, Streamable HTTP
Auth
API key
Version
1.0.0
License
Apache-2.0
Last commit
Oct 31, 2026
Open issues
8
Listed in
Official MCP registry

WebsiteGitHubnpmOfficial MCP RegistryIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. Butterbase MCP setup · github.com
  2. @butterbase/mcp README · github.com
  3. Butterbase MCP tools reference · github.com
  4. @butterbase/mcp on npm · npmjs.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.