Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Chrome DevTools Extension that enables browser automation through MCP
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Search & browse the web.
MCP server for browser use access
Same catalog task: Search & browse the web.
MCP (Model Context Protocol) server for browser tools integration
Same catalog task: Search & browse the web.
MCP server for AI Mentora, compatible with ModelContextProtocol. Provides es-fulltext-retrieve tool for Canadian case law search.
Fetched from the repository for this visit.
Kapture is a Chrome DevTools Extension that enables browser automation through the Model Context Protocol (MCP). It allows AI applications like Claude to control web browsers via a three-layer architecture.
✨ Key Feature: Multiple AI clients can connect to the same server! Claude Desktop, Cline, and other MCP clients can all control browser tabs through a single server instance.
Available in the Chrome Web Store

Kapture bridges AI assistants with web browsers through:

# Server
cd server
npm install
npm run build
# Test App (optional)
cd test-app
npm install
chrome://extensions/extension folderConfigure your AI client and open it. It will start the MCP server automatically.
OR
Run the Test App:
cd test-app
npm run dev
The server starts on port 61822.
# Server
cd server
npm start
# Test App
cd test-app
npm start
Alternatively, connect from the "Kapture" panel in DevTools, or load a page with ?kapture-connect=true in the URL to auto-connect.
Add to your Claude Desktop config:
This single command starts the server and handles stdio-to-WebSocket translation:
{
"mcpServers": {
"kapture": {
"command": "npx",
"args": ["-y", "kapture-mcp@latest", "bridge"]
}
}
}
For advanced use cases where you need manual server control:
npx kapture-mcp
{
"mcpServers": {
"kapture": {
"transport": "websocket",
"url": "ws://localhost:61822/mcp"
}
}
}
Note: This approach requires manually managing the server lifecycle. Use Option 1 (bridge command) for most use cases.
Kapture supports multiple MCP clients connecting to the same server! You can run Claude Desktop, Cline, and other MCP clients simultaneously through a single server instance.
ws://localhost:61822/mcpWhen running npx kapture-mcp, the command automatically detects if a server is already running:
This prevents errors and confusion when multiple clients try to start servers.
Each client should use the same bridge command configuration:
Claude Desktop:
{
"mcpServers": {
"kapture": {
"command": "npx",
"args": ["-y", "kapture-mcp@latest", "bridge"]
}
}
}
Cline/VS Code:
{
"cline.mcpServers": {
"kapture": {
"command": "npx",
"args": ["-y", "kapture-mcp@latest", "bridge"]
}
}
}
Other MCP Clients:
Use the same configuration pattern with "command": "npx" and "args": ["-y", "kapture-mcp@latest", "bridge"].
See the complete multi-assistant guide →
Then ask Claude to interact with web pages:
navigate - Navigate to URLback - Browser back buttonforward - Browser forward buttonreload - Reload the current page (similar to pressing F5)click - Click elements (uses first matching element, returns unique selector)hover - Hover over elements (uses first matching element, returns unique selector)fill - Fill input fields by setting value directly (uses first matching element, returns unique selector)type - Type a string as individual keystrokes (real key events; works on "fake" inputs that ignore element.value)insertText - Insert a whole string at once (fires input events but no per-key events; good for bulk text and editors like Google Docs)clear - Clear a text field via select-all + Backspace (real key events; works on "fake" inputs)select - Select dropdown options (HTML <select> only, uses first matching element, returns unique selector)keypress - Send keyboard events to the page or specific elements (supports modifier keys)scroll - Scroll an element into view (selector/xpath) or to an absolute x/y document coordinateelements - Query all elements matching a CSS selector or XPath with optional visibility filteringconsole_logs - Get the tab's console contents (console messages, uncaught exceptions, browser-generated entries)watch_console - Watch the console in real time for a required timeout (ms), then return everything logged during the windownetwork_monitor - Turn network monitoring on/off for a tab (enabled boolean). While on, every request's metadata is captured into a per-tab buffer. Watchers are tracked by client identity: enable is idempotent, monitoring stays on until every watcher disables (or force:true), and disconnected clients are released automatically. The buffer clears when monitoring fully stops. Enable it before the traffic you want to observe — capture has no history. (Extension 1.1.0+)network_requests - List the captured requests; each carries a requestId, a monotonic seq, and hasPostData when the request had a payload. Poll incrementally by passing the prior call's cursor as since.network_body - Fetch a request's bodies by requestId (monitoring must be on): the requestBody POST payload and the response body. Truncated to maxBytes (default 65536) with bodyTruncated:true while size reports the full length; returns bodyError if the response body was evicted or is streaming (text/event-stream can't be read via CDP).evaluate - Execute JavaScript in the page and return the result. Off by default: only available after enabling the "Allow JS execution" toggle in the extension popup or DevTools panel for a connected tab. The grant resets on disconnect.compose - Run a sequence of commands against one tab in a single call. Script is one command per line as <tool>?<query-string> (plus wait?t=<ms>); runs in order, stops on first failure, returns an array of per-command responses.Note on Selectors: Tools that accept a selector parameter (click, hover, fill, type, insertText, clear, select, keypress, scroll, screenshot, dom) will only operate on the first element that matches the CSS selector. The tool response includes the unique selector of the actual element that was used, which may include an auto-generated ID if the element didn't have one.
XPath Support: All tools that accept a selector parameter also accept an xpath parameter as an alternative. This is particularly useful for:
xpath: "//button[contains(text(), 'Submit')]"xpath: "//div[@class='container']//span[2]"Use either selector OR xpath, not both. If both are provided, selector takes precedence.
The keypress tool simulates keyboard events. It accepts:
key (required): The key combination to press. Can be:
"a", "Enter", "Tab", "Escape", " " (space), "Shift", "Control""Control+a", "Shift+Tab", "Alt+F4", "Meta+Shift+p"Control (or Ctrl), Shift, Alt, Meta (or Cmd/Command)"Shift"), it's treated as pressing that key alone"Shift+Shift+a" is same as "Shift+a")selector or xpath (optional): Target a specific element. If not provided, sends to document.bodyExamples:
// Press Enter
{ "key": "Enter", "selector": "#login-form" }
// Select all text (Ctrl+A)
{ "key": "Control+a", "selector": "#username" }
// Zoom in (Ctrl+Plus)
{ "key": "Control++", "selector": "body" }
// Zoom out (Ctrl+Minus)
{ "key": "Control+-", "selector": "body" }
// New tab (Ctrl+T)
{ "key": "Control+t" }
// Close tab (Ctrl+W or Cmd+W on Mac)
{ "key": "Meta+w" }
kapture://tabs - List all connected browser tabskapture://tab/{tabId} - Get detailed information about a specific tabkapture://tab/{tabId}/console - Get console logs from a specific tab (with pagination support)kapture://tab/{tabId}/screenshot - Capture screenshots of a tab or elementkapture://tab/{tabId}/dom - Get HTML content of a tab or elementkapture://tab/{tabId}/elementsFromPoint - Get elements at specific coordinateskapture://tab/{tabId}/elements?selector={selector}&visible={true|false|all} - Query all elements matching a CSS selector or XPath with optional visibility filteringcd server
npm run dev # Development with hot-reload
cd test-app
npm run dev # Run Electron test app
After making changes:
chrome://extensions/Server (/server/src):
mcp-server-manager.ts - MCP protocol implementation (one server instance per client)browser-websocket-manager.ts - WebSocket server for extension connectionstab-registry.ts - Tab trackingtool-handler.ts + tools.yaml - MCP tool definitions and dispatchExtension (/extension):
background.js + modules/ - Service worker: owns WebSocket connections and executes commands (via chrome.debugger and chrome.tabs APIs)page-helpers.js - Content script handling DOM commands (dom, elements, fill, select, ...)modules/background-console.js - Console retrieval via CDP (reads Chrome's per-page console buffer; no extension-side log storage)popup.js - Toolbar popup with connection togglepanel.js - DevTools panel (connection toggle, WebSocket message viewer)The panel is optional — connections and commands are handled by the background service worker, so automation works with DevTools closed.
curl http://localhost:61822/)chrome://extensions/ → Kapture → service worker)chrome://extensions/chrome.debugger (CDP)MIT
Loading reviews...
GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.