--- name: mcporter 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. homepage: http://mcporter.dev --- # mcporter Use `mcporter` to work with MCP servers directly. ⚠️ **CRITICAL EXECUTION RULE:** Whenever you run `mcporter`, you MUST source the local `.env` file first so `mcporter.json` can interpolate the required API keys. Always run it as a chained command like this: `set -a && source .env && set +a && mcporter --config config/mcporter.json call key=value` Quick start - `mcporter list` - `mcporter list --schema` - `mcporter call 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 --args '{"limit":5}'` Auth + config - OAuth: `mcporter auth [--reset]` - Config: `mcporter config list|get|add|remove|import|login|logout` Daemon - `mcporter daemon start|status|stop|restart` Codegen - CLI: `mcporter generate-cli --server ` or `--command ` - Inspect: `mcporter inspect-cli [--json]` - TS: `mcporter emit-ts --mode client|types` Notes - config file is located at `config/mcporter.json` you may have to resolve a different relative path depending on your context - Prefer `--output json` for machine-readable results. - Always use `--args '{...}'` (JSON payload) for Atlassian calls with complex/nested fields.