Skip to main content

MCP server for browser automation using Playwright

Project description

Automata MCP

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright.

Features

  • 🌐 Full browser automation through MCP
  • 🎯 Smart element detection and interaction
  • 📝 Text extraction and form filling
  • 🔍 Web scraping capabilities
  • 🚀 Easy integration with Claude Desktop

Installation

pip install automata-mcp

The package will automatically install Playwright and download the Chromium browser on first run.

Usage with Claude Desktop

Add to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "automata": {
      "command": "automata-mcp"
    }
  }
}

Restart Claude Desktop and the browser automation tools will be available.

Available Tools

  • open_browser - Opens browser and navigates to URL
  • navigate_to - Navigate to a new URL
  • get_actionable_elements - Get list of clickable elements
  • click_element - Click an element
  • type_text - Type into input fields
  • extract_text_from_page - Extract all visible text
  • get_element_text - Get text from specific element
  • scroll_page - Scroll in any direction
  • finish - Close browser and cleanup

Example Prompts for Claude

  • "Open amazon.com and search for wireless headphones"
  • "Go to wikipedia.org and extract the main article text"
  • "Navigate to example.com and click the login button"

Development

git clone https://github.com/yourusername/automata-mcp
cd automata-mcp
pip install -e ".[dev]"

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automata_mcp-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automata_mcp-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file automata_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: automata_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for automata_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b75bb43903303822b9534a02ebcf1deac11ab1fb7bc9feb266ef183496d55d5
MD5 61ef1b2a0b06f2ebcaf3cc676f2ecfbc
BLAKE2b-256 6a941bb7e97b734a52eb98d51c664345647c5a1fe5bde8428b90fa74bad9fb58

See more details on using hashes here.

File details

Details for the file automata_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: automata_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for automata_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1356b33ed99bb90beb6c3e08e598f63bfe20a3b5d8ef76d84d35e636b7306c43
MD5 20ca305b1aca7c54e95eb75c6d0feec1
BLAKE2b-256 0159b66f7ea30ad4f453d399878e4665d6dcc3d50469fcde72ea56a29f123ce1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page