Pilot Browse MCP
Enables AI agents to browse websites, record workflows, and generate reusable operation manuals, reducing token usage and execution time for future tasks.
README
Pilot Browse MCP
Show your agent how to use websites, or let it explore autonomously. Pilot Browse MCP turns website interactions into reusable manuals, making future tasks faster and cheaper.
Showcase (Pi Demo)
Agent Autonomy
Install a skill, let the agent explore a website. When done, it generates an operation manual. You can share manuals with others.

After exploration, the manual is saved in website-manuals/:
website-manuals/<site>/
├── README.md # Manual overview (read this first!)
├── meta.json # Site info + page map + API map
├── pages/ # Page interaction models (JSON)
├── navigation/ # Navigation paths
├── workflows/ # Operation workflows (with fallback)
├── apis/ # API definitions (mapped to workflows)
└── capabilities.json # Browser capability model
Guided Teaching
Stuck on exploration? Record or mark elements manually to help the agent through.
Mark Element
<img src="assets/Image/MarkElement.gif" alt="Mark Element" />
Record Workflow
<img src="assets/Image/RecordWorkflow.gif" alt="Record Workflow" />
Manual Reuse
Given a task, the agent checks for existing manuals. If found, it operates based on the manual -- fewer tokens, faster execution.
Demos
Build various workflows, simple demo showcase.
YouTube Like & Comment
Search a keyword, find a video, like and comment.
<video src="https://github.com/user-attachments/assets/129c69f7-21a7-4fbe-93ae-6b0205450933" controls width="100%" style="max-width:720px;"></video>
Qidian Novel Saver
Search a novel, save the first 5 chapters.
<video src="https://github.com/user-attachments/assets/b244db3b-fb98-433c-b6ed-d8a74c75e802" controls width="100%" style="max-width:720px;"></video>
Install
# Build
cd server && npm install && npm run build
cd extension && npm install && npm run build
# Load extension
# chrome://extensions/ -> Developer mode -> Load unpacked -> extension/dist/
# Start server
cd server && node dist/index.js
MCP Configuration
Example - fill args with the actual path to server/dist/index.js:
{
"mcpServers": {
"browser-mcp": {
"command": "node",
"args": ["/path/to/server/dist/index.js"]
}
}
}
Skills
Check scripts/Skill for available skills.
Quick Start with Examples
Refer to agent-examples/ for ready-to-use agent workspace examples. Run your agent in one of those directories and it will automatically load the MCP config, skills, and project prompts. (Remember to update the MCP path to your actual setup.)
Architecture
AI Agent (Claude Code / Pi / Codex)
|
| 1) MCP stdio protocol (JSON-RPC)
| stdin / stdout
v
MCP Server (Node.js) protocol translator
|
| 2) WebSocket :9456
v
Chrome Extension
|
| 3) Chrome API
|
v
Browser
Features
- 40+ MCP tools -- tab management, content extraction, DOM operations, network interception, file saving, workflow recording
- Element picker -- click any element on the page and tell the agent what it is
- Workflow recording -- demonstrate operations to the agent, it learns and reuses
- Network API discovery -- intercept XHR/Fetch to find JSON APIs behind SPAs
- Token-efficient saving -- save page content directly to disk, bypassing the LLM
- Shadow DOM + contenteditable
Tools
| Category | Tool | What it does |
|---|---|---|
| Page | browser.get_markdown |
Convert page to clean Markdown via Readability + Turndown |
browser.get_text |
Get plain text of the page (lighter than get_html) | |
browser.get_html |
Get raw HTML of the page (heavy, last resort) | |
browser.find |
Find element by visible text, aria-label, or role | |
browser.current_page |
Get current tab URL and title | |
browser.inspect_page |
See page structure (headings, sections, buttons) | |
browser.query |
Query elements by CSS selector (penetrates Shadow DOM) | |
browser.evaluate |
Execute JS in page context | |
browser.extract_article |
Extract article metadata (title, author, date, body) | |
browser.extract_table |
Extract HTML table as JSON array | |
browser.extract_links |
Extract all links from the page | |
browser.extract_images |
Extract image info (src, alt, size) | |
| Actions | browser.click |
Click an element (composed:true for Shadow DOM) |
browser.type |
Type text into input or contenteditable | |
browser.scroll |
Scroll the page | |
browser.wait |
Wait for a given number of milliseconds | |
browser.wait_for_element |
Wait for an element to appear | |
| Saving | browser.save_content |
Auto-detect main content and save to file (zero LLM tokens) |
browser.save_xpath |
Extract by XPath and save to file | |
| Network | browser.start_network_monitor |
Start intercepting requests |
browser.stop_network_monitor |
Stop monitoring and clear cached requests | |
browser.network.search |
Search cached requests by keyword, method, status | |
browser.network.replay |
Replay a cached request | |
| Tabs | browser.list_tabs |
List all open tabs |
browser.open / close / activate |
Tab management | |
| Recording | workflow.list_recordings |
View recordings from popup |
workflow.get_recording |
Get recording details | |
workflow.list_elements |
View marked elements | |
workflow.get_element |
Get marked element details | |
workflow.list |
List processed workflows in website-manuals | |
workflow.add_element |
Save a user-marked element to pages/ | |
workflow.generate |
Save a processed workflow to website-manuals | |
| Data | browser.cookies |
Read cookies (requires permission) |
browser.local_storage |
Read LocalStorage (requires permission) | |
browser.screenshot |
Take screenshot (requires permission) | |
browser.permissions.list / grant / revoke |
Permission management |
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。