Mcporter MCP Server

MCP servers are orchestrated, generated into CLIs, and type-checked via TypeScript.

Data last scanned last week · Reviewed last month

634,847TypeScriptMIT

Overview

MCPorter provides a runtime and toolkit for interacting with Model Context Protocol servers. It simplifies the developer experience by automatically discovering configured servers, pooling connections, and generating TypeScript interfaces to ensure calls are strongly typed without manual boilerplate. Beyond basic execution, it supports generating standalone CLIs from MCP tools, recording and replaying traffic for offline debugging, and normalizing access to diverse transport layers like stdio, HTTP, and SSE. It is built to integrate with existing editors like Cursor and Claude by importing their configurations.

Our verdict

With a security score of 53/100, this project is considered high risk. The security architecture, specifically authentication, OAuth handling, and read-only mode, has not yet been editorially reviewed. Given the high degree of system access MCP servers can possess, users should exercise caution. While it features an active development cycle and a strong contributor base, it is a community-maintained tool and is not currently vetted for production environments.

  • Supports record and replay of JSON-RPC traffic
  • Generates TypeScript interfaces and standalone CLIs
  • Small dependency footprint with only 9 direct modules
  • Integrates with existing Cursor and Claude configurations
  • Security architecture not yet editorially reviewed
  • Community-maintained without official vendor oversight
  • OAuth and read-only implementation details remain unverified

Setup

Claude Desktop
{
  "mcpServers": {
    "mcporter": {
      "args": [
        "-y",
        "mcporter"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What are the environment requirements for installing MCPorter via npm?

MCPorter requires Node.js version 24 or newer for npm installations.

How can I import existing MCP server configurations from other tools?

MCPorter automatically reads project and user configurations to import servers from Cursor, Claude Code and Desktop, Codex, Windsurf, OpenCode, and VS Code.

Does MCPorter support different types of MCP server connections?

Yes, it supports connections to stdio, Streamable HTTP, and legacy SSE servers.

What is the primary difference between human-readable and program-readable output?

Human-readable output is sent to stdout by default, while JSON output should be used when integrating with other programs or agents that require a stable result format.

How does MCPorter handle authentication for Chrome DevTools?

It uses Browser Relay Authentication v2 over a single loopback socket, requiring the OpenClaw extension relay to manage credentials securely without exposing them to the network or child processes.

What is the purpose of the createRuntime() function in the TypeScript API?

The createRuntime() function is used when a process requires explicit server definitions, connection reuse, or multiple tool calls.

Alternatives

Changelog

Badge

Mcporter MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.