
mcp modelvault chrome
基于 Go 的 Chrome 自动化服务,支持 WebSocket 控制浏览器实例。
Repository Info
About This Server
基于 Go 的 Chrome 自动化服务,支持 WebSocket 控制浏览器实例。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Chrome Binary
A Go-based Chrome automation service that provides WebSocket-based control over Chrome browser instances, supporting both headless and headful modes.
Features
- WebSocket-based communication
- Support for both headless and headful Chrome instances
- Session management
- URL navigation
- HTML content extraction
- Markdown conversion
- Link extraction
- Health monitoring
- Graceful shutdown handling
Prerequisites
- Go 1.21 or later
- Chrome browser installed
- Task (optional, for using taskfile commands)
Installation
- Clone the repository:
git clone https://github.com/digged-org/mcp-chrome-bin.git
cd mcp-chrome-bin
- Install dependencies:
go mod download
- Install development tools (optional):
task install:tools
Configuration
The application requires the following environment variables:
WS_URL: WebSocket server URLTOKEN: Authentication tokenPASSKEY: Encryption key for secure communication
Usage
Development
Run the application locally:
task run
Building
Build for all platforms:
task build:all
Build for specific platform:
task build:mac # For macOS
task build:linux # For Linux
task build:windows # For Windows
Testing and Linting
Run tests:
task test
Run linters:
task lint
Run security checks:
task check:security
Deployment
Create a new release:
task deploy
API Commands
The service supports the following WebSocket commands:
open_url: Opens a new URL in Chromeget_outer_html: Retrieves the outer HTML of the current pageget_markdown: Converts the current page to markdownget_links: Extracts all links from the current pagehealth_check: Monitors application health
Health Monitoring
The service automatically sends health updates including:
- Uptime
- Memory usage
- Active sessions count
- System information
Security
- All communication is encrypted using the provided passkey
- Authentication is required via token
- Secure WebSocket connection
License
MIT License - see LICENSE file for details
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
Quick Start
Clone the repository
git clone https://github.com/digged-org/mcp-modelvault-chromeInstall dependencies
cd mcp-modelvault-chrome
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.