# CloudBase MCP server

> Operate Tencent CloudBase environments including databases, functions, storage, and hosting via the Model Context Protocol.

- Repository: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit
- Page: https://hostedmcp.org/servers/tencentcloudbase/cloudbase-mcp
- Transport: stdio, remote
- Stars: 1165
- License: MIT
- Latest version: 2.37.6

## Install

### Claude Code

```sh
claude mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp
```

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

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

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

```json
{
  "servers": {
    "cloudbase-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp"
      ]
    }
  }
}
```

### VS Code CLI

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

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp
```

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

```toml
[mcp_servers.cloudbase-mcp]
command = "npx"
args = ["-y", "@cloudbase/cloudbase-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user cloudbase-mcp npx -- -y @cloudbase/cloudbase-mcp
```

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

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

## FAQ

### How do I install the CloudBase MCP server?

You can install it using npx with the command: npx -y @cloudbase/npm-launcher@1.0.0 @cloudbase/cloudbase-mcp@latest.

### Does the server provide security for destructive actions?

Yes, the server pauses destructive calls like deleting functions or databases to ask for confirmation via a dialog.

### Can I use CloudBase MCP for CI/CD?

Yes, you can use the Remote mode with static credentials for automation and CI/CD purposes.
