mcporter
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
How to use
Zainstaluj mcporter za pomocą Node.js: npm install -g mcporter. Narzędzie będzie dostępne jako komenda mcporter w terminalu.
Wyświetl listę dostępnych serwerów i narzędzi: mcporter list. Aby zobaczyć schemat konkretnego serwera, użyj mcporter list
--schema. Skonfiguruj autoryzację dla serwerów wymagających uwierzytelnienia: mcporter auth
lub mcporter auth . Flaga --reset pozwala zresetować istniejące dane logowania. Wywoływaj narzędzia bezpośrednio z wiersza poleceń. Podstawowa składnia: mcporter call <serwer.narzędzie> parametr=wartość. Możesz też użyć składni funkcji: mcporter call "linear.create_issue(title: "Bug")" lub przekazać JSON: mcporter call <serwer.narzędzie> --args '{"limit":5}'.
Dla serwerów stdio (np. skrypty Node.js) użyj: mcporter call --stdio "bun run ./server.ts" nazwa_narzędzia parametr=wartość.
Wygeneruj kod TypeScript lub CLI dla wybranego serwera: mcporter generate-cli --server
lub mcporter emit-ts --mode client|types. Konfiguracja domyślnie zapisywana jest w ./config/mcporter.json.