Skip to content
For SaaS builders adding MCP

Your app ships with its own MCP server.

One command adds an MCP server with ready tools for workspaces, billing, credits and usage, plus sign-in for agents and the files agents look for.

Make my app agent-ready

What it isBuildBase is one SDK and console for React apps: sign-in, teams, billing and email, plus an MCP server for your app's agents.

Free plan7-day free trial on paid plansNo credit card required
Example: what it writes$ npx @buildbase/sdk init --claim --agent --yes
  • lib/agent.tsThe agent stack: server, sign-in, discovery
  • app/api/mcp/[[...card]]/route.tsYour MCP server and its server card
  • app/.well-known/[...path]/route.tsThe discovery files agents read first
  • app/auth.md/route.tsHow an agent signs in, in plain text
  • app/robots.txt/route.tsOnly if your app serves none
  • app/api/auth/agent-token/route.tsMints the agent's token for a user
  • app/api/auth/agent-revoke/route.tsEnds it when the user disconnects

What an agent-ready app needs

An MCP server is the easy part. Signing agents in as a real user, and being found at all, is where the weeks go.

  • Without it: An MCP server that speaks the current spec

    Already covered: A stateless MCP server for Node and edge, from one config

  • Without it: Tools for your app's accounts and billing

    Already covered: Built-in tools for workspaces, members, plans, invoices, usage, credits and entitlements

  • Without it: Sign-in for agents acting as a user

    Already covered: Agent sign-in with consent and tokens a user can revoke, run by the platform

  • Without it: The files agents look for first

    Already covered: Discovery files, a server card, auth.md and robots, written for you

  • Without it: A way to know it works before launch

    Already covered: An agent-readiness check you run against localhost or your live address

What the built-in tools cover

Your agents get the account and billing side on day one, read-only until you allow more. You add the tools that are your product.

  • Workspaces and members

    List, create and switch workspaces, and see who is in each one.

  • The user's profile

    Read and update the signed-in user, inside the permissions they granted.

  • Subscriptions and invoices

    Plans, the current subscription and its invoices, as the user sees them.

  • Usage, quotas and credits

    Balances, limits and what is left, so an agent can check before it acts.

  • Entitlements and add-ons

    What this workspace may do right now, answered by the same rules as your app.

  • Your own tools beside them

    Add tools with your own schemas. A tool with the same name replaces the built-in one.

Agent-ready in three steps

  1. Run init with --agent

    It writes the MCP route, the discovery files, auth.md and the agent-token routes, and creates a test backend you claim later.

    terminal: initBash
    npx @buildbase/sdk init --claim --agent --yes
  2. Check it like a scanner would

    Run the agent-readiness check against localhost and fix what it flags before you deploy.

    terminal: readiness checkBash
    npx @buildbase/sdk agent-ready check http://localhost:3000
  3. Check it like a client would

    Once deployed, the doctor connects the way Claude or ChatGPT would and lints every tool.

    terminal: agent doctorBash
    npx @buildbase/sdk agent doctor --url https://your-app.com/api/mcp

Built on the backend you already use

  • One server, Node or edge

    A stateless MCP server that runs on Node and edge runtimes, so it fits where your app already runs.

    SDK module
  • Agents sign in as users

    Tools run under the user's own session, so an agent never sees more than that person can.

    Authentication module
  • Scoped to the workspace

    Workspace data and roles apply to every tool call, so nothing leaks between teams.

    Workspaces module
  • Billing an agent can read

    Plans, invoices and limits come from the billing module, so answers match what the app shows.

    Billing module
  • Credits agents respect

    Credit balances and quotas are tools too, so an agent can check a limit before it spends.

    Credits module
  • Roles that reach the agent

    The same roles that hide a button also limit what an agent may call.

    Permissions module

Building the server and agent sign-in yourself

The SDK surface and the sign-in agents need, built with an AI coding agent and kept to the spec, against having them here.

$60/h

Plan

Compared with building these 2 modules yourself with an AI coding agent: SDK, Authentication.

You keep, over 1 year

$4,700

Build it yourself
$5,250
BuildBase
$550

A year of Launch costs the same as 3 h 10 min of your time. See what each plan includes.

Pick your own modules

The server ships in the SDK. The MCP server and its tools ship in the SDK. Sign-in for agents is on the plans that include agent access.

One price for the whole backend

Start on Free, with paid plans from $19/mo. The plans differ in how much you can run and in some of the features they include, and the full comparison lists every one.

  • The 6 core modules on every plan, with higher limits and more features as you move up.
  • A Free plan at $0 that stops at its allowance and never bills.
  • Paid plans start with a 7-day free trial, no credit card.
  • Users, emails and webhook deliveries are allowances, not meters. Going over does not produce a bill.
  • Three things bill over on the paid plans: workflow runs at $0.25, $0.15 or $0.10 per 1,000 runs on Launch, Grow and Scale, web analytics events at $2 per 100,000 events, and storage at $0.10 per GB-month.
  • Pay yearly and get twelve months for the price of ten.

Prices in USD. Verified 31 October 2026.

AllowancesFree$0/moLaunch$19/moGrowPopular$49/moScale$99/mo
Monthly active users10k25k100k500k
Workspaces501k25k100k
Storage1 GB10 GB50 GB200 GB
Console team members23850

Questions

About mcp server for your app on BuildBase.

Which MCP spec does the server follow?

The current MCP spec and the one before it, statelessly, over Streamable HTTP on Node and edge runtimes. Clients that negotiate the older version still connect.

Can I add my own tools?

Yes. Add tools with your own schemas beside the built-ins. A custom tool with the same name as a built-in replaces it, and you can run a server with only your own tools.

Which AI clients can connect?

Clients that connect to remote MCP servers with sign-in, such as Claude, ChatGPT and Cursor. The SDK can print install links and setup snippets for each of them.

What does the built-in MCP server cost?

The MCP server is part of the SDK you install. Sign-in for agents is on the plans that include agent access. Plans start with Free at $0 for up to 10,000 monthly active users.

When is a hand-built MCP server simpler?

If your tools have nothing to do with users, workspaces, plans or billing, a plain MCP server may be simpler. The built-in tools and agent sign-in matter when agents act for your signed-in users.

Ship the MCP server with the app

Tools, agent sign-in and discovery from one command. Spend your time on the tools only your product has.

Free plan7-day free trial on paid plansNo credit card required