LibreAI / Développement / mcporter
// devtools · openclaw/mcporter

mcporter

mcporter est un projet de développement open source, créé par openclaw (openclaw/mcporter sur GitHub). Il compte 5 053 étoiles sur GitHub et 349 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 7 octobre 2026.

Call MCP servers from TypeScript or the CLI — MCP tools disguised as a simple TypeScript API.

★ 5,1 k étoiles⑂ 349 forksMITmis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
5 053
Forks
349
Licence
MIT
Dernière mise à jour sur GitHub
7 octobre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Clarify which MCP servers you need to call

    List the servers (local stdio or remote HTTP) whose tools you want from scripts or a CLI.

  2. Install mcporter

    Run it with npx, install the Homebrew tap, or install it globally from npm.

  3. Configure or discover servers

    Let mcporter discover your existing client configs, or write a config file with HTTP/stdio definitions, env placeholders and OAuth settings.

  4. Call your first tool

    List a server's tools, then call one from the CLI or from TypeScript with the server proxy.

// fonctionnalités

Pourquoi on l'adore

TypeScript-native calling

createServerProxy maps MCP tool names to callable camelCase properties, with results wrapped as text, Markdown, JSON, image or raw content helpers.

CLI packaging

Any MCP server can be exercised — and packaged — as a command-line tool, one call or long-lived.

All transports

Connects to stdio, Streamable HTTP and legacy SSE servers, negotiating the current or legacy MCP protocol revisions per server.

Config discovery and import

Imports server definitions from the MCP client formats you already use; config files accept JSONC, environment placeholders, OAuth settings, tool filters and lifecycle policy.

Long-lived server handling

Keeps persistent connections to long-lived servers for interactive workflows, including answering form and URL elicitations from the CLI.

One-off calls

callOnce handles a single configured call with clean setup and teardown for scripts and cron-style jobs.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Clone MCPorter if you want the source; most users run it via npx.

    git clone https://github.com/openclaw/mcporter.git
    cd mcporter
  2. Install mcporter

    Install globally from npm, or via the Homebrew tap.

    npm install -g mcporter
    # or: brew install steipete/tap/mcporter
  3. List and call a tool

    Inspect a remote MCP server's tools and call one directly from the CLI.

    npx mcporter list https://mcp.context7.com/mcp --brief
    npx mcporter call https://mcp.context7.com/mcp.resolve-library-id query="React hooks docs" libraryName=react
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains MCPorter?

MCPorter is maintained by openclaw and contributors; its site is mcporter.sh.

Is MCPorter free?

Yes — it is open source under the MIT license.

Does it need a paid API key?

No. MCPorter is a client-side tool; the MCP servers you call may have their own auth, which mcporter's config supports via env placeholders and OAuth settings.

How does it compare to using an MCP client app?

Client apps are interactive hosts for models; MCPorter is for code and shell — calling MCP tools from TypeScript or CLI scripts deterministically, without a chat UI.

How do I get started?

npx mcporter list against any MCP server URL to see its tools, then npx mcporter call to invoke one.

// continuez l'exploration

Outils similaires

Développement

cli-printing-press

Generates agent-first Go CLIs (plus MCP servers) for any API or website — with local SQLite sync built in

★ 4,8 k étoilesMIT
Voir le guide →
Développement

cortex

Generate interactive API docs, typed SDKs in 12 languages and MCP servers from your API specs.

★ 3,2 k étoilesMIT
Voir le guide →
Développement

ddgs

A Python metasearch library aggregating many web search services — plus CLI, API and MCP server

★ 3,0 k étoilesMIT
Voir le guide →
Développement

judge0

Judge0 is a robust, scalable, open-source online code execution system with a simple HTTP API

★ 4,5 k étoilesGPL-3.0
Voir le guide →
Développement

inspector

MCPJam Inspector: chat with, inspect, debug, and evaluate MCP servers across clients and models.

★ 2,2 k étoilesApache-2.0
Voir le guide →
Développement

mcp-unifi-applications

Query the UniFi API docs through your AI agent.

★ 39 étoilesMIT
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si mcporter ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de mcporter — continuez à explorer de part et d'autre.

Obtenir mcporter

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.