# CloudBase

> CloudBase is an MCP server for cloud and infrastructure. Tencent CloudBase MCP server for databases, functions, storage and hosting. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** API, CLI
- **Repository:** https://github.com/tencentcloudbase/cloudbase-ai-toolkit/tree/HEAD/mcp
- **MCP Registry name:** io.github.TencentCloudBase/cloudbase-mcp
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [databases](https://ai-powered.com/categories/databases)
- **Listing updated:** 2026-11-23

## About

This is the npm distribution of the CloudBase MCP server, one piece of Tencent's CloudBase AI Toolkit alongside a plugin and agent skills. It lets an AI coding tool log in to a CloudBase environment and work on its backend: PostgreSQL and document databases, cloud functions and Cloud Run, login methods and object storage, static hosting and Mini Program publishing, plus logs and redeploys.

There are three ways to connect. The recommended remote mode points a client at a Tencent Cloud endpoint, with one for the China site and another for the international site, and signs in through the browser with OAuth. Static key pairs are available for CI or clients without OAuth. Local mode runs through npx on Node.js 18.15 or newer and adds local file upload and template download, which remote mode lacks. The README also notes the international site does not yet expose NoSQL tools.

Deleting a function, collection, stored file, Cloud Run service or MySQL instance pauses for a confirmation naming the target, using MCP form elicitation where the client supports it. A CloudBase environment is required, and the README advises confirming sensitive actions the AI proposes.

## Features

- **Remote or local modes:** Connect over HTTP with OAuth or run locally through npx with full filesystem features.
- **Database management:** Work with PostgreSQL and document databases, data models, CRUD and permissions.
- **Functions and Cloud Run:** Author, deploy, invoke and debug cloud functions and Cloud Run services.
- **Hosting and storage:** Handle object storage, static hosting and Mini Program publishing.
- **Named delete confirmations:** Destructive calls pause on a dialog that names the target.
- **Selectable plugins:** Remote URLs accept enable_plugins and disable_plugins to limit which tool groups load.
- **Cloud Mode:** Disables local file and process tools for remote callers on self-hosted setups.

## Good for

- Build and deploy a todo app with login and a database from a coding assistant
- Deploy and debug a cloud function from the editor
- Inspect function logs and redeploy
- Set up storage and hosting for a Mini Program
- Run CloudBase tasks from CI with static credentials

## Install

### Claude Code: Add with the CLI (Terminal)

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

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

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

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user cloudbase-mcp npx -- -y @cloudbase/cloudbase-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

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

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### How do I connect without installing anything?

Use the remote endpoint for your site, tcb-api.cloud.tencent.com for China or tcb-api.tencentcloud.com for international, and sign in through the browser.

### What are the Node requirements for local mode?

Node.js v18.15.0 or newer, started through npx with the @cloudbase/cloudbase-mcp package.

### What does remote mode lack?

Local-filesystem features such as upload and template download, and the international site does not yet expose NoSQL tools.

### Which clients does the toolkit support?

The README lists plugins or built-in support in Claude Code, Codex, CodeBuddy, WorkBuddy, Doubao, MiniMax Code, DeepSeek Harness, Kimi Code and others.

### Do I need an account?

Yes, a CloudBase environment is required.

### How do I add CloudBase to Claude Code?

Run this command in your terminal: claude mcp add cloudbase-mcp -- npx -y @cloudbase/cloudbase-mcp

### What are the best alternatives to CloudBase?

The closest alternatives to CloudBase are awslabs, kubeshark, Azure MCP Server, Pitot and Lightweight Agentic CMS on Cloudflare.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [awslabs](https://ai-powered.com/mcp/awslabs): awslabs is an open-source MCP server for cloud and infrastructure.
- [kubeshark](https://ai-powered.com/mcp/kubeshark): kubeshark is an open-source MCP server for cloud and infrastructure.
- [Azure MCP Server](https://ai-powered.com/mcp/azure-mcp-server): Azure MCP Server is an open-source MCP server for cloud and infrastructure.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [Lightweight Agentic CMS on Cloudflare](https://ai-powered.com/mcp/lightweight-agentic-cms-on-cloudflare): Lightweight Agentic CMS on Cloudflare is an open-source MCP server for cloud and infrastructure.
- [Runeward](https://ai-powered.com/mcp/runeward): Runeward is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Datatomcp](https://ai-powered.com/mcp/datatomcp-2): Datatomcp is a freemium MCP server for analytics and data.

---
Source: https://ai-powered.com/mcp/cloudbase
