https://github.com/mohith-das/mcp-browser
MCP JSON-RPC server with Playwright browsing tools.
https://github.com/mohith-das/mcp-browser
fastapi json-rpc mcp playwright python
Last synced: 1 day ago
JSON representation
MCP JSON-RPC server with Playwright browsing tools.
- Host: GitHub
- URL: https://github.com/mohith-das/mcp-browser
- Owner: mohith-das
- Created: 2026-01-03T21:41:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-03T22:15:30.000Z (6 months ago)
- Last Synced: 2026-03-01T08:33:55.112Z (4 months ago)
- Topics: fastapi, json-rpc, mcp, playwright, python
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MCP Browser Server
Minimal MCP JSON-RPC server that exposes Playwright browsing tools via FastAPI.
## Highlights
- Implements a compact MCP tool surface (`open_url`, `click`, `fill_form`, `get_text`).
- Reuses a single headless Chromium instance for efficiency.
- Simple JSON-RPC request/response handling.
## Tech
Python, FastAPI, Playwright
## Setup
```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
playwright install
```
## Run
```bash
uvicorn mcp_browser_server:app --host 0.0.0.0 --port 8000
```
## Notes
- CORS is open by default.