MCP Catalogs
Homeweb-agent-protocol screenshot

web-agent-protocol

by OTA-Tech-AI·497·Score 48

Web Agent Protocol (WAP) records browser interactions and converts them into MCP servers for web automation replay.

browser-automationweb-scrapingai-llm
89
Forks
11
Open issues
11 mo ago
Last commit
2d ago
Indexed

Overview

Web Agent Protocol (WAP) is a standardized framework that enables recording and replaying browser actions. It collects user interaction data through a Chrome extension, converts it into exact or smart replay lists, and transforms these actions into MCP servers for reuse by any agent. The protocol separates action recording and execution concerns, allowing for efficient automation and reusability of web workflows.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automating repetitive web tasks by recording and replaying user interactions
you:Creating MCP servers from browser workflows for AI agent automation
you:Testing web applications by replaying exact user interaction sequences
you:How do I convert recorded browser actions to an MCP server?
you:What's the difference between exact replay and smart replay?

When to choose this

Choose this when you need to automate complex browser workflows and want to convert them into reusable MCP servers for AI agents.

When NOT to choose this

Avoid if you need non-browser automation or require real-time browser interaction without recording first.

Tools this server exposes

5 tools extracted from the README
  • generate_mcp_server

    Converts recorded browser actions into MCP servers for reuse

  • run_replay

    Replays recorded browser actions using specified model provider

  • generate_exact_replay_list

    Generates exact replay lists from raw browser interaction data

  • generate_smart_replay_list

    Generates smart replay lists with condensed goal-oriented steps

  • start_data_collection_server

    Starts server to collect browser interaction data from Chrome extension

Note: Tool names extracted from documented commands and conversion process in README

Comparable tools

browser-useplaywrightselenium

Installation

# Install dependencies
conda create -n WAP python=3.11
conda activate WAP
pip install -r requirements.txt

# Set environment variables
set PYTHONPATH=/path/to/webagentprotocol  # Windows
export PYTHONPATH=/path/to/webagentprotocol  # Linux

# Create .env file with API keys
OPENAI_API_KEY=sk-proj-...
DEEPSEEK_API_KEY=sk-...

# Install Chrome extension
# See https://github.com/OTA-Tech-AI/webagentprotocol/tree/main/chrome-extension

For Claude Desktop integration, add to claude_desktop_config.json:

{
  "mcpServers": {
    "wap": {
      "command": "python",
      "args": ["/path/to/webagentprotocol/wap_service.py"]
    }
  }
}```

FAQ

How do I convert recorded browser actions to an MCP server?
Use the command: `python wap_replay\generate_mcp_server.py --task_id <task_id>`. The converted MCP servers will be located in the `mcp_servers` folder.
What's the difference between exact replay and smart replay?
Exact replay reproduces every recorded action exactly as it happened, while smart replay creates condensed, goal-oriented steps that achieve the same result with fewer actions.

Compare web-agent-protocol with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.