zcode-cdp
by Lumos-789
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CDP_PORTS | No | 会话临时端口池(ZCode/cdpcc 从中 pick 空闲,进租约) | 9223 9224 9225 9226 9227 9228 9229 |
| CDP_TAKEOVER | No | 指向 cdp-takeover 脚本 | bin/cdp-takeover(与 proxy 同目录) |
| CDP_LOCK_ROOT | No | 端口租约锁目录(<port>.lock/owner.json) | /tmp/zcode-cdp/ports |
| CDP_HARD_KILL_MS | No | 硬看门狗:worker 线程 N 秒无心跳即 SIGKILL 主进程(免疫 busy-loop 卡死) | 60000(60 s) |
| CDP_SCRIPT_PORTS | No | 脚本固定端口(durable,不进 pick 池) | 9324 9326 |
| CDP_BUF_MAX_BYTES | No | backend stdout 缓冲上限 | 2097152(2 MB) |
| CDP_HARD_CPU_TRIES | No | 滑动窗口(2*N 次采样)内 ≥ N 次超阈值 → SIGKILL(容忍间歇 busy-loop 的间隙样本) | 5 |
| CDP_WATCHDOG_TRIES | No | 软看门狗:连续触发次数 | 3 |
| CDP_HEALTH_CHECK_MS | No | 健康检查轮询间隔 | 5000 |
| CDP_INBUF_MAX_BYTES | No | stdin inBuf 上限(防无换行堆积) | 2097152(2 MB) |
| CDP_WATCHDOG_LAG_MS | No | 软看门狗:事件循环延迟阈值 | 2000 |
| CDP_STARTUP_GRACE_MS | No | 启动宽限期(lease 判定新锁不算 stale) | 8000 |
| CDP_ORPHAN_TIMEOUT_MS | No | 孤儿 Chrome(owner 已死、Chrome 还在)超时回收 | 1800000(30 min) |
| CDP_OUTPUT_RATE_LIMIT | No | backend stdout 限流(行/秒) | 500 |
| CDP_STALE_LOCK_AGE_MS | No | 锁龄超过此值且 owner 已死 → 视为 stale 回收 | 30000 |
| CDP_STDERR_RATE_LIMIT | No | backend stderr 限流(段/秒) | 200 |
| CDP_HARD_CPU_THRESHOLD | No | 硬看门狗 CPU 检测:主进程 CPU% 超此值视为 busy-loop | 85 |
| CDP_PLAYWRIGHT_MCP_CLI | No | 指向 @playwright/mcp 的 cli.js 绝对路径 | 自动发现(require.resolve("@playwright/mcp/cli.js"),兜底常见全局路径) |
| CDP_PLACEHOLDER_ENDPOINT | No | READY_IDLE 占位 backend 指向的无效地址(确保不真连浏览器) | http://127.0.0.1:1 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lumos-789/zcode-cdp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server