62 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2025-12-20 12:22:15 +01:00
---
name: mcporter
2026-01-04 07:19:13 +01:00
description: Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
2025-12-20 21:12:48 +01:00
homepage: http://mcporter.dev
metadata:
{
"openclaw":
{
"emoji": "📦",
"requires": { "bins": ["mcporter"] },
"install":
[
{
"id": "node",
"kind": "node",
"package": "mcporter",
"bins": ["mcporter"],
"label": "Install mcporter (node)",
},
],
},
}
2025-12-20 12:22:15 +01:00
---
# mcporter
2026-01-04 07:19:13 +01:00
Use `mcporter` to work with MCP servers directly.
2025-12-20 12:22:15 +01:00
2025-12-20 12:54:15 +01:00
Quick start
2025-12-20 12:54:15 +01:00
- `mcporter list`
- `mcporter list <server> --schema`
2026-01-04 07:19:13 +01:00
- `mcporter call <server.tool> key=value`
2025-12-20 12:22:15 +01:00
2026-01-04 07:19:13 +01:00
Call tools
2026-01-04 07:19:13 +01:00
- 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}'`
2025-12-20 12:54:15 +01:00
2026-01-04 07:19:13 +01:00
Auth + config
2026-01-04 07:19:13 +01:00
- OAuth: `mcporter auth <server | url> [--reset]`
- Config: `mcporter config list|get|add|remove|import|login|logout`
Daemon
2026-01-04 07:19:13 +01:00
- `mcporter daemon start|status|stop|restart`
Codegen
2026-01-04 07:19:13 +01:00
- CLI: `mcporter generate-cli --server <name>` or `--command <url>`
- Inspect: `mcporter inspect-cli <path> [--json]`
- TS: `mcporter emit-ts <server> --mode client|types`
2025-12-20 12:54:15 +01:00
Notes
2026-01-04 07:19:13 +01:00
- Config default: `./config/mcporter.json` (override with `--config`).
- Prefer `--output json` for machine-readable results.