Skip to content

Commit f65385d

Browse files
authored
feat(mcp): 🔧 unify MCP configuration format and simplify global installation (#104)
- Unify all MCP configurations to use 'cloudbase' as server name - Standardize args format to use npm-global-exec@latest - Remove traditional global installation method - Update 47 files across docs, config, and MCP package - Simplify user experience with single recommended approach
1 parent 3334ad5 commit f65385d

33 files changed

Lines changed: 122 additions & 90 deletions

README-EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Add the following config to your AI IDE (e.g., Cursor) to enable all CloudBase A
6464
```json
6565
{
6666
"mcpServers": {
67-
"cloudbase-mcp": {
67+
"cloudbase": {
6868
"command": "npx",
69-
"args": ["@cloudbase/cloudbase-mcp@latest"]
69+
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"]
7070
}
7171
}
7272
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
```json
7070
{
7171
"mcpServers": {
72-
"cloudbase-mcp": {
72+
"cloudbase": {
7373
"command": "npx",
74-
"args": ["@cloudbase/cloudbase-mcp@latest"]
74+
"args": ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"]
7575
}
7676
}
7777
}

config/.codex/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
[mcp_servers.cloudbase]
55
command = "npx"
6-
args = ["--cache", ".", @cloudbase/cloudbase-mcp@latest"]
6+
args = ["npm-global-exec@latest", "@cloudbase/cloudbase-mcp@latest"]

config/.comate/mcp.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.cursor/mcp.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.gemini/settings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"mcpServers": {
3-
"cloudbase-mcp": {
3+
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.mcp.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.opencode.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"mcpServers": {
3-
"cloudbase-mcp": {
3+
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.qwen/settings.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"mcpServers": {
3-
"cloudbase-mcp": {
3+
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
]
109
}

config/.roo/mcp.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"cloudbase": {
44
"command": "npx",
55
"args": [
6-
"--cache",
7-
".",
6+
"npm-global-exec@latest",
87
"@cloudbase/cloudbase-mcp@latest"
98
],
109
"disabled": false

0 commit comments

Comments
 (0)