# openclaw/mcporter

Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them as cli.

Repository: https://github.com/openclaw/mcporter
Canonical: https://ross.abutalabs.com/products/mcporter
Homepage: https://mcporter.sh
Language: TypeScript
License: MIT
License Family: permissive
Topics: cli, mcp, ts-api
Last push: 2026-08-21T07:46:52+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 98, longevity 21
- inputs: {"age_days": 301, "days_push": 12, "days_rel": 19, "gap_med": 0.0, "n_releases_24m": 51}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4960, forks 335 (observed 2026-08-28T04:09:03.886307+00:00)

## What it is
MCPorter is a TypeScript runtime and CLI for discovering, inspecting, and calling Model Context Protocol (MCP) servers without boilerplate. It can generate standalone CLIs and typed TypeScript clients for any MCP server, with zero-config discovery of servers already configured in tools like Cursor, Claude Code, Codex, Windsurf, OpenCode, and VS Code.

## Use cases
- call MCP server tools from a terminal or script
- list and inspect tools exposed by MCP servers
- generate a standalone CLI for an MCP server
- generate typed TypeScript clients for MCP tools
- connect AI agents to MCP servers with a typed function-call surface
- handle OAuth authentication for MCP servers
- read MCP resources from the command line

## When to choose
- you want to call MCP tools from scripts, CLIs, or agents without writing protocol boilerplate
- you need to discover MCP servers already configured in your AI coding tools
- you want to ship a focused standalone CLI wrapping a specific MCP server
- you need typed TypeScript clients or .d.ts definitions for MCP tools

## When to avoid
- you need an MCP server implementation rather than a client
- your environment cannot run Node 24+ or Bun
- you only need a GUI for interacting with MCP servers

## Facets
- artifact type: cli-tool
- maturity: active
- function: mcp, cli, sdk, developer-tools, agent-framework
- domain: developer-tools, artificial-intelligence
- platform: cli, cross-platform, bun
- tags: model-context-protocol, mcp-client, code-generation, typed-clients, oauth, stdio, http-transport, typescript-runtime, command-line, ai-agents, automation, nodejs, macos

## Member repositories
- openclaw/mcporter (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.886307+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:48.316726+00:00, confidence not recorded.
  - readme: https://github.com/openclaw/mcporter (fetched 2026-08-28T04:09:03.886307+00:00, sha 481a13da4d8b)
  - homepage: https://mcporter.sh (fetched 2026-08-29T08:59:33.406158+00:00, sha 82d4334222fa)
  - site_page: https://mcporter.sh/install.html (fetched 2026-08-29T08:59:33.415523+00:00, sha a958358b2d36)
  - site_page: https://mcporter.sh/quickstart.html (fetched 2026-08-29T08:59:33.417591+00:00, sha 23d7c528ed5a)
  - registry_npm: https://registry.npmjs.org/mcporter (fetched 2026-08-29T08:59:33.419478+00:00, sha a27a65971c94)
- Data as of 2026-08-30T08:39:29.467469+00:00.
