经 AI Skill Hub 精选评估,MCP TypeScript调用器 获评「强烈推荐」。已获得 4.5k 颗 GitHub Star,这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
MCP TypeScript调用器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
MCP TypeScript调用器 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/openclaw/mcporter
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp-typescript---": {
"command": "npx",
"args": ["-y", "mcporter"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP TypeScript调用器 执行以下任务... Claude: [自动调用 MCP TypeScript调用器 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp_typescript___": {
"command": "npx",
"args": ["-y", "mcporter"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="mcporter.png" alt="MCPorter header banner" width="1100"> </p>
MCPorter is a TypeScript runtime and command-line tool for discovering and calling Model Context Protocol servers. It is for developers and coding agents that need the same MCP tools from a terminal, a script, or a generated standalone CLI.
Try the CLI without installing it:
npx mcporter --version
Install it for repeated command-line use:
```sh brew install steipete/tap/mcporter
Inspect a public MCP server, then call one of its tools:
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
The first command prints the server's TypeScript-style tool signatures. The second returns matching Context7 library IDs without requiring local configuration or credentials. See the five-minute quickstart for resources, generated CLIs, and typed clients.
MCPorter reads project and user config, then imports MCP servers from Cursor, Claude Code and Desktop, Codex, Windsurf, OpenCode, and VS Code. A minimal config/mcporter.json looks like this:
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}
Config files accept JSONC, environment placeholders (${VAR}, ${VAR:-fallback}, or whole-value $env:VAR), HTTP and stdio definitions, OAuth settings, tool filters, and lifecycle policy. The configuration guide defines precedence and the full schema; the import reference lists every discovered client format. The ${env:VAR} form used by some MCP clients is not supported; mcporter rejects it with the accepted alternatives instead of sending it literally.
Chrome DevTools definitions using --autoConnect can control Chrome through a paired OpenClaw extension relay. MCPorter discovers OpenClaw's active extension relay endpoint, while preserving an explicit MCPORTER_CHROME_DEVTOOLS_RELAY_URL override and the legacy 127.0.0.1:18799 fallback. It uses Browser Relay Authentication v2 over one retained loopback socket, keeps the host key out of the network and child process, and gives chrome-devtools-mcp a credential-free loopback URL plus ephemeral authorization through an OS-protected preload handoff. Old relay authentication is never retried. Routing defaults to prefer, which may fall back only to Chrome's original auto-connect path; require fails closed and off keeps original auto-connect.
| Goal | Command or API | Details |
|---|---|---|
| Discover servers and tools | mcporter list | [CLI reference](docs/cli-reference.md) |
| Call tools and read resources | mcporter call, mcporter resource | [Call syntax](docs/call-syntax.md) |
| Connect to a one-off URL or stdio command | --http-url, --stdio | [Ad-hoc servers](docs/adhoc.md) |
| Complete or seed OAuth | mcporter auth, mcporter vault | [Configuration](docs/config.md) |
| Generate a focused CLI | mcporter generate-cli | [CLI generator](docs/cli-generator.md) |
| Generate TypeScript types or clients | mcporter emit-ts | [Typed clients](docs/emit-ts.md) |
| Capture a reproducible MCP session | mcporter record, mcporter replay | [Record and replay](docs/record-replay.md) |
Human-readable output goes to stdout by default. Use JSON output when another program or agent needs a stable result, and consult mcporter <command> --help for the flags supported by that command.
MCPorter 是一个 TypeScript 或 CLI 的 MCP 调用工具,提供零配置发现和一键 CLI 生成功能。它支持多种 MCP 服务,包括 Cursor、Claude、Codex、Windsurf 和 OpenCode 等。
MCPorter 的关键功能包括零配置发现、一个命令 CLI 生成、桥接模式、无头 OAuth、HTTP 兼容性和安全的写入功能。它还支持多种 MCP 服务和环境变量的使用。
MCPorter 需要 LINEAR_API_KEY 来使用 Linear 搜索文档功能。需要安装 npm 和 Docker 等依赖包。
MCPorter 可以通过 npm 全局安装,或者使用 Docker 镜像部署。还支持源码安装和 pip 安装等方式。
MCPorter 的使用教程包括快速启动、命令参考和配置管理。用户可以使用 `npx` 命令尝试 MCPorter 的功能,或者查看文档获取更多信息。
MCPorter 的配置文件支持 JSONC 格式,用户可以使用 `mcporter config` 命令管理配置文件。配置文件包括 MCP 服务、环境变量和关键参数等。
MCPorter 提供了一个 Types-only 接口,用户可以使用 `npx mcporter emit-ts` 命令生成类型定义文件。还支持 CLI 生成和 API 接口等功能。
MCPorter 的 FAQ 摘要包括常见问题和解决方案等信息。用户可以通过查看 FAQ 来获取更多信息。
高星项目,TypeScript生态实用工具。MCP协议���装得当,API设计简洁易用。社区活跃度高,适合现代应用开发。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:MCP TypeScript调用器 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | mcporter |
| 原始描述 | 开源MCP工具:Call MCPs via TypeScript, masquerading as simple TypeScript API. Or package them。⭐4.5k · TypeScript |
| Topics | MCP协议TypeScriptAPI封装CLI工具开源 |
| GitHub | https://github.com/openclaw/mcporter |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-20 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端