logo
0
0
Login

CNB With CloudBase MCP

Tencent CloudBase supports the management of basic cloud development capabilities through the MCP protocol, including cloud development environment management, static website deployment, database collection management, database document operations, etc.

How to use

  1. Fork this repository to your own account

  2. Create a new secret repository under your own account (if you already have one, don’t need to create) and create a yaml file

    CNB_API_TOKEN: "xxxxx" TENCENTCLOUD_SECRETID: "xxxxx" TENCENTCLOUD_SECRETKEY: "xxxxx" CLOUDBASE_ENV_ID: "xxxxx"

    Don't change key name, just pass your own token

    To get CNB token, goto "Settings - Access tokens - Add - Common scene - MCP token"

    The remaining three environment variables are used for CloudBase MCP. To obtain them, visit the following address, in the "Environment Variables" section.

    https://www.npmjs.com/package/@cloudbase/cloudbase-mcp

  3. Update .cnb.yml

    Enter the repository that you forked in the first step, edit the .cnb.yml file in the root directory, add imports (below), and submit it.

    services: # use vscode service - vscode imports: https://cnb.cool/<your-repo-slug>/-/blob/main/xxx.yml stages: - name: Add credentials script: node .ide/add-mcp-credential.js

About

No description, topics, or website provided.