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
CLI

Extended access

Why this level

  • It calls tools on connected MCP servers, which may have access to external systems and data
All reasons and checks

openclaw/mcporter

Install

Manual install

npx mcporter --version

Try it without installing.

Access and checks

How we review

Extended 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 parameters

Limitations

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.

CLI tools

The openmcp CLI and a VS Code extension for debugging MCP servers: tools, prompts and resources, chat with a model, test cases

CLIExtended access750Repository stars

An MCP server that lets an agent read files, search code and run commands in a workspace

MCP serverBroad access1.2KRepository stars

A CLI creates a TypeScript MCP server scaffold, adds components and checks schema descriptions before client connection

CLIExtended access931Repository stars

A plugin with skills for building TypeScript MCP servers and MCP apps: the agent scaffolds, edits, debugs and verifies them

PluginExtended access10.9KRepository stars
Official

A command-line debugger for MCP servers from Giant Swarm: a REPL for tools, OAuth 2.1 and an MCP server mode for Cursor

CLIExtended access38Repository stars

A lightweight CLI to discover, inspect and call MCP server tools straight from the shell

CLIExtended access1.3KRepository stars

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.

README badge

Report a problem