Skip to content
Base , home

AI & MCP

Built for AI agents, with a person in charge.

Base speaks MCP, has a command line tool generated from its API, and an assistant inside the dashboard. Agents can do real work; what reaches production waits for you.

Connect your agent

Made for AI agents

Your agents will love it.
Your security team will too.

Give Claude, Cursor or your own agent the whole platform, from deploys and logs to databases and domains, without handing over the keys.

  • Deploy
  • Roll back
  • Read logs
  • Read metrics
  • Add databases
  • Add domains
  • Run tasks
  • Scale

Through the same API you use. Anything you can do in Base, your agent can ask to do.

  • Approvals for production

    A change to production becomes a plan. You read exactly what would change, approve it, and only then does it apply. The API enforces it, not the prompt.

  • Secrets stay secret

    Agents and tokens can never read secret values. Each credential is limited to an organization, project or environment, and a role.

  • Every action on the record

    The audit log keeps who asked, through which agent and tool, and who approved. Revoke an agent’s access at any time.

Connected in one click. Set up by one prompt.

Add Base over MCP from Claude Code, Cursor, VS Code or Codex and sign in with OAuth, or use the base CLI. Or copy the setup prompt and let your agent do it. The built-in assistant plays by the same rules: it proposes, you approve.

One prompt

Paste it into your coding agent. It sets itself up.

The setup prompt tells Claude Code, Cursor, Codex or VS Code how to install the base CLI from your Base, add the MCP server and check that both work. You sign in yourself, in your terminal and your browser: the prompt tells the agent never to ask for a token in the chat.

setup prompt
Set up Maxint Base for me. Base deploys apps, databases and AI agents onto my own servers, and has a command line tool (base) and an MCP server for agents like you.

Rules while you do this:
- Never ask me to paste a token or password into this chat, and never write one into a file, a shell history line, a config file in a repository or a commit. I sign in myself.
- Run the steps in order and tell me what each one did. If a step fails, show me the error and stop; do not work around it.

1. Ask me for my Base's address, like https://base.example.com. Below it is written <BASE>.
   If I do not have a Base yet, tell me that the installer arrives with the first release, and stop here.

2. Install the base command line tool (macOS and Linux):
   curl -fsSL <BASE>/cli.sh | sh
   It downloads base from my Base, checks it against the release checksums and puts it in ~/.local/bin. If `base` is not found afterwards, tell me to add ~/.local/bin to my PATH.
   On Windows, do not run anything: tell me to open my Base at Account, API tokens, Connect, and follow the PowerShell steps there.

3. Sign in. Ask me to run this in my own terminal (not through you), because it asks for a token that must not pass through this chat:
   base login --server <BASE>
   I make the token in Base at <BASE>/account/tokens (Make a token) and paste it at the hidden prompt. Wait until I say I am signed in.

4. Add Base's MCP server (<BASE>/mcp) to the agent I am using right now. Sign-in is OAuth through my browser, so no token is needed:
   - Claude Code: claude mcp add --transport http base <BASE>/mcp   then I run /mcp inside Claude Code and follow the browser steps.
   - Codex: codex mcp add base --url <BASE>/mcp   then codex mcp login base
   - Cursor: add {"mcpServers":{"base":{"url":"<BASE>/mcp"}}} to .cursor/mcp.json, keeping any servers already there, then I sign in from Cursor's MCP settings.
   - VS Code: add {"servers":{"base":{"type":"http","url":"<BASE>/mcp"}}} to .vscode/mcp.json, keeping any servers already there.
   - Any other agent: add an HTTP (streamable) MCP server named "base" at that address, using its own documentation.

5. Check it works:
   - Run `base resources list`. It should list my resources (an empty list is fine); a 401 means the sign-in failed.
   - Call the MCP tool `api_search` with the query "resources". If the tool is missing, the server is not signed in yet.

Then tell me in a few lines how to work with Base from here. Changes you make to production wait for a person to approve them in Base's Activity page; reads do not.

Approvals

Agents propose. People approve. The API enforces it.

A change to production by an AI agent or an API token is never applied straight away, whatever the agent was told. Deleting something, restoring over data or running a command in a container waits in every environment.

  1. 01

    The agent asks

    Through MCP, the CLI or the API, an agent asks to change something, for example to scale an app in production.

  2. 02

    Base makes a plan

    The change becomes a plan: what would change, who asked, through which client, and for whom.

  3. 03

    A person decides

    The plan waits in Activity, and as a notification if you set one up. Approve or reject it from either.

  4. 04

    Base applies it

    Exactly the approved plan is applied, and the audit log records who asked, through which tool, and who approved. Reads never wait; agents never see secret values.

Activity in Base: a production change proposed by an AI agent over MCP waiting for a person’s approval, above every recent operation.Activity in Base: a production change proposed by an AI agent over MCP waiting for a person’s approval, above every recent operation.

MCP

One address for every agent.

Your Base’s MCP server is at /mcp. Agents sign in with OAuth, approved on a Base screen, or with an API token for machines nobody signs in on. Each sees only what its credential may. Its tools search the API and call any operation, so an agent can do whatever the dashboard does.

base.example.com stands for your own Base’s address.

The CLI

Every operation, from your terminal and CI.

The base command is generated from the same API description the dashboard uses, so nothing is missing from it. In CI it reads BASE_SERVER and BASE_TOKEN, with no login step.

Your computer
curl -fsSL https://base.example.com/cli.sh | sh
base login --server https://base.example.com
base resources list
GitHub Actions
- name: Deploy with Base
  env:
    BASE_SERVER: https://base.example.com
    BASE_TOKEN: ${{ secrets.BASE_TOKEN }}
  run: |
    curl -fsSL "$BASE_SERVER/cli.sh" | sh -s -- --dir "$HOME/.local/bin"
    "$HOME/.local/bin/base" deployments create --resource-id "$APP_ID" --kind deploy

The assistant

An assistant that knows your servers.

Open it beside any page. It knows what you are looking at, answers from live state with your organization’s own model provider, and proposes changes as plans you apply, under the same approvals. It has your permissions, never more.

Base’s assistant beside an app’s page: it read the app’s metrics and deployments, explained why the app is slow, and proposed a change to apply.Base’s assistant beside an app’s page: it read the app’s metrics and deployments, explained why the app is slow, and proposed a change to apply.
Coming soon

Next: sandboxes for your agents

Isolated sandboxes on your own servers where AI agents run code and browse the web, with a gateway that holds model keys and controls outbound traffic, managed from the same dashboard as your apps.