CLI tool to list, call, configure, and generate code for MCP servers over HTTP or stdio — with OAuth, daemons, and TypeScript codegen.
npx clawhub@latest install mcportermcporter is a command-line interface for working directly with MCP (Model Context Protocol) servers and their tools. It supports both HTTP and stdio transports, letting you discover available tools, invoke them with typed arguments, manage authentication, and generate TypeScript clients or CLI wrappers — all from the terminal. Whether you're integrating a remote API-backed MCP server or a local stdio process, mcporter gives you a consistent interface without writing boilerplate.
npx clawhub@latest install mcporterClick the Install button at the top of this page for one-click setup
--output json).Call any tool on any MCP server using a concise selector (server.tool key=value), function syntax, a full URL, or a raw JSON payload via --args. Stdio servers (local processes) are also supported with --stdio.
Run mcporter list to enumerate all configured servers, or mcporter list <server> --schema to inspect the full input/output schema of a specific server's tools.
Authenticate with OAuth-protected servers using mcporter auth, and manage your server registry with mcporter config commands covering add, remove, import, login, and logout.
Generate a typed TypeScript client (emit-ts) in client or types mode, or scaffold a full CLI wrapper (generate-cli) for any configured or ad-hoc server. Inspect generated CLIs with inspect-cli.
Run a persistent background process with mcporter daemon start|stop|restart|status for scenarios where you need a long-running MCP connection.
Pass --output json to any command to get structured, parseable output suitable for piping into other tools, scripts, or AI agents.
Use mcporter list <server> --schema to inspect available tools and their schemas, then call them directly with mcporter call to verify behavior without writing a full client.
Invoke tools like mcporter call linear.list_issues team=ENG limit:5 --output json from shell scripts or CI pipelines and pipe the structured JSON output into downstream processing steps.
Run mcporter emit-ts <server> --mode client to produce a typed TypeScript wrapper for an MCP server's tools, eliminating manual type definitions and boilerplate fetch code.
Test a locally developed stdio server with mcporter call --stdio "bun run ./server.ts" <tool> key=value without needing to register it in your config first.
npx clawhub@latest install mcporterLog in to write a review
No reviews yet. Be the first to share your experience!