MechCP

•

Empowers AI agents with secure, Chrome DevTools Protocol-level browser automation, dynamic Python hooks, and full element cloning capabilities.

MechCP is a robust Model Context Protocol server that equips AI agents with advanced, secure real-browser automation. It manages stealthy Chromium instances via `nodriver`, allowing agents to navigate, interact with the DOM, intercept network traffic with dynamic Python hooks, and fully clone web elements with their styles and event listeners. Emphasizing security, MechCP safely executes AI-supplied code within an AST-validated sandbox, blocks path traversal, redacts credentials, and bounds memory, providing a trusted environment for sophisticated automation and web interaction.

Características Principales

01Manages undetectable Chromium instances for real-browser automation.
02Clones web elements with full styles, assets, and event listeners.
03Executes AI-supplied Python code safely within an AST-validated sandbox.
04Enables AI agents to navigate, interact with DOM, and capture screenshots.
05Intercepts network traffic with dynamic Python hook functions.
060 GitHub stars

Casos de Uso

01Automating complex browser interactions and workflows for AI agents.
02Securely extracting and cloning web content, including styles and event listeners.
03Intercepting and dynamically modifying network requests to a target site.