Skip to content

Commit 5782b85

Browse files
committed
docs(skills): add mcporter CLI section for non-MCP environments
1 parent 7225518 commit 5782b85

File tree

1 file changed

+33
-0
lines changed
  • scripts/skills-repo-template/cloudbase-guidelines

1 file changed

+33
-0
lines changed

scripts/skills-repo-template/cloudbase-guidelines/SKILL.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,39 @@ mcpServers:
4646
args: ["@cloudbase/cloudbase-mcp@latest"]
4747
```
4848
49+
### Using mcporter (CLI) When MCP Is Not Available
50+
51+
In environments that do not support MCP (e.g. moltbot) or when users are unsure how to configure MCP, use **mcporter** as a CLI to call MCP tools. **Confirm with the user** that Secret ID, Secret Key, and Env ID are set in the mcporter config.
52+
53+
**Config:** Default `./config/mcporter.json` (override with `--config`). Prefer `--output json` for machine-readable results.
54+
55+
```json
56+
{
57+
"mcpServers": {
58+
"cloudbase-mcp": {
59+
"description": "CloudBase MCP",
60+
"command": "npx",
61+
"args": ["@cloudbase/cloudbase-mcp@latest"],
62+
"env": {
63+
"TENCENTCLOUD_SECRETID": "<your_secret_id>",
64+
"TENCENTCLOUD_SECRETKEY": "<your_secret_key>",
65+
"CLOUDBASE_ENV_ID": "<your_env_id>"
66+
}
67+
}
68+
}
69+
}
70+
```
71+
72+
**Quick start:**
73+
- `mcporter list` — list servers/tools
74+
- `mcporter list <server> --schema` — show tool schema
75+
- `mcporter call <server.tool> key=value` — call a tool
76+
77+
**Call examples:**
78+
- Selector: `mcporter call linear.list_issues team=ENG limit:5`
79+
- Function syntax: `mcporter call "linear.create_issue(title: \"Bug\")"`
80+
- JSON payload: `mcporter call <server.tool> --args '{"limit":5}'`
81+
4982
---
5083

5184
## Quick Reference

0 commit comments

Comments
 (0)