Skip to content

Commit 2798b07

Browse files
committed
chore: update tools
1 parent 0922add commit 2798b07

10 files changed

Lines changed: 163 additions & 3 deletions

File tree

config/.agent/rules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.clinerules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.cursor/rules/cloudbase-platform/rule.mdc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.kiro/steering/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.qoder/rules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.trae/rules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/.windsurf/rules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

config/rules/cloudbase-platform/rule.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ Use this skill for **CloudBase platform knowledge** when you need to:
3737
- MySQL data models must use models SDK, not collection API
3838
- Use `envQuery` tool to get environment ID
3939

40+
4. **Use CloudBase MCP via mcporter (CLI) when IDE MCP is not available**
41+
- You do **not** need to hard-code Secret ID / Secret Key / Env ID in config
42+
- CloudBase MCP will support device-code login via the `auth` tool, so credentials can be obtained interactively
43+
- Add CloudBase MCP server:
44+
```bash
45+
npx mcporter config add cloudbase \
46+
--command "npx" \
47+
--arg "@cloudbase/cloudbase-mcp@latest" \
48+
--description "CloudBase MCP"
49+
```
50+
- Discover tools and schemas:
51+
- `npx mcporter list` — list configured servers
52+
- `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools
53+
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
54+
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
55+
- Call CloudBase tools (auth flow examples):
56+
- `npx mcporter call cloudbase.auth action=status --output json`
57+
- `npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
58+
- `npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
59+
4060
---
4161

4262
# CloudBase Platform Knowledge

0 commit comments

Comments
 (0)