Skip to main content
Glama
Manybases

@manybases/mcp

Official
by Manybases
README.md
# @manybases/mcp

The Manybases MCP server: your AI agent creates and runs a backend — database, auth for your
app's users, file storage, server-side functions and a site — without you opening a browser.
**38 tools**, over stdio.

## Install

You need **Node 22 or later** and a Manybases **account key** (`ak_…`). Create the key in your
dashboard, under **Account → Generate my account key**
([dash.manybases.com/account](https://dash.manybases.com/account)) — it is shown once.

Then add the server to your MCP client's configuration (Claude Desktop, Cursor, Claude Code…):

```json
{
  "mcpServers": {
    "manybases": {
      "command": "npx",
      "args": ["-y", "@manybases/mcp"],
      "env": { "MANYBASES_API_KEY": "<your ak_ key>" }
    }
  }
}
```

The server refuses to start without `MANYBASES_API_KEY`, and says so.

### Prefer no key at all? Use the remote connector

The same tools are served at `https://mcp.manybases.com`: add it as a custom connector (or a remote
HTTP server) and approve the consent window that opens on your dashboard — nothing to copy.
See [Connect an agent](https://docs.manybases.com/mcp/connect).

## One agent at a time

An account has at most **one live agent key**. Installing the remote connector **revokes the key
this server uses**: the server keeps running, but every tool answers `401`. To come back, revoke
the connector's key on **Account** and generate a new one.

## Variables

| Variable | Required | Meaning |
|---|---|---|
| `MANYBASES_API_KEY` | yes | Your account key, `ak_…` |
| `MANYBASES_ACCOUNT_SESSION` | no | Your dashboard session token, to lend the agent your authority for a working session (it lives about an hour) |
| `MANYBASES_API_URL` | no | The management plane; default `https://api.manybases.com`. It sets **only** the management plane |
| `MANYBASES_DATA_API_URL` | no | Forces the data plane onto one address, for local development |

## What an agent cannot do alone

A few gestures always ask for a signed-in human: setting the app URL, deleting a project or a
user, issuing a reset link, creating a secret key (`sk_`), and destructive SQL. Without
`MANYBASES_ACCOUNT_SESSION` those tools answer `428` or `403` — a correct refusal, not an outage.
See [The human boundary](https://docs.manybases.com/concepts/human-boundary).

## If it does not start

- **`npx` not found, or the wrong Node.** Desktop apps do not read your shell's `PATH`. Put the
  absolute path of `npx` in `command` (`which npx` prints it).
- **Windows.** If your client cannot start `npx` directly, use
  `"command": "cmd", "args": ["/c", "npx", "-y", "@manybases/mcp"]`.
- **Check it by hand.** Send it an `initialize`, then a `tools/list`: it answers with the tools.

## Links

- Documentation: [docs.manybases.com](https://docs.manybases.com) — the tools, one page each:
  [MCP tools](https://docs.manybases.com/mcp/tools)
- Releases are published by CI from [github.com/Manybases/mcp](https://github.com/Manybases/mcp);
  those carry a provenance attestation that `npm audit signatures` verifies.

## License

MIT