browser-mcp-claude
面向 Claude 和其他模型的 Browser MCP
这是一个远程 MCP 服务器,通过 Playwright 和 Streamable HTTP 提供通用的浏览器工具。它不依赖服务器内部的 Claude;任何支持通过 HTTPS 使用 MCP 的客户端都可以使用它,包括 Claude,或使用 Gemini、OpenAI 或本地模型的中间层。
该服务器可以打开页面、读取页面并填写非敏感字段,但会阻止密码字段、文件、最终提交以及支付或删除操作。
在 Replit 上部署
将此仓库导入 Replit 并使用 Docker,然后选择 Reserved 或持续运行的服务。在 Secrets 中添加以下变量:
键 | 值 |
| 用于 Claude 与服务器进行身份验证的随机长令牌 |
|
|
|
|
不要将密码、验证码或站点密钥放在 GitHub 或代码中。
部署后,endpoint 为:
https://YOUR-REPL-DOMAIN/mcp
它必须通过 HTTPS 公开访问;Claude 从 Anthropic 的云架构连接到服务器,而不是从你的本地手机。
Related MCP server: mcp-browser
连接 Claude Web
在手机上的 Claude 中,打开 Customize → Connectors → + → Add custom connector,然后输入 /mcp 链接。如果界面要求 OAuth Client ID/Secret,请不要将 MCP_AUTH_TOKEN 填入这些字段;这些字段属于 OAuth。使用 Claude 为账户提供的身份验证机制,或者如果服务器需要直接的 Bearer token,则通过 Claude API 实现连接。
添加后,在对话中通过 + → Connectors 启用连接器。首先使用只读命令,例如打开公共页面并获取文本快照。在允许每个工具请求之前先进行审查。
多模型支持
MCP 服务器不强制使用某个模型。Claude、Gemini、OpenAI 或任何其他支持 MCP 的模型都是决定调用工具的客户端。无需修改 Playwright 或 MCP 服务器即可更换模型。
服务器工具
browser_open(url): 打开公共 HTTP(S) 页面。browser_snapshot(): 读取当前页面并显示交互元素的引用。browser_click(ref): 点击非最终元素。browser_fill(ref, value): 填写非敏感文本字段。browser_select(ref, label_or_value): 从列表中选择一个元素。browser_back(): 返回上一页。browser_close(): 关闭浏览器会话。
安全限制
如果未设置 MCP_AUTH_TOKEN,服务器将拒绝运行。它必须在公共 HTTPS 后面运行,并根据需要限制对站点和数据的访问。不要用它绕过 CAPTCHA 或站点控制,也不要授予 Claude 自动执行购买、删除或提交操作的权限。在将其与生产账户一起使用之前,请添加真正的 OAuth。
参考
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenancePlaywright wrapper for MCP that enables LLM-powered clients to control a browser for automation tasks.101
- FlicenseNot gradedqualityCmaintenanceExposes Playwright browser automation as MCP tools, enabling AI assistants to control a real browser tab-by-tab for form filling, navigation, and more, while preserving the user's active session.
- FlicenseNot gradedqualityCmaintenanceEnables browser automation through the MCP protocol, allowing AI agents to control a real browser using accessibility snapshots and natural language commands.
- AlicenseNot gradedqualityBmaintenanceEnables autonomous web QA by exposing Playwright browser control as MCP tools for navigation, accessibility snapshotting, interaction, and bug detection.3MIT
Related MCP Connectors
Stealth web browser for agents: search, fetch, click and type through persistent sessions over MCP.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/saGoldberg31/browser-mcp-claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server