Butterbase MCP server for AI agents

Live

BEARER TOKEN

BACKEND PLATFORM

Developer Tools

Butterbase MCP gives your agent backend app management in your Butterbase account: create apps, query and insert rows, deploy and invoke functions, manage schemas, storage, and auth, and run previews.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Butterbase MCP
agent · Acme Q3
Run
Show the first 10 rows from the orders table in my storefront app.
S
butterbasemcp_select_rows
305ms
Backend agent
Returned the first 10 rows from the orders table in the storefront app.
Sources: Butterbase app, 1 table
butterbasemcp
10 rows
18:29
Message Claude...

Tools your backend platform agent reaches for on Butterbase, scoped per user.

CALL ANY TOOL
40 tools for backend platform in Butterbase: create apps, select and insert rows, deploy and invoke functions, manage schemas, storage, auth, and RAG collections, and run preview deployments.
butterbasemcp_butterbase_docs
Butterbase docs
Read comprehensive Butterbase documentation (local, no API calls). Available topics: - all: Complete documentation (default) - overview: Platform introduction and key features - mcp: MCP tool reference and examples - rest: HTTP data API (auto-generated REST endpoints) - auth: End-user authentication (OAuth, JWT) - storage: File upload/download with S3 - functions: Serverless functions (triggers, context) - frontend: Static frontend deployment (upload zip, deploy to live URL) - ai: AI model gateway (chat completions, BYOK, usage) - meetings: Meeting bots that join Zoom/Meet/Teams/Webex calls and return recordings + transcripts - billing: Your Butterbase plan, usage meters, app-level Stripe Connect (subscriptions and one-time payments) - platform: MCP over HTTP, /llms.txt, subdomains, suggestions, rate limits - regions: Choosing a region at app creation, moving apps between regions, discovering the live region list - schema: Schema DSL reference (types, indexes, constraints) - sdk: TypeScript SDK installation, client setup, query builder, auth, storage, functions - cli: CLI installation, commands for apps, schema, functions, storage, config - integrations: Third-party integrations (OAuth connect flow, tool execution, SDK, CLI) - substrate: Per-user memory + action coordination plane for AI agents (entities, decisions, attention rules, action ledger, outbox, ws stream, ctx.substrate inside functions) - office: Organization Ask, conversations, decisions, browser confirmation and native business memory across MCP/CLI/SDK Example: Input: { topic: "auth" } Output: Full authentication documentation with OAuth setup, JWT handling, etc. Don't know the topic slug? Pass a freeform { query: "..." } instead and the tool returns the best-matching section plus an index of related topics: Input: { query: "how do I send email" } Output: Ranked topic index + the full text of the top-matching section. Use this to: - Learn Butterbase features and APIs - Get code examples for common tasks - Reference schema DSL syntax - Understand authentication flow - Learn about app monetization (subscriptions and one-time purchases) Note: This is a local documentation tool. No network requests are made. Idempotency: Safe to call anytime (read-only operation).
Parameters
Name
Type
Required
Description
query
string
Optional
Freeform search across all docs. When provided (and no topic is given), returns the best-matching section plus a ranked index of related topics. Use when you do not know the exact topic slug.
topic
string
Optional
Section to return: all (default), overview, mcp, rest, auth, storage, functions, frontend, ai, meetings, billing, platform, regions, schema, sdk, cli, realtime, rag, integrations, substrate, office. One of: `all`, `overview`, `mcp`, `rest`, `auth`, `storage`, `functions`, `frontend`, `ai`, `meetings`, `billing`, `platform`, `regions`, `schema`, `sdk`, `cli`, `realtime`, `rag`, `integrations`, `substrate`, `office`.
butterbasemcp_create_frontend_deployment
Create frontend deployment
butterbasemcp_deploy_function
Deploy function
butterbasemcp_init_app
Init app
butterbasemcp_invoke_function
Invoke function
butterbasemcp_list_regions
List regions
butterbasemcp_manage_agents
Manage agents
butterbasemcp_manage_ai
Manage ai
butterbasemcp_manage_app
Manage app
butterbasemcp_manage_auth_config
Manage auth config
butterbasemcp_manage_billing
Manage billing
butterbasemcp_manage_durable_objects
Manage durable objects
butterbasemcp_manage_edge_ssr
Manage edge ssr
butterbasemcp_manage_function
Manage function
butterbasemcp_manage_integrations
Manage integrations
butterbasemcp_manage_migrations
Manage migrations
butterbasemcp_manage_oauth
Manage oauth
butterbasemcp_manage_office
Manage office
butterbasemcp_manage_people
Manage people
butterbasemcp_manage_preview
Preview manage
butterbasemcp_manage_rag_content
Manage rag content
butterbasemcp_manage_repo
Manage repo
butterbasemcp_manage_rls
Manage rls
butterbasemcp_manage_storage
Manage storage
butterbasemcp_manage_substrate
Manage substrate
butterbasemcp_prep_and_submit_hackathon_entry
Prep and submit hackathon entry
butterbasemcp_query_audit_logs
Query audit logs
butterbasemcp_rag_query
Query rag
butterbasemcp_seed_database
Seed database
butterbasemcp_select_rows
Select rows

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Butterbase tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["butterbasemcp"], toolNames: [
    "butterbasemcp_init_app",
    "butterbasemcp_select_rows",
    "butterbasemcp_deploy_function"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Create a new app, select rows from the orders table, and deploy the order-notification function" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["butterbasemcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Create a new app, select rows from the orders table, and deploy the order-notification function" }],
  tools,
});

// Execute the tool call with the user's vaulted Butterbase access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["butterbasemcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Create a new app, select rows from the orders table, and deploy the order-notification function" }],
  tools,
});

// Tool call runs with the user's vaulted Butterbase access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["butterbasemcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "backend_agent",
  model: "gemini-2.5-pro",
  instruction: "Butterbase tools scoped to this user",
  tools,
});

await agent.run("Create a new app, select rows from the orders table, and deploy the order-notification function");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Butterbase MCP tool. Click to copy, paste into your agent, done.
Apps and data
Copy the prompt
Copied
List the regions I can create an app in.
Copy the prompt
Copied
Select rows from the orders table.
Copy the prompt
Copied
Insert a row into the customers table.
Functions and deploys
Copy the prompt
Copied
Deploy this serverless function.
Copy the prompt
Copied
Invoke the send-welcome-email function.
Copy the prompt
Copied
Create a preview deployment of my app.
Schema, auth, and logs
Copy the prompt
Copied
Show the current database schema.
Copy the prompt
Copied
List the end users of this app.
Copy the prompt
Copied
Query the audit logs for this app.
SEE HOW AUTH WORKS
Each user connects their own Butterbase access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Butterbase MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Butterbase MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Butterbase MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Butterbase MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other developer tools connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Engineering Teams
Engineering standup agent
Pulls commits from GitHub and GitLab, tracks issue movement in Jira, and posts a per-engineer standup brief to Slack. Each engineer's activity is read on their own delegated OAuth.
Test other agents
See the same per-user auth pattern across other developer tools connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
ENGINEERING
Engineering standup agent
Pull commits from GitHub and GitLab, track Jira issue movement, and post a per-engineer standup brief to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Butterbase access token looks fine in a demo. In production every row insert and deploy looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Butterbase today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Butterbase as the user or through a shared token?
As the user. Each user connects their own Butterbase access token once, and Scalekit sends it with every call. Audit logs attribute every data change and deployment to that user, not a shared service account.
Where is the Butterbase access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Butterbase?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example butterbasemcp_select_rows, butterbasemcp_rag_query, and butterbasemcp_query_audit_logs without butterbasemcp_promote_preview or butterbasemcp_manage_app. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Butterbase access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
What do the Butterbase manage tools cover?
Most of the 40 tools are manage tools that take an action, such as butterbasemcp_manage_schema, butterbasemcp_manage_storage, butterbasemcp_manage_auth_users, and butterbasemcp_manage_billing. Because one tool covers several actions, scope by tool name and leave out the ones you do not want the agent to use.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""butterbasemcp"": {
""url"": ""https://mcp.scalekit.com/butterbasemcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.butterbasemcp]
url = ""https://mcp.scalekit.com/butterbasemcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""butterbasemcp"": {
""url"": ""https://mcp.scalekit.com/butterbasemcp"",
""type"": ""http""
}
}
}