These are the official instructions from deploybase for connecting your agent to deploybase and deploying a project. They are published at https://deploybase.eu/agent-setup, so you can check them there at any time.

Run every command yourself. Only ask the user for what a step says to ask for.

What you will do:

1. Add the deploybase MCP server to your agent
2. Check the connection (the user signs in on the first call)
3. Deploy this project

deploybase hosts static sites, with forms and serverless functions (beta). It does not run containers, long-running servers or databases. If this project needs one of those, stop and tell the user.

---

## 1. Add the deploybase MCP server

Use the section for your agent.

### Claude Code

```sh
claude mcp add --transport http deploybase https://mcp.deploybase.eu/mcp
```

### Cursor

```
{
  "mcpServers": {
    "deploybase": {
      "url": "https://mcp.deploybase.eu/mcp",
      "auth": {
        "CLIENT_ID": "deploybase-cursor"
      }
    }
  }
}
```

Add the deploybase entry under mcpServers in ~/.cursor/mcp.json. Keep the entries already there; if a deploybase entry exists, replace it.

### VS Code

```sh
code --add-mcp '{"name":"deploybase","type":"http","url":"https://mcp.deploybase.eu/mcp"}'
```

### Codex

```sh
codex mcp add deploybase --url https://mcp.deploybase.eu/mcp
```

### Other

```
https://mcp.deploybase.eu/mcp
```

Any client that speaks MCP over Streamable HTTP connects to this address.

Then tell the user to restart or reload their agent so the deploybase tools load:

- Claude Code: quit and run `claude` again (`claude --continue` reopens this conversation)
- Cursor: open Cursor Settings → MCP and turn on or refresh `deploybase`
- VS Code: run "MCP: List Servers" from the Command Palette, pick `deploybase` and start it
- Codex: quit and run `codex` again
- Other: restart the client

## 2. Check the connection

If the deploybase tools are loaded, call `list_projects`. The first call opens a browser window where the user signs in. It then returns the team's projects; an empty list is fine. If it fails with `Authentication failed: …`, ask the user to sign in again.

If the tools are not loaded yet, wait for the user to restart their agent.

## 3. Deploy this project

Follow "Deploy a project" at https://deploybase.eu/agents.md. It covers what deploybase needs from the project, the MCP tools to call, and the same steps over the REST API. You are already set up, so skip its setup sections and do not fetch https://deploybase.eu/agent-setup again.

## When you are done

Show the user this, with the real config file path and live URL. Leave out the last line if the deploybase tools were already loaded.

```
┌─ deploybase setup complete ─────────────────┐
│  ✓ MCP server   <config file path>          │
│  ✓ Live at      <live URL>                  │
│                                             │
│  Restart your agent to load the tools       │
└─────────────────────────────────────────────┘
```

## Help

- deploybase MCP tool reference: https://docs.deploybase.eu/mcp/#tools
- Claude Code MCP: https://code.claude.com/docs/en/mcp
- Cursor MCP: https://cursor.com/docs/mcp
- VS Code MCP: https://code.visualstudio.com/docs/copilot/customization/mcp-servers
- Codex MCP: https://developers.openai.com/codex/mcp
