Bap
The Browser Agent Protocol (BAP) is an open standard designed for AI agents to interact with web browsers. It provides two interfaces, CLI and MCP, and supports features such as semantic selectors, composite actions, and structured data extraction.
rating : 2.5 points
downloads : 4.6K
What is the BAP MCP Server?
The BAP MCP server is a tool based on the Model Context Protocol that allows AI assistants (such as Claude, Codex, etc.) to directly control web browsers. It provides 23 browser operation tools, including navigating web pages, clicking elements, filling out forms, taking screenshots, extracting data, etc., enabling AI assistants to browse and operate web pages like humans.How to use the BAP MCP Server?
After installing the BAP MCP server, the AI assistant will automatically gain browser control capabilities. You can tell the assistant what to do through natural language, such as 'Open Hacker News and summarize the first 5 news stories', and the assistant will use the BAP tools to automatically complete these operations.Applicable Scenarios
BAP is suitable for scenarios that require automated web page operations: data collection, web page testing, automated tasks, content analysis, price monitoring, news aggregation, form filling, web page screenshotting, etc.Main Features
Composite Actions
Combine multiple steps (such as navigation + observation + click) into a single command for execution, saving 40 times the tokens compared to step-by-step operations.
Fused Operations
Combine navigation + observation, operation + observation, etc. into a single server call, reducing round-trip communication by 50 - 85%.
Semantic Selectors
Locate elements by their purpose (such as 'role:button:"Submit"') rather than their position, ensuring normal operation even if the web page is redesigned.
Structured Extraction
Extract structured data from any web page using JSON Schema to ensure the correct data format.
Accessibility-First Design
Built based on the accessibility tree inspection, designed specifically for AI understanding, providing clear page structure information.
Element References
Provide stable element references (such as @e1, e15) to maintain consistency between multiple observations.
Screenshot Annotation
Provide a numbered marker overlay on the screenshot for visual models, facilitating AI identification of page elements.
Advantages
No API key is required, and it runs completely locally to protect privacy.
Supports multiple browsers: Chrome, Firefox, WebKit, Edge.
Provides 23 tools to cover common browser operation needs.
Semantic selectors make operations more stable and less affected by page layout changes.
Composite actions significantly reduce the thinking steps and token consumption of AI assistants.
Supports mainstream AI platforms: Claude, Codex, Gemini, Cursor, etc.
Limitations
Requires local installation of Node.js and npm/npx.
The browser needs to be downloaded for the first run (about 100 - 300MB).
Complex web pages may require manual adjustment of selectors.
JavaScript-intensive pages may require additional waiting time.
The AI assistant needs to support the MCP protocol to use all functions.
How to Use
Install the BAP MCP Server
Install globally via npm or run directly using npx.
Configure the AI Assistant
Add the BAP MCP server to the configuration according to the AI assistant platform you are using.
Start Using
Restart the AI assistant. Now you can control the browser through natural language.
Usage Examples
News Aggregation and Summarization
Automatically access news websites, collect top news and generate summaries.
Automated Form Filling
Automatically log in to websites or fill out online forms.
Price Monitoring and Comparison
Extract product price information from e-commerce websites.
Web Page Screenshotting and Archiving
Automatically take screenshots of web page content for archiving or sharing.
Frequently Asked Questions
Does BAP require an internet connection?
Which browsers are supported?
How to select a specific element on the page?
Can BAP handle websites that require login?
How much disk space is required for installation?
Is BAP secure? Will it save my browsing data?
Related Resources
GitHub Repository
Source code, issue tracking, and contribution guidelines for BAP.
npm Package Page
npm package information and version history for the MCP server.
CLI Documentation
Detailed usage instructions and examples for the command-line interface.
MCP Protocol Documentation
Tool reference and configuration instructions for the MCP server.
Python SDK
Python version of the BAP client SDK.

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
21.5K
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
34.5K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.7K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.5K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
64.6K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
32.3K
5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
49.3K
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.1K
4.5 points





