mcporter
A command-line tool to list, configure, authenticate, call, and inspect Model Context Protocol (MCP) servers via HTTP or stdio.
Introduction
mcporter is a powerful CLI utility designed to simplify the interaction with Model Context Protocol (MCP) servers. It provides a unified interface for developers and AI agents to manage server lifecycle and tool execution, whether the servers are running locally over stdio or accessed remotely through HTTP endpoints. By abstracting the complexity of the MCP transport layer, mcporter allows users to focus on tool discovery and functional execution.
-
Full support for both stdio and HTTP transport mechanisms for maximum deployment flexibility.
-
Integrated management tools for authentication (OAuth), configuration persistence, and server discovery.
-
Advanced CLI generation capabilities to create custom client interfaces for specific MCP servers.
-
Built-in inspection tools to view schemas and tool definitions, ensuring compatibility and ease of debugging.
-
Daemon management features to start, stop, and monitor background MCP server processes.
-
Native support for JSON-formatted output, making it ideal for automation pipelines and integration with other CLI tools.
-
Use the
listcommand to explore available tools and schemas from any registered MCP server. -
Execute tools directly using the
callcommand, supporting both simple key-value arguments and complex function-call syntax. -
Leverage the daemon mode for long-running server instances, ensuring your tools are always available for agent interactions.
-
Manage complex tool integrations with the
configsuite, which handles login, logout, and environment-specific variable imports. -
For developers, use
emit-tsto automatically generate TypeScript clients or type definitions, drastically reducing boilerplate code when building AI applications on top of the MCP ecosystem. Note that the default configuration is stored at ./config/mcporter.json, but this can be customized using the --config flag for specific environments.
Repository Stats
- Stars
- 366,234
- Forks
- 75,098
- Open Issues
- 6,917
- Language
- TypeScript
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 29, 2026, 02:19 PM