Chrome MCP Server
by jverre
This server interacts with Chrome using the Model Context Protocol (MCP). It provides an MCP implementation independent of Anthropic's library and allows taking screenshots and validating the implementation in Cursor.
Last updated: N/A
What is Chrome MCP Server?
The Chrome MCP Server is a server-side implementation designed to interact with the Chrome browser using the Model Context Protocol. It aims to provide an alternative to the Anthropic-provided MCP library and facilitate screenshot capture and implementation validation within the Cursor environment.
How to use Chrome MCP Server?
The server has two implementations: a demo and a robust one. The demo can be run using uv run uvicorn demo_implementation.main:app --reload
and tested with npx @modelcontextprotocol/inspector node build/index.js
, connecting to http://0.0.0.0:8000
. The robust implementation in app/main.py
can be run with mcp run app/main.py --transport sse
and tested similarly with the MCP inspector.
Key features of Chrome MCP Server
MCP Implementation
Screenshot Capture
Implementation Validation
Event Stream (Demo)
POST Endpoint (Demo)
MCP Python SDK Integration (Robust)
Use cases of Chrome MCP Server
Automated Screenshot Generation
Validating MCP Implementations
Integrating Chrome with AI Models
Contextual Information Extraction
Testing Chrome Browser Functionality
FAQ from Chrome MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol, a standard for communication between applications and models.
Why build a custom MCP implementation?
Why build a custom MCP implementation?
To gain a deeper understanding of the protocol and its inner workings, and to avoid reliance on a specific vendor's library.
What are the limitations of the demo implementation?
What are the limitations of the demo implementation?
The demo implementation lacks robust error handling and session cleanup.
Where is the robust implementation located?
Where is the robust implementation located?
The robust implementation is located in the app/main.py
file.
What is the MCP Python SDK?
What is the MCP Python SDK?
The MCP Python SDK is a library that simplifies the implementation of MCP servers and clients in Python.