@apex-inc/mcp-服务器
Apex 的 MCP 服务器. 您的编码代理对同样的顶端 仪表板使用.
从顶端安装
- 打开 设置 ~ AI 代理。 。 。 .
- 离开 设备流动 选中 .
- 点击 在光标中安装 或者说 在 VS 代码中安装。 。 。 .
文件中没有键。 第一个Apex工具调用打印一个批准链接.
手动配置
添加为 .cursor/mcp.json (或你的MCP客户端的等同). 这些 npx 需要论证.
{
"mcpServers": {
"apex": {
"command": "npx",
"args": ["-y", "-p", "@apex-inc/mcp-server@latest", "mcp-server"],
"env": {
"APEX_URL": "https://app.apex.inc",
"APEX_WORKSPACE_KEY": "your-workspace-key"
}
}
}
}
对于静态键(CI,或已锁定的笔记本电脑),添加 APEX_API_KEY (单位:千美元)apex_uk_… 或者说 apex_sk_…) (中文(简体) ). 打开它 设置 ~ AI 代理。 。 。 .
| 变量 | 需求 | 页:1 |
|---|---|---|
APEX_URL | 没有 | 默认为 https://app.apex.inc设置 http://localhost:3000 当地顶级. |
APEX_WORKSPACE_KEY | 没有 | 开店了. APEX_PROJECT_KEY 是个老名字 还能用. |
APEX_API_KEY | 没有 | 使用设备流时关闭. |
编辑工具列表是活目录. 在博客文章中不要将短列表当作计数 .
屏幕截图 CLI
剧作家运行 他们的 机器,然后图片上传。 顶端不能在产品上签字.
# Experiment arm (public or localhost)
npx @apex-inc/mcp-server screenshot \
--experiment <id> --variant control --url https://example.com --preview
# Milestone still — signed-in product
npx playwright codegen --save-storage .apex/auth.json https://app.theirproduct.com
npx @apex-inc/mcp-server screenshot \
--milestone <id> --state not_yet --url https://app.theirproduct.com/reports \
--storage-state .apex/auth.json
npx @apex-inc/mcp-server screenshot \
--milestone <id> --state done --url https://app.theirproduct.com/reports \
--storage-state .apex/auth.json
--storage-state 是此机上的登录文件。 Apex从来没有收到过它——只有照片. 安装 Playwright 一次 : npm i -D playwright && npx playwright install chromium。 。 。 .
许可证
麻省理工学院——见 自由主义