
mcporter
github.com/openclaw/mcporter- Category
- Developer Tools
- Rank
- No. 299Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- openclaw
- GitHub
- 5.0k stars
- Latest release
- v0.13.10
- Date
About
OpenClaw's TypeScript bridge for MCPs — call any Model Context Protocol server as if it were a plain TypeScript API, or repackage as a CLI.
What it does
MCPorter gives developers one operating layer for finding, authenticating with, and using MCP servers. It reads its own configuration plus definitions from several coding clients. You can inspect tools, invoke them, read resources, preserve long-running connections, or record sessions for later replay.
Why it's ranked here
The appeal is breadth with a coherent workflow. One tool covers discovery, calls, resources, OAuth, configuration imports, typed client generation, focused command-line generation, session replay, and server bridging. The repository also describes end-to-end protocol fixtures and strict checks before publishing. The main reservation is its demanding runtime baseline and substantial operational scope.
What's good
It supports stdio, Streamable HTTP, and legacy SSE servers. Human-readable output suits terminal work, while JSON supports scripts and agents. Configuration accepts JSON with comments, environment substitution, tool filters, OAuth settings, and lifecycle rules. Connection reuse and a keep-alive daemon reduce repeated startup costs for selected servers.
Tradeoffs
Node 24 or newer is required for npm installs. The large feature surface brings configuration precedence, credential storage, daemon behavior, protocol negotiation, and lifecycle policy into one tool. Headless and daemon-managed calls decline interactive requests. Chrome relay integration also depends on OpenClaw's newer relay capability for its authenticated path.
How to use it well
Use it when developers and coding agents need the same MCP servers across terminal exploration, automation, and TypeScript applications. Start by listing tool signatures, switch to JSON for automation, and keep connections alive only where startup cost warrants it. It does not replace the MCP servers or supply their underlying tools.
Technical notes+
package.json defines an ESM package, a public npm release surface, Node >=24, a CLI binary, library exports, TypeScript declarations, pnpm scripts, and prepublish checks. src/index.ts exposes the runtime, one-shot calls, result wrappers, elicitation responders, proxy support, and daemon helpers. src/runtime.ts implements pooled connections, tool filtering, resources, cached authentication controls, timeouts, and record or replay selection. src/config.ts merges imported and local definitions, with local entries winning. src/oauth.ts handles browser-based authorization and loopback callbacks across macOS, Windows, and other desktop environments. src/oauth-vault.ts persists credentials under locking, while src/fs-json.ts provides atomic writes and stale-lock recovery. src/serve.ts republishes keep-alive servers over stdio or HTTP and namespaces bridged tools.
Observed
- License
- MIT
- Primary language
- TypeScript
- Install surface
- npx trial, global npm install, Homebrew, project dependency, and signed macOS binaries
- Interfaces
- Command-line tool, TypeScript library, generated standalone CLI, and MCP bridge
- Transport support
- stdio, Streamable HTTP, and legacy SSE
- Runtime requirement
- Node 24 or newer for npm installs
- Package format
- Public ESM npm package with TypeScript declarations
Read from README.md, package.json, src/cli.ts, src/index.ts, src/env.ts, src/oauth.ts, src/paths.ts, src/serve.ts, src/config.ts, src/fs-json.ts, src/logging.ts, src/runtime.ts, src/version.ts, src/lifecycle.ts, src/oauth-vault.ts.
What it can do
Call Model Context Protocol servers as TypeScript APIs
MCP server endpoints and TypeScript code → TypeScript API responses
Bridge MCP servers to TypeScript applications
MCP server configuration and TypeScript project → Integrated TypeScript application with MCP functionality
Convert MCP servers to CLI tools
MCP server definition → Command-line interface application
Repackage MCP functionality as standalone APIs
MCP server capabilities → Standalone API endpoints
Generate TypeScript bindings for MCP protocols
MCP protocol specifications → TypeScript interface definitions and bindings
Tags
Tech Stack
Media

Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.