Stack Gems
Menu
← Catalog

mcporter

MIT MCP as CLI + generate-cli / emit-ts (OpenClaw)

AI Agents / MCP · OSS/MIT · 5.1k

Reviewed 2026-09-15 · last push 2026-10-19 · repo checked 2026-10-19

What's Good

MIT (openclaw/mcporter). npm `mcporter`. Masquerade MCP tools as simple TypeScript calls, or emit CLI wrappers so agents shell out instead of stuffing schemas every turn. Docs at mcporter.sh. Fits OpenClaw-shaped agent workflows and plain Node scripts alike.

The Catch

Vs mcp2cli (runtime MCP/OpenAPI→CLI, zero codegen): mcporter leans generate-cli/emit-ts packaging and TS API shape — pick based on whether you want codegen’d CLIs vs pure runtime discovery. You still trust the MCP servers you wrap. Not an MCP transport gateway (see SuperGateway/mcp-remote).

Verdict

MIT MCP→CLI/TS kit. Generate or call; different shape than mcp2cli runtime façade.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/mcporter.svg)](https://stackgems.com/gems/mcporter)

HTML

<a href="https://stackgems.com/gems/mcporter"><img src="https://stackgems.com/badge/mcporter.svg" alt="mcporter reviewed on Stack Gems" height="20"></a>