# Your app ships with its own MCP server.

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

Page: https://www.buildbase.app/use-cases/mcp-server-for-your-app

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.

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

Make my app agent-ready: https://console.buildbase.app

For your coding agent: Make this app agent-ready with BuildBase: its own MCP server, agent sign-in and discovery routes. Run: npx @buildbase/sdk init --claim --agent --yes

## 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 | Already covered |
| --- | --- |
| An MCP server that speaks the current spec | A stateless MCP server for Node and edge, from one config |
| Tools for your app's accounts and billing | Built-in tools for workspaces, members, plans, invoices, usage, credits and entitlements |
| Sign-in for agents acting as a user | Agent sign-in with consent and tokens a user can revoke, run by the platform |
| The files agents look for first | Discovery files, a server card, auth.md and robots, written for you |
| A way to know it works before launch | 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.

```bash
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.

```bash
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.

```bash
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 & API: https://www.buildbase.app/sdk)
- **Agents sign in as users.** Tools run under the user's own session, so an agent never sees more than that person can. (Authentication: https://www.buildbase.app/auth)
- **Scoped to the workspace.** Workspace data and roles apply to every tool call, so nothing leaks between teams. (Multi-Tenant Workspaces: https://www.buildbase.app/workspaces)
- **Billing an agent can read.** Plans, invoices and limits come from the billing module, so answers match what the app shows. (Billing & Subscriptions: https://www.buildbase.app/billing)
- **Credits agents respect.** Credit balances and quotas are tools too, so an agent can check a limit before it spends. (Credits & Usage Metering: https://www.buildbase.app/credits)
- **Roles that reach the agent.** The same roles that hide a button also limit what an agent may call. (Access Control (RBAC): https://www.buildbase.app/permissions)

## Running in production

Running in production on six products today, all of them ours.

- [OnceBooks](https://www.oncebooks.com): Personalised children's books
- [PlugNode](https://plugnode.ai): Visual AI workflow builder
- [AgentCenter](https://www.agentcenter.cloud): Mission control for AI agents
- [Imejis](https://www.imejis.io): Template-based image generation API
- [RemoteWait](https://remotewait.com): Virtual queue system
- [LinkTracer](https://social-link-tracer.jagodana.com): Creator link analytics

## 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.

|  | Build it yourself | BuildBase |
| --- | --- | --- |
| Hours | 50 | 6 |
| Time | about 1.7 weeks | about 1.0 days |
| First year | $5,250 | $550 (Launch, paid yearly) |

Modules: SDK & API, Authentication. At $60 an hour. Estimates for a senior developer working with an AI coding agent such as Claude Code or Cursor, tests included. Upkeep covers dependency upgrades, provider API changes, incidents and support. Not a quote. Last reviewed 17 November 2026. Calculator: https://www.buildbase.app/build-vs-buy

## 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.

| Plan | Monthly | Yearly | Monthly active users | Workspaces |
| --- | --- | --- | --- | --- |
| Free | $0 | $0 | 10,000 | 50 |
| Launch | $19 | $190 | 25,000 | 1,000 |
| Grow | $49 | $490 | 100,000 | 25,000 |
| Scale | $99 | $990 | 500,000 | 100,000 |

Paid plans start with a 7-day free trial, no credit card. Free stops at its allowance and never bills over. Enterprise: Custom, by conversation. Full pricing: https://www.buildbase.app/pricing

## Questions

### 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.


## Read more

- [Agent-ready apps: what your customers see](https://www.buildbase.app/ai-agents)
- [Run your SaaS from Claude or Cursor](https://www.buildbase.app/mcp)
- [Set up with your agent](https://www.buildbase.app/use-cases/coding-agent-setup)
- [Get found by agents](https://www.buildbase.app/use-cases/agent-discovery)
- [Agent access control](https://www.buildbase.app/use-cases/agent-access-control)
- [All use cases](https://www.buildbase.app/use-cases)
