Grip on anything on the web.
Inspects properties, state variables, and DOM components.
Visual element picker overlay and DevTools inspector panels.
Connects over CDP to execute browser queries & clicks.
Reads layouts, fills values, and applies precise codebase edits.
Quick Start Workflow
Expose standard Chrome DevTools debugger ports, connect your MCP server, and trigger browser queries.
> grip-dev@0.1.0 build > tsup && tsc -p tsconfig.dts.json CLI Building entry: src/index.ts, src/mcp/index.ts ✔ compiled successfully to bin/grip-mcp
Ecosystem Architecture
Grip consists of modular layers designed to work together, bridging the gap between web applications and AI agent workspaces.
grip-dev
Zero-dependency TypeScript package. Generates robust selectors and packages clean, semantic accessibility tree snapshots tailored for LLM reasoning.
@grip/extension
Chrome MV3 developer extension featuring interactive selection canvas overlays, DevTools inspector panel integrations, and session sync capabilities.
grip-mcp
Go background daemon implementing the Model Context Protocol. Connects standard command-line tools to target browser sessions using remote debugging protocol ports.
AI Agent Integrations
Seamless connection with leading AI coding tools. Feeds precise elements directly into context windows, enabling agents to execute code-aware edits and verification steps.
Architecture Layout
Bridges target browser environments to host IDE workspaces safely and efficiently.
1. Content Scripts
Injects target page observers. Parses internal React fiber nodes to extract structured component props, states, and coordinates.
2. Chrome DevTools API
Elevated extension context. Resolves source mappings on the fly to match target selectors back to original local files and line numbers.
3. Go Daemon
Background MCP server. Forwards agent tool calls (snapshots, element interactions, keyboard input) directly to connected debug tabs.
Ready to integrate? Review the setup guidelines.
Read Configuration Docs