
Butterbase MCP Server: Setup for Claude Code, Cursor and Other Apps
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.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install butterbase MCP
Claude Code
- 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
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_docsCreates 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_appLists 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_regionsLists, 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_appMoves 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_appChecks on a region move
Returns the progress of a move you started.
Try: “How is the move of my app going?”
Network ·
move_app_statusRemoves 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_replicaInspects, 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_migrationsReads 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_schemaReads rows from a table
Queries a table with filters, sorting and paging.
Try: “Show the 20 newest rows in the orders table.”
Network ·
select_rowsAdds one row to a table
Inserts a single row into a table of your app.
Try: “Add a todo called "buy milk".”
Write ·
insert_rowAdds 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_databaseControls row-level security on tables
Turns row-level security on, creates, updates and lists policies, and can delete one policy or all on a table.
Try: “Make each user see only their own notes.”
Delete ·
manage_rlsSets up social sign-in providers
Adds, reads, changes or removes providers such as Google for your app's users.
Try: “Configure Google sign-in for my app.”
Delete ·
manage_oauthSets sign-in token lifetimes, hooks and service keys
Changes access and refresh token lifetimes, sets a function to run after sign-in, and generates a service API key.
Try: “Make access tokens last 30 minutes.”
Write ·
manage_auth_configLists or deletes your app's end users
Lists the people who signed up to your app, or deletes one by ID.
Try: “List the latest users of my app.”
Delete ·
manage_auth_usersLists or revokes platform API keys
Shows your keys by prefix and revokes one by ID.
Try: “Revoke the key I used for the demo.”
Delete ·
manage_api_keysSearches audit logs
Searches auth, admin and function audit logs.
Try: “Show failed sign-ins from the last day.”
Network ·
query_audit_logsHandles file uploads and downloads
Returns signed upload and download links, lists and deletes files, and sets storage config.
Try: “Give me an upload link for logo.png.”
Delete ·
manage_storageReads and writes the app's key-value store
Sets exposure rules and reads, writes, scans and counts keys. It can also flush every key in the store, which needs a confirm flag.
Try: “Show how many keys the KV store holds.”
Delete ·
manage_kvDeploys a serverless function
Uploads function code to your app and returns its address.
Try: “Deploy a function that sends a welcome email.”
Write ·
deploy_functionCalls a deployed function
Runs a function with the method and body you give and returns the full response.
Try: “Call submit-inquiry with a test message.”
Runs code ·
invoke_functionLists, deletes and debugs functions
Lists functions, reads recent logs, updates environment variables and permanently deletes a function.
Try: “Show the last 50 log lines of submit-inquiry.”
Delete ·
manage_functionDeploys a static website
Starts a deployment of your front-end files to a live address.
Try: “Deploy my built site to Butterbase.”
Write ·
create_frontend_deploymentManages frontend deployments and domains
Starts and lists deployments, sets environment values and configures a custom domain.
Try: “Point my site at www.example.com.”
Write ·
manage_frontendManages edge-rendered sites
Controls server-side rendered frontends that run at the edge.
Try: “List my edge-rendered deployments.”
Write ·
manage_edge_ssrStores and fetches your app's code snapshots
Pushes small sets of files (up to about 1 MB), lists snapshots and fetches the latest manifest. It can also wipe the repo.
Try: “Push these files to my app repo.”
Delete ·
manage_repoManages documents for search
Creates and deletes collections, ingests documents and checks their status.
Try: “Create a collection called handbook and add this PDF.”
Delete ·
manage_rag_contentSearches your ingested documents
Asks a question against a collection and returns the matching passages.
Try: “What does the handbook say about refunds?”
Network ·
rag_queryConfigures live updates
Sets up realtime subscriptions for your app's tables.
Try: “Turn on realtime for the messages table.”
Write ·
manage_realtimeManages per-key stateful actors
Creates and manages Durable Objects, small stateful workers kept per key.
Try: “List the durable objects in my app.”
Write ·
manage_durable_objectsUses the app's AI gateway
Runs chat and embedding calls, lists models, and reads or changes the gateway config and usage.
Try: “Ask the gateway to summarize this text.”
Write ·
manage_aiConnects third-party services like Gmail or Slack
Enables an integration, lists what is connected, and can run an action on one, such as sending an email.
Try: “Send a Slack message through the connected workspace.”
Write ·
manage_integrationsChecks plan and usage, and adds credit
Shows plan, usage and the monthly spending cap. It can also top up credit and raise the cap, each by an amount in USD cents you give, and open a Stripe billing portal link. The charge lands on the Butterbase account that owns the API key, and the server asks for no confirmation.
Try: “What plan am I on and how much of my monthly spending cap have I used?”
Write ·
manage_billingSends feedback to the Butterbase team
Submits a bug report, feature request or improvement note to the Butterbase team.
Try: “Report that schema apply failed on enum defaults.”
Write ·
submit_suggestionSubmits a project to a Butterbase hackathon
Resolves the hackathon, shows the required fields, then submits your entry.
Try: “Submit my project to the hackathon.”
Write ·
prep_and_submit_hackathon_entry
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 to | Butterbase API (api.butterbase.ai) |
|---|---|
| Sign-in and keys | The API key (starts with bb_sk_) is set in the BUTTERBASE_API_KEY environment variable in your client config. |
| Scopes |
|
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
Sources
Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.
Show all 4Hide
- Butterbase MCP setup · github.com
- @butterbase/mcp README · github.com
- Butterbase MCP tools reference · github.com
- @butterbase/mcp on npm · npmjs.com