Skip to main content
Glama
cdp-mcp-gateway

cdp-mcp-gateway

by sohan-a11y

CDP-to-MCP Gateway

GitHub License GitHub Last Commit GitHub Stars

Skills

Demonio local en Python que conecta tu navegador Google Chrome activo (a través del Protocolo de Chrome DevTools) con un servidor de Protocolo de Contexto de Modelo (MCP) para que agentes de IA locales puedan controlar tu navegador sin problemas.

Inicio rápido

  1. Inicia Chrome con Depuración Remota habilitada:

# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222

# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
  1. Instala las dependencias:

pip install -r requirements.txt
  1. Ejecuta el Gateway MCP:

python main.py

Related MCP server: Agentic Browser MCP Server

Características

  • Sin reautenticación de inicio de sesión: Se conecta directamente a tu pestaña de Chrome autenticada por humano.

  • DOM optimizado para LLM: Elimina etiquetas de script, elementos ocultos, SVG y presenta elementos interactivos con identificadores secuenciales simples [e1], [e2].

  • Herramientas estándar de FastMCP: read_page, click_element, fill_input, navigate.


Construido por M Sai Sohan (@sohan-a11y)

Si encuentras útil este proyecto, ¡considera darle una ⭐ en GitHub!

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that enables AI coding assistants to drive the real, already-logged-in Chrome browser — navigating pages, clicking, typing, reading content, taking screenshots, and inspecting tabs, cookies, and network traffic through natural language. It works as a Chrome extension, so no remote-debugging port needs to be opened and pages the user is already signed into are fully usable.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that lets AI coding tools drive the user's actual, already-logged-in Chrome browser — snapshotting pages, clicking, typing, navigating, reading content, taking screenshots, and inspecting cookies, network traffic, and console output. Browser automation happens through a Chrome extension using Native Messaging, so no remote-debugging port is exposed and all communication stays on the local machine.
      1 npm
      ISC