The Scrapybara MCP server allows clients to interact with virtual Ubuntu desktops for web browsing, code execution, and more.
Start an instance: Launch a Scrapybara Ubuntu desktop sandbox and get a stream URL for real-time viewing.
Get instances: Retrieve all running Scrapybara instances.
Stop an instance: Terminate a specific instance using its ID.
Run bash commands: Execute shell commands in a specified instance.
Act on instances: Control an instance through an agent that can perform mouse/keyboard actions and execute commands based on prompts, with optional structured output.
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.
Prerequisites
Node.js 18+
pnpm
Scrapybara API key (get one at scrapybara.com)
Related MCP server: MCP Toolkit
Installation
Clone the repository:
Install dependencies:
Build the project:
Add the following to your MCP client config:
Restart your MCP client and you're good to go!
Tools
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.
Contributing
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.