1.0.13 • Published 8 months ago
@marcbenito/browser-tools-mcp v1.0.13
Browser Tools MCP Server
A Model Context Protocol (MCP) server that provides AI-powered browser tools integration. This server works in conjunction with the Browser Tools Server to provide AI capabilities for browser debugging and analysis.
Features
- MCP protocol implementation
- Browser console log access
- Network request analysis
- Screenshot capture capabilities
- Element selection and inspection
- Real-time browser state monitoring
Installation
npx @marcbenito/browser-tools-mcp
Or install globally:
npm install -g @marcbenito/browser-tools-mcp
Usage
- First, make sure the Browser Tools Server is running:
npx @marcbenito/browser-tools-server
- Then start the MCP server:
npx @marcbenito/browser-tools-mcp
- The MCP server will connect to the Browser Tools Server and provide the following capabilities:
- Console log retrieval
- Network request monitoring
- Screenshot capture
- Element selection
- Browser state analysis
MCP Functions
The server provides the following MCP functions:
mcp_getConsoleLogs
- Retrieve browser console logsmcp_getConsoleErrors
- Get browser console errorsmcp_getNetworkErrors
- Get network error logsmcp_getNetworkSuccess
- Get successful network requestsmcp_getNetworkLogs
- Get all network logsmcp_getSelectedElement
- Get the currently selected DOM element
Integration
This server is designed to work with AI tools and platforms that support the Model Context Protocol (MCP). It provides a standardized interface for AI models to interact with browser state and debugging information.
License
MIT