mcporter
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesemcporter
mcporter
Use to work with MCP servers directly.
mcporterQuick start
mcporter listmcporter list <server> --schemamcporter call <server.tool> key=value
Call tools
- Selector:
mcporter call linear.list_issues team=ENG limit:5 - Function syntax:
mcporter call "linear.create_issue(title: \"Bug\")" - Full URL:
mcporter call https://api.example.com/mcp.fetch url:https://example.com - Stdio:
mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com - JSON payload:
mcporter call <server.tool> --args '{"limit":5}'
Auth + config
- OAuth:
mcporter auth <server | url> [--reset] - Config:
mcporter config list|get|add|remove|import|login|logout
Daemon
mcporter daemon start|status|stop|restart
Codegen
- CLI: or
mcporter generate-cli --server <name>--command <url> - Inspect:
mcporter inspect-cli <path> [--json] - TS:
mcporter emit-ts <server> --mode client|types
Notes
- Config default: (override with
./config/mcporter.json).--config - Prefer for machine-readable results.
--output json
使用直接与MCP服务器交互。
mcporter快速开始
mcporter listmcporter list <server> --schemamcporter call <server.tool> key=value
调用工具
- 选择器:
mcporter call linear.list_issues team=ENG limit:5 - 函数语法:
mcporter call "linear.create_issue(title: \"Bug\")" - 完整URL:
mcporter call https://api.example.com/mcp.fetch url:https://example.com - 标准输入输出:
mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com - JSON负载:
mcporter call <server.tool> --args '{"limit":5}'
认证与配置
- OAuth:
mcporter auth <server | url> [--reset] - 配置:
mcporter config list|get|add|remove|import|login|logout
守护进程
mcporter daemon start|status|stop|restart
代码生成
- CLI:或
mcporter generate-cli --server <name>--command <url> - 检查:
mcporter inspect-cli <path> [--json] - TS类型:
mcporter emit-ts <server> --mode client|types
注意事项
- 默认配置文件:(可通过
./config/mcporter.json参数覆盖)。--config - 如需机器可读结果,优先使用参数。
--output json