@cloudbase/cloudbase-mcp 2.35.1 → 2.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -76,7 +76,20 @@ You need a [CloudBase environment](https://tcb.cloud.tencent.com/dev) and should
76
76
 
77
77
  Pick the endpoint matching the site your environment lives in—the two sites use separate accounts and credentials.
78
78
 
79
- **Local**: runs `npx @cloudbase/cloudbase-mcp@latest` on your machine—full features, including local filesystem upload and template download. Requires Node.js v18.15.0+.
79
+ **OAuth (interactive, recommended)**: the URL is the whole configuration—your IDE opens the browser for login and consent, and you pick the environment there. No keys land in config files, and there is nothing to rotate.
80
+
81
+ ```json
82
+ {
83
+ "mcpServers": {
84
+ "cloudbase": {
85
+ "type": "http",
86
+ "url": "https://tcb-api.cloud.tencent.com/mcp/v1"
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ **Static credentials** (for a client without OAuth, and for CI/CD): append `env_id` and a key pair created on the same site as the endpoint.
80
93
 
81
94
  ```json
82
95
  {
@@ -93,10 +106,9 @@ Pick the endpoint matching the site your environment lives in—the two sites us
93
106
  }
94
107
  ```
95
108
 
96
- Remote auth takes one of two paths:
109
+ > A static key pair stays valid until it is rotated or deleted; an OAuth session ends when you log out. Use the static form only where the browser flow is impossible—and keep it out of a repository.
97
110
 
98
- - **OAuth (interactive, recommended)**: add the URL only—your IDE opens the browser for login and consent, so no keys land in config files.
99
- - **Static credentials (CI/CD)**: add `env_id` with the `X-TencentCloud-*` headers above.
111
+ **Local**: runs `npx @cloudbase/cloudbase-mcp@latest` on your machine—full features, including local filesystem upload and template download. Requires Node.js v18.15.0+.
100
112
 
101
113
  Remote trade-off: local-filesystem features (upload, template download) are unavailable, and the international site does not yet expose NoSQL tools.
102
114