跳到正文
cccskills
免费在 GitHub 公开

cloudbase-mcp

CloudBase MCP reference. Use when connecting local or remote MCP, calling tools from the shell with mcporter, reading tool schemas, choosing the domestic or international endpoint, setting site, region, cloud mode, or plugin flags, or contributing a fix to the open-source MCP server, skills, or CLI.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md5.1 KB
  • LICENSE.md1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CloudBase MCP

Open source:

The server source is mcp/ in that repo. The package name is @cloudbase/cloudbase-mcp.

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../cloudbase-cli/SKILL.md.

If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.

  • MCP setup, mcporter commands, and auth examples: ../cloudbase/references/mcp-setup.md
  • CLI fallback when MCP tools are not loaded: ../cloudbase-cli/SKILL.md
  • MCP vs CLI decision tree: ../cloudbase/references/tooling-fallback.md

When to use

  • The user is connecting MCP, or choosing local versus remote.
  • The user or the agent calls CloudBase tools from the shell with mcporter, or needs a tool schema before calling.
  • The user needs the site, region, cloud-mode, or plugin switches that already exist.
  • A bug is in this repo's MCP server, skills, or CLI, and the fix should be a pull request.

Do not use this for

  • Creating or changing cloud resources. Use the matching domain skill, or ../cloudbase-cli/SKILL.md when MCP tools are not loaded.
  • Cloud platform, permission, or account problems that are not code in this repo. Those go to an issue, not a pull request.

Connection

ModeAddress
Remote, domestichttps://tcb-api.cloud.tencent.com/mcp/v1
Remote, internationalhttps://tcb-api.tencentcloud.com/mcp/v1
Localnpx @cloudbase/cloudbase-mcp@latest (Node.js 18.15+)

The hostname decides the site. Remote URLs do not take a site query parameter.

  • Interactive clients: put only the URL in the IDE config. The IDE opens a browser for login. This is the usual path.
  • CI: add env_id and headers X-TencentCloud-SecretId / X-TencentCloud-SecretKey.
  • Local stdio for the international site: TCB_SITE=intl and TCB_REGION=ap-singapore.

Remote mode cannot upload local files or download templates. The international site does not expose NoSQL tools.

Calling tools with mcporter

When this session has no native MCP tools, use mcporter. The command list and the auth examples live in ../cloudbase/references/mcp-setup.md. Read that file before login, environment binding, or manageEnv.

Check whether the server is configured:

npx mcporter list | grep cloudbase

If it is missing, add a stdio server named cloudbase in config/mcporter.json:

{
  "mcpServers": {
    "cloudbase": {
      "command": "npx",
      "args": ["@cloudbase/cloudbase-mcp@latest"],
      "description": "CloudBase MCP",
      "lifecycle": "keep-alive"
    }
  }
}

Read the schema before the first call. describe without --all-parameters omits parameters.

npx mcporter describe cloudbase --all-parameters
npx mcporter list cloudbase --schema

Call a tool with server.tool and key=value arguments:

npx mcporter call cloudbase.queryEnv action=list --output json

Do not put a Secret ID, Secret Key, or environment ID into mcporter.json. Login stays on cloudbase.auth or tcb login, as written in mcp-setup.md.

Environment

NameEffect
TCB_SITEdomestic or intl. ap-singapore exists on both sites; a domestic Singapore environment must set TCB_SITE=domestic.
TCB_REGIONAPI region, such as ap-shanghai or ap-singapore.
CLOUDBASE_MCP_CLOUD_MODE or MCP_CLOUD_MODEtrue disables local file and process tools for a self-hosted caller.
CLOUDBASE_MCP_PLUGINS_ENABLED / CLOUDBASE_MCP_PLUGINS_DISABLEDComma-separated plugin names for a local server.
enable_plugins / disable_pluginsThe same switch on a remote URL, comma-separated.

Plugin names are the ones in mcp/src/server.ts (env, database, functions, hosting, storage, and the rest). A local server and a hosted remote server enable the same default set; turn one off for a given caller with disable_plugins on the remote URL or CLOUDBASE_MCP_PLUGINS_DISABLED on a local server.

Contributing

Read CONTRIBUTING.md at the repo root. Fork, use a feature branch, and follow the commit types listed there (feat, fix, docs, and the rest). Install with corepack and pnpm install.

  • A bug in MCP, a skill, or the CLI: open a pull request.
  • The cloud platform, a permission, or the account: open an issue. Do not put an environment ID or a secret in the text.
  • prepareFeedback only returns the new-issue page for the current site. Write the text in the chat. The user logs in and submits it.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration. The only SDK supporting image generation (ai.createImageModel + generateImage). Text via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*; model ids (e.g. deepseek-v4-flash, glm-5, kimi-k2.6) go in the `model` field of generateText/streamText. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat).

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

Use this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk. Default routing for Web/frontend AI — call directly from the browser, do NOT propose a Node.js proxy. Covers generateText and streamText; models via ai.createModel with groups cloudbase, hunyuan-exp, or custom-*, model id in the `model` field. MUST run two-step preflight before code — see body. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only).

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

Use this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent, onFinish); streamText needs a data wrapper, generateText returns the raw response. Models via wx.cloud.extend.AI.createModel with groups hunyuan-exp (小程序成长计划), cloudbase (main managed), or custom-*; model id goes in the data wrapper `model` field. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs).

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

Use when auditing CloudBase cloud API wrappers, MCP tools, generated action metadata, or related docs for outdated or incorrect action names, parameters, casing, request shapes, or missing contract tests, especially during periodic quality review or before preparing corrective PRs.

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

CloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI.

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

CloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, login methods, SMS/email sender setup, or other provider-side readiness before implementing a client or backend auth flow.

中文简介正在准备中。当前显示原文说明。

TencentCloudBase/CloudBase-AI-Toolkit11402026年10月19日 更新

查看 TencentCloudBase 的全部技能

报告此技能的问题