# 安装 PlanWright

- 类型: MCP 工具
- 说明: 帮助团队为智能体驱动开发制定目标导向计划并保留审计记录。
- 仓库: https://github.com/Planwright/planwright
- ⚠ 安全: 整体看属中低风险：该工具来自官方 Registry 且开源、近期有维护，没有要求密钥；但其声明为自主软件代理的控制平面，并具备本机执行代码与连接远程控制端点的能力，使用时仍需留意数据外发与执行边界。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "PlanWright" MCP 服务：
执行：claude mcp add --transport http 'tools-planwright-planwright' 'https://mcp.planwright.tools/mcp'
```

### Codex
```
请帮我安装 askskill 上的 "PlanWright" MCP 服务：
在 ~/.codex/config.toml 中添加：
[mcp_servers.tools-planwright-planwright]
url = "https://mcp.planwright.tools/mcp"
然后重启 Codex 生效
```

### Cursor
```
请帮我安装 askskill 上的 "PlanWright" MCP 服务：
在 .cursor/mcp.json 的 "mcpServers" 中添加：
"tools-planwright-planwright": { "url": "https://mcp.planwright.tools/mcp" }
然后在 Cursor 设置 > MCP 中启用
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
claude mcp add --transport http 'tools-planwright-planwright' 'https://mcp.planwright.tools/mcp'
```

### Codex
```bash
codex mcp add 'tools-planwright-planwright' --url 'https://mcp.planwright.tools/mcp'
```
配置文件 ~/.codex/config.toml：
```toml
[mcp_servers.tools-planwright-planwright]
url = "https://mcp.planwright.tools/mcp"
```

### Cursor
配置文件 .cursor/mcp.json：
```json
{
  "mcpServers": {
    "tools-planwright-planwright": {
      "url": "https://mcp.planwright.tools/mcp"
    }
  }
}
```
一键安装：cursor://anysphere.cursor-deeplink/mcp/install?name=tools-planwright-planwright&config=eyJ1cmwiOiJodHRwczovL21jcC5wbGFud3JpZ2h0LnRvb2xzL21jcCJ9
