# CloudBase MCP

> Tencent CloudBase's MCP server: your agent manages its databases, cloud functions, storage, hosting and logs from the chat.

CloudBase MCP is the MCP server for Tencent CloudBase, Tencent Cloud's all-in-one backend. Once it's connected, your agent can sign in to your CloudBase environment and work on its databases, cloud functions, storage, static hosting and logs from the conversation, so the backend gets built and deployed along with the code.

What you can do with it
- Sign in to CloudBase and pick the environment your agent works in
- Query and change data in PostgreSQL and the document database, and manage collections, data models and permissions
- Write, deploy, invoke and debug cloud functions and Cloud Run services
- Set up login methods, upload files to cloud storage and publish static sites
- Read logs to find what went wrong, then fix and redeploy
- Start a new project from a CloudBase template (local mode)

How it connects
- Local: it runs on your machine with npx @cloudbase/cloudbase-mcp@latest and needs Node.js 18.15 or later. This mode includes local file uploads and template downloads. If your environment is on the international site, set TCB_SITE=intl so sign-in uses that site.
- Hosted: add https://tcb-api.tencentcloud.com/mcp/v1 (international site) or https://tcb-api.cloud.tencent.com/mcp/v1 (China site). Your agent opens the browser for sign-in and you pick the environment there. For CI, or an agent without browser sign-in, add ?env_id=<your environment ID> to the address and send X-TencentCloud-SecretId and X-TencentCloud-SecretKey headers.

Good to know
- You need a CloudBase environment; new users can start for free.
- The China and international sites use separate accounts, so use the address that matches where your environment lives.
- The hosted server has no local file features, and on the international site it doesn't offer the document database tools yet.
- Deleting a function, collection, file or service pauses for a confirmation that names what will be deleted, in agents that can show one. Tencent recommends reviewing each tool call before it runs.

- Type: Plugin
- Made by: Tencent
- Category: Cloud & DevOps
- Formats: Remote MCP, Local MCP
- Version: 2.36.1
- Website: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit
- Source: https://github.com/tencentcloudbase/cloudbase-ai-toolkit/tree/HEAD/mcp
- Page: https://pluginboard.ai/plugins/cloudbase-mcp

## Works with

- ChatGPT
- Claude
- Muse
- Grok Bot
- Gemini
- Grok
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### Claude

Add to claude_desktop_config.json:

```json
{
  "mcpServers": {
    "cloudbase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp@2.36.1"
      ]
    }
  }
}
```

### GitHub Copilot

Add to VS Code: vscode:mcp/install?%7B%22name%22%3A%22cloudbase-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cloudbase%2Fcloudbase-mcp%402.36.1%22%5D%7D

Run in your terminal:

```shell
code --add-mcp '{"name":"cloudbase-mcp","command":"npx","args":["-y","@cloudbase/cloudbase-mcp@2.36.1"]}'
```

Copilot CLI:

```shell
copilot mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp@2.36.1
```

### Cursor

Add to Cursor: cursor://anysphere.cursor-deeplink/mcp/install?name=cloudbase-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjbG91ZGJhc2UvY2xvdWRiYXNlLW1jcEAyLjM2LjEiXX0%3D

Add to .cursor/mcp.json:

```json
{
  "mcpServers": {
    "cloudbase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp@2.36.1"
      ]
    }
  }
}
```

### Claude Code

Run in your terminal:

```shell
claude mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp@2.36.1
```

### Codex

Run in your terminal:

```shell
codex mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp@2.36.1
```

### Antigravity

Add to ~/.gemini/config/mcp_config.json:

```json
{
  "mcpServers": {
    "cloudbase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp@2.36.1"
      ]
    }
  }
}
```

### Gemini CLI

Run in your terminal:

```shell
gemini mcp add cloudbase-mcp npx -y @cloudbase/cloudbase-mcp@2.36.1
```

### OpenClaw

In a terminal: Run openclaw mcp add cloudbase-mcp --command npx, with --arg before each argument (-y @cloudbase/cloudbase-mcp@2.36.1) and --env NAME=value for each variable it needs.

### OpenCode

Run in your terminal:

```shell
opencode mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp@2.36.1
```

### Hermes Agent

Add to ~/.hermes/config.yaml:

```json
{
  "mcp_servers": {
    "cloudbase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp@2.36.1"
      ]
    }
  }
}
```

---
From Pluginboard (https://pluginboard.ai).
