Skip to content
MCP server

CloudBase

Tencent CloudBase MCP server for databases, functions, storage and hosting

CloudBase is an MCP server for cloud and infrastructure. It can run locally on your machine or as a hosted remote server.

Platforms
API, CLI
Runs
Locally or Remotely
Version
2.37.9
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cloudbase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cloudbase/cloudbase-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

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

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

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About CloudBase

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.

What it does

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

CloudBase 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.

How AIPoweredBot checks servers