mcporter
mcporter
GitHub: https://github.com/openclaw/mcporter
⭐ 星星數: 5086
摘要: MCPorter 是 OpenClaw 團隊推出的 TypeScript runtime 與命令列工具,用於探索與呼叫 Model Context Protocol(MCP)伺服器,讓開發者與 coding agent 能從終端機、腳本或產生的獨立 CLI 使用同一套 MCP 工具。
技術堆疊: TypeScript, Node.js 24+, npm, Homebrew, MCP
架構: 以 TypeScript runtime 包裝 MCP 協定,可把 MCP 伺服器的工具偽裝成一般的 TypeScript API 呼叫,也能打包成獨立的 CLI 程式。核心工作流圍繞幾個命令:mcporter list 探索伺服器與工具並輸出 TypeScript 風格的 tool signatures、mcporter call 與 mcporter resource 呼叫工具及讀取資源,無需本地設定或憑證即可呼叫公開 MCP 伺服器。安裝支援 npx 免安裝試用、npm 全域安裝與 Homebrew,macOS 版本提供簽署過的 binary。