ChromePlayMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChromePlayMCPNavigate to example.com and describe the page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChromePlayMCP
A policy-aware security Meta-MCP server integrating Playwright MCP and Chrome DevTools MCP for AI coding assistants, security research agents, and automated web workflows.
Overview
ChromePlayMCP is a security-conscious Meta-MCP server designed to bridge Playwright MCP and Chrome DevTools MCP. Rather than exposing dozens of granular, low-level browser automation commands that pollute LLM context windows and risk policy violations, ChromePlayMCP presents a high-level, semantic tool surface.
It manages a single, shared Chrome instance over the Chrome DevTools Protocol (CDP), enforcing strict target origin boundaries, redacting credential materials, and compiling structured JSON evidence bundles.
Related MCP server: browser-mcp-server
Key Features
Unified CDP Execution: Operates Playwright and Chrome DevTools over a single shared browser instance, ensuring full correlation between user actions, network traffic, DOM updates, and storage states.
Context-Efficient Tool Surface: Exposes 5 high-level meta-tools instead of 50+ individual primitive browser calls, preserving model context budgets.
Strict Scope Enforcement: Enforces an explicit origin whitelist policy, rejecting out-of-scope navigation attempts automatically.
Automated Secret Isolation & Redaction: Reads credentials strictly from system environment variables and redacts passwords, session tokens, authorization headers, and JWT secrets before returning observations.
Non-Destructive Guarantee: Disallows arbitrary script injection (
eval()) and limits browser interaction to policy-reviewed actions.
Feature Comparison
Capability | Raw Upstream MCP Servers | ChromePlayMCP Orchestrator |
Tool Count | 50+ low-level primitive tools | 5 domain-specific meta-tools |
Browser Instance | Independent, disconnected contexts | Single shared Chrome CDP session (port 9222) |
Scope Control | Unrestricted origin navigation | Configurable origin whitelist & subdomain policy |
Secret Protection | Raw credential passing in prompts | Environment variable references & automated redaction |
Output Format | Unstructured DOM snapshots | Structured JSON observations & artifact store |
Architecture
AI Assistant (Claude Desktop / Claude Code / OpenCode / Antigravity / Cursor)
|
v
[ ChromePlayMCP ]
(Scope Guard | Policy Engine | Secret Redactor | Artifact Store)
|
+----------------------+----------------------+
| |
v v
[ @playwright/mcp ] [ chrome-devtools-mcp ]
(Navigation, Form Submits, (Network Tracing, Console,
Authenticated Journeys) DOM Mutations, Storage)
| |
+----------------------+----------------------+
|
v
Chrome Instance (CDP: 127.0.0.1:9222)Prerequisites
Node.js: Version 20 LTS or higher.
Google Chrome: Chrome 144+ recommended, with remote debugging enabled.
Operating System: Linux, macOS, or Windows (PowerShell).
Quick Start
1. Repository Setup
git clone https://github.com/MauricioDuarte100/ChromePlayMCP.git
cd ChromePlayMCP
npm install
npm run build
cp config/orchestrator.example.json config/orchestrator.json2. Start Shared Chrome Profile
Launch a dedicated Chrome instance bound to loopback remote debugging on port 9222:
Linux / macOS:
./scripts/start-chrome.sh 9222
export CDP_URL="http://127.0.0.1:9222"Windows (PowerShell):
.\scripts\start-chrome.ps1 -Port 9222
$env:CDP_URL = "http://127.0.0.1:9222"3. Configure Authorized Target Scope
Edit config/orchestrator.json to define authorized target origins:
{
"targets": [
{
"id": "target-app",
"allowedOrigins": ["https://example.com"],
"allowSubdomains": false
}
]
}Client Integration Setup
Claude Code (CLI)
Register ChromePlayMCP in Claude Code using the claude mcp add command:
claude mcp add chrome-play-mcp \
-e ORCHESTRATOR_CONFIG="/absolute/path/to/ChromePlayMCP/config/orchestrator.json" \
-e CDP_URL="http://127.0.0.1:9222" \
-- node /absolute/path/to/ChromePlayMCP/dist/index.jsOr reference config/claude-code.mcp.json.
OpenCode Interpreter
Add to .opencode/mcp.json or ~/.config/opencode/mcp.json:
{
"mcpServers": {
"chrome-play-mcp": {
"command": "node",
"args": ["/absolute/path/to/ChromePlayMCP/dist/index.js"],
"env": {
"ORCHESTRATOR_CONFIG": "/absolute/path/to/ChromePlayMCP/config/orchestrator.json",
"CDP_URL": "http://127.0.0.1:9222"
}
}
}
}Or via OpenCode CLI:
opencode mcp add chrome-play-mcp -- node /absolute/path/to/ChromePlayMCP/dist/index.jsClaude Desktop
Add to ~/.config/Claude/claude_desktop_config.json (macOS/Linux) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"chrome-play-mcp": {
"command": "node",
"args": ["/absolute/path/to/ChromePlayMCP/dist/index.js"],
"env": {
"ORCHESTRATOR_CONFIG": "/absolute/path/to/ChromePlayMCP/config/orchestrator.json",
"CDP_URL": "http://127.0.0.1:9222",
"BB_USERNAME": "research-user",
"BB_PASSWORD": "research-password"
}
}
}
}Antigravity / Kimi Code / Codex / AGY CLI
Copy config/kimi.mcp.json to .kimi-code/mcp.json or register via CLI:
kimi mcp add --transport stdio chrome_play_mcp -- node /absolute/path/to/ChromePlayMCP/dist/index.jsFor Codex:
codex mcp add chrome_play_mcp --env ORCHESTRATOR_CONFIG=/absolute/path/to/ChromePlayMCP/config/orchestrator.json -- node /absolute/path/to/ChromePlayMCP/dist/index.jsCursor / VS Code / Windsurf
Add to your project root .mcp.json:
{
"mcpServers": {
"chrome-play-mcp": {
"command": "node",
"args": ["/absolute/path/to/ChromePlayMCP/dist/index.js"],
"env": {
"ORCHESTRATOR_CONFIG": "${workspaceFolder}/config/orchestrator.json",
"CDP_URL": "http://127.0.0.1:9222"
}
}
}
}Meta-Tools Reference
Meta-Tool | Description |
| Performs automated authentication via Playwright using environment variables, capturing tokens, cookies, and correlating storage/network signals via DevTools. |
| Maps forms, scripts, links, storage key names, console signals, and API endpoints for an in-scope page without body downloads or payload generation. |
| Executes a bounded, multi-step Playwright user flow inside an active session while DevTools captures newly observed network endpoints. |
| Evaluates the same URL across authenticated and isolated anonymous contexts to identify access control deltas. |
| Compiles a redacted, structured JSON evidence package containing all observations and artifact references. |
Security Model & Policy Engine
Origin Filtering: All requested URLs are validated against
allowedOrigins. Out-of-scope targets trigger an immediate policy exception.Credential Protection: Passwords and secrets are passed exclusively via named environment variable references (
usernameEnv,passwordEnv). Raw secrets are scrubbed before logging or returning outputs.Non-Destructive Bounds: Disallows execution of arbitrary JavaScript strings or unsafe browser evaluation modes.
Local Binding: Chrome remote debugging interfaces are bound exclusively to loopback (
127.0.0.1).
Verification & Testing
Verify system integrity using the included TypeScript checks and test suite:
# Perform TypeScript static type checking
npm run check
# Run unit tests
npm testDocumentation Index
docs/ARCHITECTURE.md: System design, provider execution matrix, and policy engine specifications.docs/META_TOOLS.md: Detailed API contracts for meta-tools.docs/WORKFLOWS.md: Comprehensive operational workflow examples.docs/HARDENING.md: Security hardening and isolation recommendations.
License
Distributed under the MIT License. See LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceA Playwright-based MCP server that exposes a live browser as a traceable, inspectable, debuggable and controllable execution environment for AI agents.Last updated5,34157
- AlicenseBqualityDmaintenanceA universal browser automation MCP server using Playwright, enabling programmatic control of Chrome with 63 tools for navigation, interaction, media control, and CDP-based diagnostics.Last updated63341MIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for browser automation using Playwright to control Chrome browsers.Last updated10MIT
- Flicense-qualityBmaintenanceAn MCP server for generic browser automation using Playwright. Enables MCP clients to navigate pages, inspect elements, execute JavaScript, capture screenshots, and monitor console logs and network traffic via a headless Chromium instance.Last updated
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MauricioDuarte100/ChromePlayMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server