Browser automation CLI on raw CDP — no Puppeteer, Playwright or Selenium, 0 npm dependencies. 70+ commands, test assertions, click/fill by visible text without an LLM, and an MCP server for AI coding agents.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add cdpilot -- npx -y cdpilot~/.codex/config.toml
[mcp_servers.cdpilot]
command = "npx"
args = ["-y", "cdpilot"]
# codex mcp add cdpilot -- npx -y cdpilot~/.cursor/mcp.json
{
"mcpServers": {
"cdpilot": {
"command": "npx",
"args": [
"-y",
"cdpilot"
]
}
}
}.vscode/mcp.json
{
"servers": {
"cdpilot": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"cdpilot"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cdpilot": {
"command": "npx",
"args": [
"-y",
"cdpilot"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cdpilot": {
"command": "npx",
"args": [
"-y",
"cdpilot"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cdpilot": {
"command": "npx",
"args": [
"-y",
"cdpilot"
]
}
}
}