Skip to main content
Glama
Blueprint Extra MCP

Blueprint Extra MCP

by grobomo

Blueprint Extra MCP

Fork of Blueprint MCP with extras: relay fixes, iframe support, same-origin iframe content in snapshots, incognito tab recognition, and a curated set of Claude Code rules for browser automation best practices.

What It Does

An MCP server that lets AI assistants (Claude, GPT, etc.) control your actual browser -- Chrome, Firefox, Edge, or Opera -- through a browser extension. Uses your real browser profile with all your logged-in sessions, cookies, and extensions intact.

Related MCP server: TabPilot MCP

Why Not Playwright/Puppeteer?

Blueprint MCP

Playwright/Puppeteer

Browser

Your real browser, real profile

Headless or new instance

Auth

Already logged in everywhere

Must re-authenticate each session

Detection

Real fingerprint, not flagged

Often detected as bot

Extensions

Your existing extensions work

No extension support

Setup

Install extension, done

Requires browser binaries

What This Fork Adds

  • Same-origin iframe content in snapshots and element search

  • Incognito tab recognition -- correctly identifies and interacts with incognito tabs

  • Relay mode fixes for multi-session stability

  • Claude Code rules (rules/) -- automation best practices, troubleshooting playbooks

  • V1 page recipes (rules/examples/) -- pre-built selectors for Trend Micro Vision One console

Install

If you have mcp-manager set up:

  1. Clone this repo into your MCP directory:

    git clone https://github.com/grobomo/blueprint-extra-mcp.git
    cd blueprint-extra-mcp/server && npm install
  2. Add to your mcp-manager servers.yaml:

    blueprint:
      command: node
      args: ["<path-to>/blueprint-extra-mcp/run-server.js"]
      auto_start: false
  3. Reload mcp-manager and start:

    mcpm reload
    mcpm start blueprint

Option B: Standalone (no mcp-manager)

Add directly to your Claude Code config:

claude mcp add blueprint -- node /path/to/blueprint-extra-mcp/run-server.js

Or add to .mcp.json / claude_desktop_config.json:

{
  "mcpServers": {
    "blueprint": {
      "command": "node",
      "args": ["/path/to/blueprint-extra-mcp/run-server.js"]
    }
  }
}

Browser Extension (required for both options)

Installing the Rules (Optional)

The rules/ directory contains Claude Code automation rules that improve Blueprint usage. If you use Claude Code's rule-manager or super-manager:

# Copy rules to your Claude Code rules directory
cp rules/*.md ~/.claude/rules/UserPromptSubmit/

# Or symlink so they stay updated with git pull
ln -s "$(pwd)/rules"/*.md ~/.claude/rules/UserPromptSubmit/

The rules/examples/ directory has V1 console recipes -- copy these if you work with Trend Micro Vision One.

Without rule-manager, the rules are still useful as reference documentation.

How It Works

AI Assistant
    |  MCP Protocol
MCP Client (Claude Desktop, Claude Code, Cursor)
    |  stdio / JSON-RPC
blueprint-extra-mcp (this server)
    |  WebSocket (localhost:5555)
Browser Extension
    |  Chrome DevTools Protocol
Your Browser (real profile, real sessions)

Multi-Session Support

Multiple Claude Code tabs can share one browser extension simultaneously:

Claude Tab A (primary)  ---+
                           |--- port 5555 --- Extension --- Browser
Claude Tab B (relay)    ---+
Claude Tab C (relay)    ---+

The first MCP instance binds port 5555 as primary. Additional instances automatically connect as relay clients through the primary -- no config needed. All browser tools work identically in relay mode.

Quick Start

  1. Install server + extension (see above)

  2. Start your MCP client

  3. Click the Blueprint extension icon in your browser

  4. Ask the AI to browse:

"Go to GitHub and check my notifications"
"Fill out this form with my info"
"Take a screenshot of this page"

Tools

Connection

Tool

Purpose

enable

Activate browser automation (required first)

disable

Deactivate and return to passive mode

status

Check connection state

Tabs

Tool

Purpose

browser_tabs

List, attach, new, close tabs

Navigation

Tool

Purpose

browser_navigate

Go to URL, back, forward, reload

Content

Tool

Purpose

browser_snapshot

Get accessible page content (text + iframe content)

browser_take_screenshot

Capture visual screenshot

browser_extract_content

Extract page as markdown

browser_console_messages

Read console logs

browser_network_requests

Monitor/replay network traffic

Interaction

Tool

Purpose

browser_interact

Click, type, select, hover, scroll

browser_evaluate

Execute JavaScript in page

browser_handle_dialog

Handle alert/confirm/prompt

browser_file_upload

Upload files

browser_window

Resize/minimize/maximize

browser_pdf_save

Save page as PDF

Extensions

Tool

Purpose

browser_list_extensions

List installed extensions

browser_reload_extensions

Reload unpacked extensions

Project Structure

blueprint-extra-mcp/
+-- run-server.js               Entry point
+-- server/
|   +-- cli.js                  CLI + MCP server setup
|   +-- src/
|       +-- statefulBackend.js  Connection state machine
|       +-- unifiedBackend.js   All browser tool implementations
|       +-- extensionServer.js  WebSocket server + relay multiplexer
|       +-- relayClient.js      Relay mode connection
|       +-- transport.js        Transport abstraction
+-- extensions/
|   +-- chrome/                 Chrome extension (TypeScript + Vite)
|   +-- firefox/                Firefox extension (vanilla JS)
|   +-- shared/                 Shared code (WebSocket, handlers, adapters)
+-- rules/                      Claude Code automation rules
|   +-- blueprint-health-check.md     Troubleshooting playbook
|   +-- browser-automation-routing.md How to use Blueprint effectively
|   +-- browser-via-blueprint.md      Always use Blueprint for URLs
|   +-- examples/
|       +-- v1-page-recipes.md        V1 console selectors and patterns
+-- docs/                       Documentation
+-- releases/                   Built extensions for distribution

Troubleshooting

Problem

Fix

Extension won't connect

Click extension icon, verify "Connected" status

Port 5555 in use

Second instance auto-relays through primary -- this is normal

Tools not working

Call enable first, then browser_tabs to attach

"Extension not connected"

See rules/blueprint-health-check.md for full playbook

Iframe content not found

Use browser_evaluate to query inside iframes (see rules)

License

Apache License 2.0 -- see LICENSE

Upstream: Copyright (c) 2025 Rails Blueprint Fork extras: Copyright (c) 2025 grobomo

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
      B
      maintenance
      Lets AI assistants control your real Chrome browser to perform web tasks like reading pages, taking screenshots, clicking, and typing, using your existing logged-in sessions.
      145
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to control a user's real browser through a browser extension, using existing profiles, cookies, and logins to navigate, interact, and extract content without headless automation.
      Apache 2.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to drive the user's real, already-logged-in Chrome browser locally, so they can read and navigate pages, click, type, fill forms, take screenshots, and inspect cookies, tabs, console, and network traffic without headless browsers or remote-debugging ports.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      Lets AI agents drive the user's real Chromium browser, including opening and controlling tabs, taking screenshots, capturing network traffic, recording screen activity, and handing control back for logins or payments while using the user's existing sessions, logins, and extensions.
      1,019
      MIT