MCPorter CLI
A CLI and TypeScript runtime for calling MCP servers from a terminal, scripts and generated typed clients
- 5,112 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- It calls tools on connected MCP servers, which may have access to external systems and data
Install
- Works in
Manual install
npx mcporter --versionTry it without installing.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- It calls tools on connected MCP servers, which may have access to external systems and data
This is third-party code. Review the repository files before installing.
What it does
MCPorter lets you talk to MCP servers directly, without spinning up a full agent: list a server's tools, call a specific tool with parameters, and get the result in the terminal with one command. It can generate a standalone typed TypeScript client or CLI from an MCP server, and reads existing MCP configs from Claude Code, Cursor, VS Code and Windsurf so connections don't need to be set up again.
Who it is for. For developers writing scripts and integrations on top of MCP servers who want to call their tools directly from the terminal or code.
Good fit when
- You need to quickly check which tools an MCP server exposes and call one
- You need a typed TypeScript client for a specific MCP server in your project
- You need to call MCP tools from a shell script without a full agent
Not a fit when
- You need an MCP server itself, not a client for calling existing ones
- The built-in MCP support in your agent is already enough
Example request
Use mcporter to list this MCP server's tools and call the one I need with these parametersLimitations
Node 24 or newer is required for npm installs. Private MCP servers need their own credentials or tokens passed into the mcporter config separately.
How to disable. Remove it with npm uninstall -g mcporter or brew uninstall mcporter; the config lives in config/mcporter.json and is removed manually.
FAQ
Do I need to install the server I want to call?
No, mcporter talks to an already-running MCP server via its config or URL; it does not start the server itself.
Can it be used without installing?
Yes, npx mcporter list or npx mcporter call work without a global install.
Discussion
No questions or reviews yet.
Related
CLI toolsThe openmcp CLI and a VS Code extension for debugging MCP servers: tools, prompts and resources, chat with a model, test cases
An MCP server that lets an agent read files, search code and run commands in a workspace
A CLI creates a TypeScript MCP server scaffold, adds components and checks schema descriptions before client connection
A plugin with skills for building TypeScript MCP servers and MCP apps: the agent scaffolds, edits, debugs and verifies them
A command-line debugger for MCP servers from Giant Swarm: a REPL for tools, OAuth 2.1 and an MCP server mode for Cursor
A lightweight CLI to discover, inspect and call MCP server tools straight from the shell
README in short
The README presents MCPorter as a TypeScript runtime and CLI for discovering and calling MCP servers from a terminal, a script or a generated client. It shows examples like npx mcporter list against a public server and npx mcporter call for a specific tool with no local setup. The tool supports generating typed clients and importing configs from other MCP-aware apps.