
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.
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:
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 READMEgenerate_mcp_serverConverts recorded browser actions into MCP servers for reuse
run_replayReplays recorded browser actions using specified model provider
generate_exact_replay_listGenerates exact replay lists from raw browser interaction data
generate_smart_replay_listGenerates smart replay lists with condensed goal-oriented steps
start_data_collection_serverStarts server to collect browser interaction data from Chrome extension
Note: Tool names extracted from documented commands and conversion process in README
Comparable tools
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-extensionFor 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
Last updated · Auto-generated from public README + GitHub signals.