# PocketBase Cloud MCP server

> Lets an AI assistant manage PocketBase Cloud projects, instances, deployments, custom domains, and database collections and records.

- Repository: https://github.com/pocketbasecloud/mcp
- Page: https://hostedmcp.org/servers/pocketbasecloud/mcp
- Transport: remote
- Stars: 0
- License: Apache-2.0
- Latest version: 1.4.3

## Install

### Claude Code

```sh
claude mcp add --transport http mcp https://mcp.pocketbasecloud.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.pocketbasecloud.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.pocketbasecloud.com/mcp"
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
url = "https://mcp.pocketbasecloud.com/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.pocketbasecloud.com/mcp"
    }
  }
}
```

## Tools (8)

- `account`
- `resources`
- `deploy`
- `domains`
- `docs`
- `database`
- `env`
- `database_admin`

## FAQ

### How do I control the level of access the AI has?

You choose the access level during connection, such as read-only or read-write, and can limit access to all projects or a single specific project.

### Can the AI delete my projects or resources?

No, the server is intentionally designed to prevent the AI from deleting projects or resources; you must use the portal or the CLI for those actions.

### How can I use this in CI/CD or scripts?

Instead of the standard sign-in flow, you can provide a PocketBase Cloud CLI access token via the Authorization header.
