MCPorter
A TypeScript runtime and command-line tool for discovering and calling Model Context Protocol servers from a terminal, a script, or a generated standalone CLI.
MCPorter is a TypeScript runtime and command-line tool for discovering and calling Model Context Protocol servers. It is meant for developers and coding agents that need the same MCP tools available from a terminal, a script, or a generated standalone CLI.
It can inspect a public MCP server to print its tool signatures in TypeScript style, then call one of its tools directly, and it reads project and user configuration to import MCP servers already configured in Cursor, Claude Code and Desktop, Codex, Windsurf, OpenCode, and VS Code. Other commands generate a focused CLI or typed TypeScript clients for a given server, connect ad hoc to a one-off URL or stdio command, complete or seed OAuth credentials, and record and replay a reproducible MCP session; human-readable output goes to standard output by default, with JSON output available for other programs or agents.