MycelMycel
首页/MCP Server 目录/portofcontext/pctx

portofcontext/pctx

❌ 实测失败serverRustMIT★ 285

pctx is the execution layer for agentic tool calls. It auto-converts agent tools and MCP servers into code that runs in secure sandboxes for token-efficient workflows.

实测结果

失败
沙箱内启动/握手失败,下方给出失败阶段与原始报错。失败阶段:initialize,错误类型:entrypoint_not_found。这类信息对判断“是不是我这边的环境问题”很有用,原始报错见下。

error_type: entrypoint_not_found

ch file or directory, mkdir '/work/node_modules/@portofcontext/pctx/node_modules/.bin_real'
    at mkdirSync (node:fs:1370:26)
    at new Package (/work/node_modules/@portofcontext/pctx/binary-install.js:60:7)
    at getPackage (/work/node_modules/@portofcontext/pctx/binary.js:99:16)
    at run (/work/node_modules/@portofcontext/pctx/binary.js:116:19)
    at Object.<anonymous> (/work/node_modules/@portofcontext/pctx/run-pctx.js:4:1)
    at Module._compile (node:internal/modules/cjs/loader:1781:14)
    at Object..js (node:internal/modules/cjs/loader:1913:10)
    at Module.load (node:internal/modules/cjs/loader:1505:32)
    at Function._load (node:internal/modules/cjs/loader:1309:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:254:19) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: '/work/node_modules/@portofcontext/pctx/node_modules/.bin_real'
}

Node.js v22.23.4
安装方式
npx
包名
@portofcontext/pctx
解析依据
npm registry match (has bin)
沙箱
docker
总耗时
11490 ms
安装耗时
10253 ms
工作目录
19 MB
探针版本
1.0.0
实测时间
2026-11-11 17:49:27

如何使用

❌ 实测失败entrypoint_not_found · ch file or directory, mkdir '/work/node_modules/@portofcontext/pctx/node_modules/.bin_real';下面配置仅供参考,跑不跑得通取决于你的环境

1安装 / 启动命令npm / npx

npx -y @portofcontext/pctx

2客户端配置Claude Desktop / Cursor

{
  "mcpServers": {
    "portofcontext-pctx": {
      "command": "npx",
      "args": [
        "-y",
        "@portofcontext/pctx"
      ]
    }
  }
}

整段粘进 claude_desktop_config.json 的 mcpServers 里(Cursor 用 ~/.cursor/mcp.json),保存后重启客户端。

安装方式来源:npm registry match (has bin),沙箱实测未通过。

仓库信息

全名
portofcontext/pctx
分类
server
Stars
285
Forks
40
主要语言
Rust
License
MIT
最近推送
2026-11-05
仓库创建
2025-11-04
首次收录
2026-11-10
最近抓取
2026-11-10
#ai-agents#api#infrastructure#local-development#mcp#mcp-server#open-source