ai工厂扩建剧作家mcp
安装
# from a git repo
ai-factory extension add https://github.com/dealenx/ai-factory-extension-playwright-mcp.git
# or from a local directory
ai-factory extension add ./ai-factory-extension-playwright-mcpai工厂将把Playwright MCP服务器配置合并到支持MCP的每个代理中。
里面是什么
ai-factory-extension-playwright-mcp/
├── extension.json # Extension manifest
├── mcp/
│ └── playwright.json # Playwright MCP server config
├── package.json
├── LICENSE
└── README.md扩展名.json
{
"name": "ai-factory-extension-playwright-mcp",
"version": "1.0.0",
"description": "Playwright MCP server as an ai-factory extension",
"mcpServers": [
{
"key": "playwright",
"template": "./mcp/playwright.json",
"instruction": "Playwright MCP: Install Chrome to use a web browser"
}
]
}mcp/剧作家.json
{
"command": "npx",
"args": ["@playwright/mcp@latest"]
}管理扩展
# List installed extensions
ai-factory extension list
# Remove the extension
ai-factory extension remove ai-factory-extension-playwright-mcp