Official · MODEL CONTEXT PROTOCOL
Scrapybara scrapybara mcp
A Model Context Protocol server for Scrapybara
连接能力
Scrapybara scrapybara mcp 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A Model Context Protocol server for Scrapybara. This server enables MCP clients such as Claude Desktop, Cursor, and Windsurf to interact with virtual Ubuntu desktops and take actions such as browsing the web, running code, and more.
- Node.js 18+
- pnpm
- Scrapybara API key (get one at scrapybara.com)
- Clone the repository:
git clone https://github.com/scrapybara/scrapybara-mcp.git
cd scrapybara-mcp- Install dependencies:
pnpm install- Build the project:
pnpm build- Add the following to your MCP client config:
{
"mcpServers": {
"scrapybara-mcp": {
"command": "node",
"args": ["path/to/scrapybara-mcp/dist/index.js"],
"env": {
"SCRAPYBARA_API_KEY": "<YOUR_SCRAPYBARA_API_KEY>",
"ACT_MODEL": "<YOUR_ACT_MODEL>", // "anthropic" or "openai"
"AUTH_STATE_ID": "<YOUR_AUTH_STATE_ID>" // Optional, for authenticating the browser
}
}
}
}- Restart your MCP client and you're good to go!
- start_instance - Start a Scrapybara Ubuntu instance. Use it as a desktop sandbox to access the web or run code. Always present the stream URL to the user afterwards so they can watch the instance in real time.
- get_instances - Get all running Scrapybara instances.
- stop_instance - Stop a running Scrapybara instance.
- bash - Run a bash command in a Scrapybara instance.
- act - Take action on a Scrapybara instance through an agent. The agent can control the instance with mouse/keyboard and bash commands.
Scrapybara MCP is a community-driven project. Whether you're submitting an idea, fixing a typo, adding a new tool, or improving an existing one, your contributions are greatly appreciated!
Before contributing, read through the existing issues and pull requests to see if someone else is already working on something similar. That way you can avoid duplicating efforts.
If there are more tools or features you'd like to see, feel free to suggest them on the issues page.
社区