What problem does it solve?
It removes the friction of discovering, configuring, authenticating, and calling MCP (Model Context Protocol) servers/tools by letting you manage them directly from your terminal.
Core Features & Use Cases
- MCP discovery & listing: Auto-discover MCP servers configured by other clients on the same machine, and list available tools with schema details.
- Tool calling (HTTP or stdio): Invoke tools via configured servers, ad-hoc HTTP endpoints, or on-the-fly stdio servers, with support for structured JSON output.
- Auth & configuration management: Perform OAuth login, manage server configuration, and run a daemon for persistent connections.
- Code generation: Generate CLI wrappers and emit TypeScript clients/types from MCP server definitions.
Use case: You have an MCP tool that creates and queries issues; you want to list its available operations and then create an issue with validated parameters while returning machine-readable JSON for downstream automation.
Quick Start
Run mcporter call <server.tool> key=value --output json to call an MCP tool and get structured results.