mcp
MCP server by butterbase-ai Community
Butterbase MCP server lets AI assistants manage a Butterbase backend through MCP tools. It covers schemas, auth, functions, storage, RAG and deploys. It is for developers building AI-driven apps who want agents to operate their backend.
Install mcp
Built from the published package, never by AI.
claude mcp add mcp -e BUTTERBASE_API_KEY=YOUR_BUTTERBASE_API_KEY -- npx -y @butterbase/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp": {
"env": {
"BUTTERBASE_API_KEY": "YOUR_BUTTERBASE_API_KEY"
},
"args": [
"-y",
"@butterbase/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp": {
"env": {
"BUTTERBASE_API_KEY": "YOUR_BUTTERBASE_API_KEY"
},
"args": [
"-y",
"@butterbase/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp": {
"env": {
"BUTTERBASE_API_KEY": "YOUR_BUTTERBASE_API_KEY"
},
"args": [
"-y",
"@butterbase/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp --env BUTTERBASE_API_KEY=YOUR_BUTTERBASE_API_KEY -- npx -y @butterbase/mcp{
"mcpServers": {
"mcp": {
"env": {
"BUTTERBASE_API_KEY": "YOUR_BUTTERBASE_API_KEY"
},
"args": [
"-y",
"@butterbase/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp npx -y @butterbase/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp block.
About
The Butterbase MCP server exposes the platform's capabilities as MCP tools, so an AI agent can operate a backend without custom glue code. The source says every capability is available as MCP tools at /mcp over HTTP, or through stdio with npx @butterbase/mcp. The underlying backend is a Postgres-backed platform with row-level security, serverless functions, an LLM gateway, realtime subscriptions, file storage, RAG and durable per-key actors.
The project is open source under Apache 2.0, and the runtime data plane is in the repository. It can be self-hosted with Docker Compose. The managed cloud at butterbase.ai runs the same data plane with a free tier to start. The source also describes a Claude Code plugin with guided skills for building apps. It is aimed at developers and agent builders who want an assistant to create and manage backend resources.
Written from the project's README and checked against it.
Tools it gives your assistant
manage_officeOptional tool for managed-cloud Office clients, using an explicit organization and platform credential.butterbase_docsTool that returns Butterbase documentation by topic, such as the office topic.
What you need
- Node.js 22 or later and npm, for running the MCP server via npx
- Docker, for self-hosting the full stack
- A Butterbase account at butterbase.ai, for managed cloud features
| Setting | Needed | What it is |
|---|---|---|
BUTTERBASE_Environment variable, secret | Required | Butterbase API key (bb_sk_...). Create one at https://butterbase.ai. |
AuthorizationHeader, secret | Required | Bearer <BUTTERBASE_API_KEY> |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use Butterbase to create a Postgres table with row-level security for my app.
- Deploy a serverless function on my Butterbase app that handles sign-up events.
- Set up a RAG collection in Butterbase from my help center pages.
Good to know
- Managed-cloud Office features need an explicit organization and platform credential.
- The OSS-only MCP server can run without the Office overlay.
- Self-hosted setups use a no-op billing provider and unlimited quotas, according to the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
mcp: common questions
Is Butterbase MCP server open source?
Yes. The source states the repository is licensed under Apache 2.0 and includes the full runtime data plane, with no feature-gated community edition.
Can the MCP server run without the managed cloud?
The source says OSS-only MCP can run without the Office overlay. The self-hosted stack is also available with Docker Compose.
How does an assistant connect to the Butterbase MCP server?
The source says it is available over HTTP at /mcp on the control API, or via stdio with npx @butterbase/mcp.
How do I install mcp?
In Claude Code run claude mcp add mcp -e BUTTERBASE_API_KEY=YOUR_BUTTERBASE_API_KEY -- npx -y @butterbase/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp the official server?
mcp is a community project by butterbase-ai, not verified by a company domain.
Is mcp free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mcp safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does mcp work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
