# MCPorter

> Calls any MCP server from the terminal or TypeScript: lists and calls tools, handles OAuth, and generates standalone CLIs and typed clients.

## Facts

- **Provider:** [OpenClaw](https://github.com/openclaw)
- **Homepage:** https://mcporter.sh
- **Official:** No
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-28
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** cli, api
- **Auth:** None (`none`)
- **Categories:** Code & DevTools (`code-devtools`), Infrastructure & Ops (`infrastructure`)
- **Tags:** mcp-client, mcp-cli, typescript, cli-generator, typed-clients, oauth, open-source
- **Streaming:** No · **Push notifications:** No

## Use it now

### CLI
- **Install (npm):** `npm install -g mcporter`
- **Docs:** https://mcporter.sh/quickstart.html

### API
- **Auth:** None needed
- **Docs:** https://mcporter.sh/quickstart.html

## Try this first

Ask your coding agent:

- Use MCPorter to list configured MCP servers and their tools: ‹what you need›
- Use MCPorter to call an MCP tool: ‹what you need›
- Use MCPorter to generate a standalone, ready-to-run CLI for any MCP server: ‹what you need›

## Limitations

- no MCP server

## Skills (5)

- **List Servers** (`list-servers`): Lists configured MCP servers and their tools with TypeScript-style signatures, importing configs from Cursor, Claude, and Codex.
- **Call Tool** (`call-tool`): Calls an MCP tool or reads a resource from the command line with colon flags or function-call syntax, with stable JSON output.
- **Generate CLI** (`generate-cli`): Generates a standalone, ready-to-run CLI for any MCP server, with embedded schemas and optional bundling into one binary.
- **Emit Typed Client** (`emit-typed-client`): Emits TypeScript .d.ts interfaces or a typed client so agents and tests call MCP tools like normal functions.
- **OAuth Sign-In** (`oauth-sign-in`): Signs in to hosted MCP servers that need a browser login with mcporter auth, then caches and refreshes the OAuth tokens.

## Alternatives

- [mcp-remote](https://agentswitchboard.dev/agents/mcp-remote.md) (`mcp-remote`): Both offer CLI. In common: oauth sign.
- [CLI-Anything](https://agentswitchboard.dev/agents/cli-anything.md) (`cli-anything`): Both offer CLI. In common: generator, generate.

Compare side by side: https://agentswitchboard.dev/compare?a=mcporter&b=mcp-remote&c=cli-anything

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/mcporter
- Alternatives JSON: https://agentswitchboard.dev/api/agents/mcporter/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/mcporter
