{"_id":"@codon/mcporter-bridge-lite","name":"@codon/mcporter-bridge-lite","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@codon/mcporter-bridge-lite","version":"0.1.0","description":"MCP stdio bridge that delegates to the mcporter CLI","type":"module","bin":{"mcporter-bridge-lite":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","clean":"rm -rf dist"},"engines":{"node":">=18.0.0"},"keywords":["mcp","mcporter","bridge","ai-tools"],"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.17.4","zod":"^4.1.11"},"devDependencies":{"@types/node":"^22.10.0","tsx":"^4.19.0","typescript":"^5.7.0"},"_id":"@codon/mcporter-bridge-lite@0.1.0","gitHead":"1ad8b359550fe3e26a12530e3608edafe1f9a5a1","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-UnsGEiEqF4f2e8SqyfXVjALsQPkCl2/YOOxDMI2i1YuRiZu9Dfx0s03zOz9iqdlfVz4q+rbCGL2xLVn7jerDag==","shasum":"393244038a5c3657cf25ed29b70605e46898d9e7","tarball":"https://registry.npmjs.org/@codon/mcporter-bridge-lite/-/mcporter-bridge-lite-0.1.0.tgz","fileCount":6,"unpackedSize":11867,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDtrnmjAKUjEPfFYmTAeyjOCfRvMIgYNiGSoGx347WZkgIgbXUFAXZUzbBTrEinEkga1ViYHMHxMJv+j5ckFw48oV0="}]},"_npmUser":{"name":"codon","email":"1554095532@qq.com"},"directories":{},"maintainers":[{"name":"codon","email":"1554095532@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcporter-bridge-lite_0.1.0_1774517086733_0.8898442830784008"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-26T09:24:46.672Z","0.1.0":"2026-03-26T09:24:46.868Z","modified":"2026-03-26T09:24:47.020Z"},"maintainers":[{"name":"codon","email":"1554095532@qq.com"}],"description":"MCP stdio bridge that delegates to the mcporter CLI","keywords":["mcp","mcporter","bridge","ai-tools"],"license":"MIT","readme":"# @codon/mcporter-bridge-lite\n\nAn MCP (Model Context Protocol) stdio server that bridges to the [mcporter](https://github.com/nicepkg/mcporter) CLI. It lets any MCP client — like Cursor, Claude Desktop, or Continue — list servers, inspect tool schemas, and call tools managed by mcporter, all through a single lightweight process.\n\n## Prerequisites\n\n- **Node.js** >= 18\n- **mcporter** CLI installed and available on `PATH` (or set `MCPORTER_BIN`)\n\n## Installation\n\n```bash\nnpm install -g @codon/mcporter-bridge-lite\n```\n\nOr run directly with npx:\n\n```bash\nnpx @codon/mcporter-bridge-lite\n```\n\n## Configuration\n\n### Cursor\n\nAdd to your `~/.cursor/mcp.json`:\n\n```json\n{\n  \"mcServers\": {\n    \"mcporter\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@codon/mcporter-bridge-lite\"]\n    }\n  }\n}\n```\n\n### Claude Desktop\n\nAdd to your Claude Desktop config:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcporter\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@codon/mcporter-bridge-lite\"]\n    }\n  }\n}\n```\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `MCPORTER_BIN` | `mcporter` | Path to the mcporter binary |\n\n## Tools\n\n### `mcporter_list_servers`\n\nList all MCP servers known to mcporter.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `timeoutMs` | number | No | Command timeout in milliseconds (default: 30000) |\n\n### `mcporter_help`\n\nShow tool schema and documentation for a specific MCP server.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `server` | string | Yes | MCP server name, e.g. `dingtalk-ai-table` |\n| `timeoutMs` | number | No | Command timeout in milliseconds |\n\n### `mcporter_call_tool`\n\nCall a tool on a mcporter-managed MCP server.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `server` | string | Yes | MCP server name |\n| `tool` | string | Yes | Tool name inside the MCP server |\n| `argsJson` | string | No | JSON string of arguments |\n| `timeoutMs` | number | No | Command timeout in milliseconds |\n\n---\n\n## 中文说明\n\n一个轻量级的 MCP (Model Context Protocol) stdio 服务器，作为 [mcporter](https://github.com/nicepkg/mcporter) CLI 的桥接层。它允许任何 MCP 客户端（如 Cursor、Claude Desktop、Continue）通过一个进程即可列出服务器、查看工具定义和调用 mcporter 管理的工具。\n\n### 前置条件\n\n- **Node.js** >= 18\n- **mcporter** CLI 已安装并在 `PATH` 中可用（或通过 `MCPORTER_BIN` 环境变量指定路径）\n\n### 安装\n\n```bash\nnpm install -g @codon/mcporter-bridge-lite\n```\n\n或通过 npx 直接运行：\n\n```bash\nnpx @codon/mcporter-bridge-lite\n```\n\n### 配置\n\n在 Cursor 的 `~/.cursor/mcp.json` 中添加：\n\n```json\n{\n  \"mcServers\": {\n    \"mcporter\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@codon/mcporter-bridge-lite\"]\n    }\n  }\n}\n```\n\n### 环境变量\n\n| 变量 | 默认值 | 说明 |\n|------|--------|------|\n| `MCPORTER_BIN` | `mcporter` | mcporter 可执行文件路径 |\n\n### 提供的工具\n\n| 工具 | 说明 |\n|------|------|\n| `mcporter_list_servers` | 列出 mcporter 已知的所有 MCP 服务器 |\n| `mcporter_help` | 查看指定 MCP 服务器的工具定义和文档 |\n| `mcporter_call_tool` | 调用 mcporter 管理的某个 MCP 工具 |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-c70ec9a8a3d4ccd80599ea3bf43771b3"}