Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CDP_PORTSNo会话临时端口池(ZCode/cdpcc 从中 pick 空闲,进租约)9223 9224 9225 9226 9227 9228 9229
CDP_TAKEOVERNo指向 cdp-takeover 脚本bin/cdp-takeover(与 proxy 同目录)
CDP_LOCK_ROOTNo端口租约锁目录(<port>.lock/owner.json)/tmp/zcode-cdp/ports
CDP_HARD_KILL_MSNo硬看门狗:worker 线程 N 秒无心跳即 SIGKILL 主进程(免疫 busy-loop 卡死)60000(60 s)
CDP_SCRIPT_PORTSNo脚本固定端口(durable,不进 pick 池)9324 9326
CDP_BUF_MAX_BYTESNobackend stdout 缓冲上限2097152(2 MB)
CDP_HARD_CPU_TRIESNo滑动窗口(2*N 次采样)内 ≥ N 次超阈值 → SIGKILL(容忍间歇 busy-loop 的间隙样本)5
CDP_WATCHDOG_TRIESNo软看门狗:连续触发次数3
CDP_HEALTH_CHECK_MSNo健康检查轮询间隔5000
CDP_INBUF_MAX_BYTESNostdin inBuf 上限(防无换行堆积)2097152(2 MB)
CDP_WATCHDOG_LAG_MSNo软看门狗:事件循环延迟阈值2000
CDP_STARTUP_GRACE_MSNo启动宽限期(lease 判定新锁不算 stale)8000
CDP_ORPHAN_TIMEOUT_MSNo孤儿 Chrome(owner 已死、Chrome 还在)超时回收1800000(30 min)
CDP_OUTPUT_RATE_LIMITNobackend stdout 限流(行/秒)500
CDP_STALE_LOCK_AGE_MSNo锁龄超过此值且 owner 已死 → 视为 stale 回收30000
CDP_STDERR_RATE_LIMITNobackend stderr 限流(段/秒)200
CDP_HARD_CPU_THRESHOLDNo硬看门狗 CPU 检测:主进程 CPU% 超此值视为 busy-loop85
CDP_PLAYWRIGHT_MCP_CLINo指向 @playwright/mcp 的 cli.js 绝对路径自动发现(require.resolve("@playwright/mcp/cli.js"),兜底常见全局路径)
CDP_PLACEHOLDER_ENDPOINTNoREADY_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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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