cy-agent-bridge
Click on "Deploy 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., "@cy-agent-bridgeShow me the network summary and current selection."
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.
cy-agent-bridge — Cytoscape Web MCP Server
An MCP (Model Context Protocol) server that connects Claude to a running Cytoscape Web instance via Chrome DevTools Protocol (CDP). This enables Claude to read and manipulate networks, tables, visual styles, and more through natural language.
Split out of
cytoscape-web-app-examples, where it lived as theclaude-bridge/workspace. That repository is a set of small, readable App API examples; this is a product with its own MCP server, so it now has its own repository and release cycle. The federation id (claudeBridge), the dev port (6100) and the package names are unchanged.The host application is
cytoscape-web, which serves the app onlocalhost:5500in development.
Architecture
Claude Code ←→ MCP (stdio) ←→ mcp-server ←→ CDP (WebSocket) ←→ Chrome ←→ Cytoscape WebMF Plugin (
src/): A Cytoscape Web app that shows connection status in the right panel.MCP Server (
mcp-server/): A Node.js process that exposes 57 tools to Claude via MCP, executing them against the browser through CDPpage.evaluate().
Related MCP server: Chrome DevTools MCP
Quick Start
1. Start Cytoscape Web
cd cytoscape-web
npm run dev # → http://localhost:55002. Start Chrome with remote debugging
macOS / Linux (native)
google-chrome --remote-debugging-port=9222Then open http://localhost:5500 in the launched Chrome window.
WSL2 on Windows
WSL2 requires extra setup because Chrome runs on the Windows host while the MCP server runs inside the WSL2 VM.
Step 1 — Launch Chrome (PowerShell):
& "C:\Program Files\Google\Chrome\Application\chrome.exe" `
--remote-debugging-port=9222 `
--remote-debugging-address=0.0.0.0 `
--remote-allow-origins=* `
--user-data-dir="$env:TEMP\chrome-debug"
--remote-debugging-address=0.0.0.0binds to all interfaces.--remote-allow-origins=*allows non-localhost CDP connections.
Step 2 — Port proxy (admin PowerShell, one-time):
netsh interface portproxy add v4tov4 `
listenport=9222 listenaddress=0.0.0.0 `
connectport=9222 connectaddress=127.0.0.1Step 3 — Firewall rule (admin PowerShell, one-time):
New-NetFirewallRule -DisplayName "Chrome CDP WSL" `
-Direction Inbound -LocalPort 9222 -Protocol TCP `
-Action Allow -Profile AnyStep 4 — Find the gateway IP (WSL2):
ip route show default | awk '{print $3}'
# → e.g. 172.20.112.1Step 5 — Verify (WSL2):
curl -s http://172.20.112.1:9222/json/version | head -3You should see a JSON response with "Browser": "Chrome/...".
Open http://localhost:5500 in the launched Chrome window.
3. Build and run the MCP server
cd mcp-server
npm install
npm run build
node dist/server.js # native Linux/macOS
node dist/server.js --cdp-url http://172.20.112.1:9222 # WSL2You should see:
[claude-bridge] Connected to Cytoscape Web via CDP
[claude-bridge] MCP server running on stdio4. Register as an MCP server in Claude Code
Add to your .claude/settings.json:
{
"mcpServers": {
"cytoscape": {
"command": "node",
"args": [
"/path/to/cy-agent-bridge/mcp-server/dist/server.js",
"--cdp-url", "http://172.20.112.1:9222"
]
}
}
}Omit
--cdp-urlon native Linux/macOS (defaults tohttp://localhost:9222).
5. Run the app panel (optional)
The MCP server drives the host on its own; the panel is the live log of what it sent. It is a Module Federation remote, so the host loads it over HTTP:
npm install
npm run dev # → http://localhost:6100The dev server prints an install link. Open it against a host on the same
origin family (the host only installs a localhost app when the host itself is
on localhost):
http://localhost:5500/?installApp=http://localhost:6100/cyweb-app.jsonThe browser asks for permission the first time. The panel then appears in the host's right panel.
Available Tools (57)
Category | Count | Tools |
Workspace | 6 | get_workspace, get_networks, get_network_summary, get_current_network, switch_network, set_workspace_name |
Network | 3 | create_network_from_edges, create_network_from_cx2, delete_network |
Element CRUD | 7 | get_node, get_edge, create_node, create_edge, delete_nodes, delete_edges, move_edge |
Graph Traversal | 10 | get_node_ids, get_edge_ids, get_connected_edges, get_connected_nodes, get_outgoers, get_incomers, get_successors, get_predecessors, get_roots, get_leaves |
Selection | 5 | get_selection, select, add_to_selection, remove_from_selection, toggle_selection |
Table | 12 | get_table, get_value, get_row, create_column, set_value, set_values, edit_rows, delete_column, rename_column, apply_value, export_table_tsv, import_table_tsv |
Visual Style | 7 | set_default_style, create_discrete_mapping, create_continuous_mapping, create_passthrough_mapping, remove_mapping, set_visual_bypass, delete_visual_bypass |
Layout | 2 | apply_layout, get_layouts |
Viewport | 3 | fit_network, get_positions, update_positions |
Export | 1 | export_network |
Event | 1 | wait_for_event |
All tools are prefixed with cytoscape_ (e.g., cytoscape_get_workspace).
Design Documents
Documents above describe the bridge as built. Planned work lives in its own subdirectory:
Agent Workflow — making the analysis-to-visualisation workflow run, the bridge vendor-neutral, and WebMCP an option where it is available. Four documents; start with the guide
This server cannot be deployed
Maintenance
Related MCP Connectors
Live browser debugging for AI assistants — DOM, console, network via MCP.
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
Hosted browser for AI agents: screenshots, post-JS DOM, console, WCAG. No install, no API key.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automation, debugging, performance analysis, and screenshot capture through Chrome DevTools.262,457,419 npm3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automation, debugging, performance analysis, network monitoring, and DOM interaction through Chrome DevTools Protocol.2,457,419 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser through Chrome DevTools for automation, debugging, and performance analysis.2,457,419 npmApache 2.0

Inspector Jakeofficial
AlicenseNot gradedqualityFmaintenanceConnects AI assistants to Chrome DevTools, enabling page inspection via ARIA trees, screenshots, console logs, network monitoring, and element interaction through point-and-click.27MIT