MCP
by SelviAkdag·★ 0·综合分 33
专为Windows设计的MCP服务器,提供无需Docker或WSL的浏览器自动化和文件管理功能。
概述
这个仓库提供了专门为Windows环境配置的生产级MCP代理。它包含两个主要代理:具有24个Playwright工具的浏览器自动化代理,用于文件操作的文件系统代理。该项目解决了用户在设置MCP服务器时常遇到的Windows特定问题,如命令错误、连接问题和Chrome安装失败等。设计旨在简化设置,提供无需修改的复制粘贴配置。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果你在 Windows 上工作,需要 MCP 代理进行浏览器自动化或文件管理,且不希望使用虚拟化,应选择此方案。
什么时候不要选它
如果你使用的是 Linux/Mac 系统,需要未在提供代理中涵盖的高级功能,或者更倾向于通用的 MCP 解决方案,则不应选择此方案。
此 server 暴露的工具
从 README 抽取出 5 个工具take_screenshotTakes a screenshot of a webpage and saves it as an image file.
navigate_toNavigates the browser to a specified URL.
search_googlePerforms a search on Google and returns the results.
list_filesLists files and directories in a specified folder.
create_fileCreates a new file with specified content.
说明:Tool names inferred from example usage descriptions in the README. The README mentions 24 Playwright tools for browser automation but doesn't provide a complete list of specific tool names.
可对比工具
安装
安装
- 克隆仓库:
git clone https://github.com/SelviAkdag/MCP.git - 进入项目目录:
cd MCP - 创建并激活虚拟环境:
``bash python -m venv venv venv\Scripts\activate ``
- 全局安装npx:
npm install -g npx - 安装支持MCP的Hugging Face Hub:
pip install "huggingface_hub[mcp]>=0.32.0" - 登录Hugging Face:
huggingface-cli login - 安装MCP服务器:
npm install @playwright/test @modelcontextprotocol/server-filesystem - 安装浏览器:
npx playwright install(需要管理员权限) - 运行浏览器代理:
tiny-agents run agents/agent_browser.json
对于Claude Desktop,在config.json中添加:
{
"mcpServers": {
"mcp-windows": {
"command": "python",
"args": ["-m", "tiny_agents", "run", "/path/to/MCP/agents/agent_browser.json"]
}
}
}FAQ
- 这个项目解决了哪些Windows特定问题?
- 它解决了Windows用户在设置MCP服务器时常见的问题,如'KeyError: command'、'Connection closed'、Chrome未找到以及PowerShell执行策略阻止等。
- 使用这个MCP服务器需要Docker或WSL吗?
- 不需要,此项目设计为直接在Windows上运行,无需Docker或WSL。它在原生Windows上支持运行。
- 需要哪些先决条件?
- 需要Node.js 18+、Python 3.8+以及带有API token的Hugging Face账户。设置指南会指导您创建这些组件。
MCP 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。