一键导入
usage
How to use the CLI, API, and MCP interfaces. Use this skill when interacting with the tool as an end user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to use the CLI, API, and MCP interfaces. Use this skill when interacting with the tool as an end user.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Drive the real Goose desktop GUI (Electron) as an MCP client via Playwright to end-to-end test this template's MCP Apps - asserting the ui:// iframe actually renders and round-trips in a real host. Use to run, add, or debug MCP-App e2e scenarios.
Triage and curate a Gmail inbox by connecting to the GmailMCP server over MCP and calling its typed tools.
Interview the user, inspect this template repo, run headless onboarding, and prune unused systems so a new project gets running quickly.
Cut a new release - bump the version in pyproject.toml, tag, and push to trigger PyPI publish and MCP Registry publish via GitHub Actions. Use when the user asks to release, ship a version, bump and tag, cut a hotfix, or publish to PyPI.
| name | usage |
| description | How to use the CLI, API, and MCP interfaces. Use this skill when interacting with the tool as an end user. |
This skill teaches you how to use the three interfaces provided by this project.
# Install
pip install mcp-template
# Basic usage
mymcp --help # see all commands
mymcp greet Alice # run a command
mymcp config show # view configuration
mymcp doctor # check system health
# Global flags (go before the subcommand)
mymcp --verbose greet Alice # detailed output
mymcp --format json config show # JSON output
mymcp --dry-run greet Bob # preview without executing
mymcp --version # print version
# Start the server: HTTP API and MCP (streamable HTTP) on one port.
mymcp-serve
# Default http://localhost:8080. See /docs for OpenAPI, /mcp for MCP.
The MCP server exposes the same services as CLI tools via the Model Context Protocol.
Primary transport: streamable HTTP at /mcp (started by mymcp-serve).
Stdio is supported via mymcp-mcp for local Claude Desktop / dev only.
# Legacy stdio transport
mymcp-mcp
# Debug with the MCP inspector (stdio)
mcp dev mcp_server/server.py
Remote (preferred - works on Claude Desktop 0.7+, Cursor, etc.):
{
"mcpServers": {
"mymcp": {
"url": "https://YOUR-DEPLOYMENT/mcp",
"headers": { "X-API-KEY": "sk_..." }
}
}
}
Local stdio (legacy):
{
"mcpServers": {
"mymcp": {
"command": "mymcp-mcp"
}
}
}
mymcp update # check for updates and upgrade