Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Mcporter

MCP server by openclaw Verified · npm:@executor-js

MCPorter is a TypeScript runtime and CLI for discovering and calling Model Context Protocol servers. It is for developers and coding agents that need the same MCP tools in a terminal, script, or generated CLI.

  • Score 94
  • 5.1k stars
  • 1.9k a week
  • MIT
  • Updated

Install Mcporter

Built from the published package, never by AI.

claude mcp add mcporter -- npx -y @executor-js/mcporter

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Mcporter in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcporter block.

About

MCPorter is a TypeScript runtime and command-line tool for discovering and calling Model Context Protocol servers. It can list servers and tools, call tools and read resources, and connect to one-off URLs or stdio commands. It can also generate focused CLIs, TypeScript types and clients, and record or replay MCP sessions.

It reads project and user config and imports MCP servers from Cursor, Claude Code and Desktop, Codex, Windsurf, OpenCode, and VS Code. It connects to stdio, Streamable HTTP, and legacy SSE servers, and includes a keep-alive daemon for pooled connections. It is for developers and coding agents that need the same MCP tools from a terminal, a script, or a generated standalone CLI.

Written from the project's README and checked against it.

Tools it gives your assistant

  • mcporter listLists MCP servers and prints their tool signatures.
  • mcporter callCalls MCP tools from the command line.
  • mcporter resourceReads resources from MCP servers.
  • --http-url and --stdioConnects to a one-off URL or stdio command without configuration.
  • mcporter auth and vaultCompletes or seeds OAuth for MCP servers.
  • mcporter generate-cliGenerates a focused standalone CLI for an MCP server.
  • mcporter emit-tsGenerates TypeScript types or clients for MCP servers.
  • mcporter record and replayCaptures a reproducible MCP session and replays it.
  • createRuntime()TypeScript runtime for explicit server definitions and connection reuse.

What you need

  • Node.js 24 or newer for npm installs

Try asking

  • List the tools on the Context7 MCP server with mcporter
  • Call resolve-library-id on Context7 for React hooks docs
  • Generate a focused CLI for my MCP server with mcporter

Good to know

  • The ${env:VAR} placeholder form is not supported and is rejected with alternatives.
  • Chrome DevTools control with --autoConnect requires a paired OpenClaw extension relay.
  • Live hosted-server tests are opt-in.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Mcporter

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Mcporter: common questions

Which config files does MCPorter read?

It reads project and user config and imports MCP servers from Cursor, Claude Code and Desktop, Codex, Windsurf, OpenCode, and VS Code. Config files accept JSONC and environment placeholders.

Which MCP transports does it support?

It connects to stdio, Streamable HTTP, and legacy SSE servers. It negotiates the 2026-07-28 protocol or a legacy revision per server.

Does the Context7 example need credentials?

The source says the Context7 example works without local configuration or credentials.

How do I install Mcporter?

In Claude Code run claude mcp add mcporter -- npx -y @executor-js/mcporter. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Mcporter the official server?

Mcporter is published by npm:@executor-js from its verified domain in the official MCP Registry.

Is Mcporter free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Mcporter safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Mcporter?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Mcporter work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Mcporter Install

Add to stack

Loading.