目录
目录README.md

playwrihgt_mcp_server_and_client_remote

运行步骤

playwright-mcp-main

npm install
npm run build
npx @playwright/mcp@latest --port 8000  # 启动项目,在8000端口

内网穿透

  • 用ngrok执行内网穿透
  • ngrok authtoken <你的token>
  • ngrok http 8000(端口号与上面npx @playwright/mcp@latest –port 8000命令中的保持一 致),执行之后可以通过公网访问本地8000端口

image-20250421225041912

mcp_clien.py

修改第150行代码

url = "https://5ede-116-130-211-213.ngrok-free.app"
关于
1.1 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号