Skip to main content
Glama
README.md
# ๐ŸŒ axd-browser-mcp (v1.1.0)

> **The Sovereign High-Speed Browser & Universal AI Workspace Intelligence MCP Server**  
> *100x Faster than Pixel-Based CUA. Zero Vision Token Waste. Universal Multi-Platform Chat Ingestion, Patent Evidence Preservation & Canonical Workspace Reorganization.*

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![MCP Compliant](https://img.shields.io/badge/MCP-2024--11--05-emerald.svg)](https://modelcontextprotocol.io)
[![Patented Architecture](https://img.shields.io/badge/Patent-AU%20%232026900273-purple.svg)](https://lexgeneris.com)

---

## ๐Ÿ—๏ธ Multi-Platform & Dual-Engine Architecture

```text
axd-browser-mcp (v1.1.0)
 โ”œโ”€โ”€ ๐ŸŒ Browser Engine (CDP, Stealth, Bezier Clicks, Fast Extraction) โ€” 8 Tools
 โ””โ”€โ”€ ๐Ÿ“‚ Universal Workspace & Evidence Suite โ€” 4 Tools
      โ”œโ”€โ”€ ๐Ÿ’ฌ chats_analyze_and_clean   (Scans, indexes, & dedups Claude & OpenAI sessions)
      โ”œโ”€โ”€ ๐Ÿ›ก๏ธ ai_evidence_vault_recreate (Ingests Claude, ChatGPT, Perplexity, Gemini into 1 Clean Tree)
      โ”œโ”€โ”€ ๐ŸŒฒ projects_reorganize_tree (Audits & structures projects into canonical clean trees)
      โ””โ”€โ”€ ๐Ÿค cowork_space_manager    (Syncs, indexes & cleans Claude Desktop Cowork spaces)
```

---

## โšก Why axd-browser-mcp?

Traditional AI Computer-Use tools take **full 3MB PNG screenshots on every step**, upload them to vision LLMs, and guess pixel coordinates. 

| Feature | Standard Pixel CUA | **axd-browser-mcp** |
| :--- | :--- | :--- |
| **Execution Latency** | 3,000 โ€“ 5,000 ms | โšก **< 10 ms** (Sub-millisecond) |
| **Vision Token Cost** | ~$0.05 / action | ๐Ÿ†“ **$0.00** (Zero vision tokens) |
| **Anti-Bot Evasion** | โŒ Trips Cloudflare | ๐Ÿ›ก๏ธ **`humanize.js` Bezier Curves & Jitter** |
| **Universal AI Vault** | โŒ None | ๐Ÿ›๏ธ **Cross-Platform Markdown Transcripts & Patent Tagging** |
| **Privacy & Security** | โš ๏ธ Screens sent to cloud | ๐Ÿ”’ **100% Local / On-Device Non-Custodial** |

---

## ๐Ÿš€ Quick Start (Claude Desktop / Cursor / OpenCode)

Add this to your MCP configuration (`claude_desktop_config.json` or `cursor.json`):

```json
{
  "mcpServers": {
    "axd-browser-mcp": {
      "command": "npx",
      "args": ["-y", "axd-browser-mcp"]
    }
  }
}
```

---

## ๐Ÿ› ๏ธ Complete MCP Tool Registry (12 Tools)

### ๐ŸŒ High-Speed Browser Automation (8 Tools)
1. **`browser_navigate`**: Stealth URL navigation that bypasses bot fingerprinting & Cloudflare.
2. **`browser_click`**: Clicks DOM elements using mathematical Bezier curve velocity trajectory.
3. **`browser_type`**: Types text with natural human inter-arrival keystroke jitter.
4. **`browser_press_key`**: Simulates realistic hardware keypresses (Enter, Tab, Escape, Backspace, etc.).
5. **`browser_scroll`**: Smooth wheel scrolling with authentic momentum.
6. **`browser_screenshot`**: High-resolution viewport or full-page screen capture.
7. **`browser_extract`**: Extracts clean text, page title, URL, and interactive links in <10ms.
8. **`browser_evaluate`**: Evaluates arbitrary in-browser JavaScript expressions.

### ๐Ÿ“‚ Universal Workspace & Evidence Intelligence Suite (4 Tools)
9. **`chats_analyze_and_clean`**:
   - Recursively parses hundreds of `.jsonl` session files across `~/.claude/projects/` and OpenAI export archives.
   - Extracts conversation dates, token volumes, user topics, and message counts.
   - Identifies broken/stub transcripts (0-byte, error-only) and redundant duplicate threads.
   - Compiles a clean, searchable markdown catalog (`MASTER_CHAT_CATALOG.md`).

10. **`ai_evidence_vault_recreate`**:
    - Universal multi-platform ingestion across **Anthropic Claude**, **OpenAI ChatGPT**, **Perplexity AI**, and **Google Gemini**.
    - Recreates **1 unified clean-tree directory** (`AI_EVIDENCE_VAULT/`) with normalized Markdown transcripts.
    - Classifies and tags patent IP (Hogan Motor Math, BMS Preservation, Local-First Moat, Legal Records).
    - Compiles `MASTER_AI_CATALOG.md`, `MASTER_DUPLICATE_LEDGER.md`, and `MASTER_EVIDENCE_REGISTER.md`.

11. **`projects_reorganize_tree`**:
    - Audits workspace directories across `~/Claude` and `~/ยง00_AXD_Sovereign_empire/`.
    - Enforces canonical architecture (`01_Product`, `AI_review`, `Human_review`, `Docs`, `Quarantine`).
    - Scans for leaked credentials (`.env`, OpenAI `sk-...`, GitHub `ghp-...`, Slack, AWS keys).
    - Detects junk files (`.pyc`, `__pycache__`, `.DS_Store`) and stages them safely to `~/Quarantine/`.

12. **`cowork_space_manager`**:
    - Coordinates Claude Desktop's `coworkUserFilesPath` workspace.
    - Cleans up stale temp files, lock files, and cached index tags.
    - Generates and maintains `COWORK_INDEX.md` cross-linking all active projects with metadata, stacks, and documentation pointers.

---

## ๐Ÿ›๏ธ AI Evidence Vault Structure

```text
AI_EVIDENCE_VAULT/
 โ”œโ”€โ”€ 00_MASTER_INDEX/
 โ”‚    โ”œโ”€โ”€ MASTER_AI_CATALOG.md          <-- Universal Master Index across ALL platforms
 โ”‚    โ”œโ”€โ”€ MASTER_DUPLICATE_LEDGER.md    <-- Duplicate thread clusters & consolidation map
 โ”‚    โ””โ”€โ”€ MASTER_EVIDENCE_REGISTER.md   <-- All identified Patents, Breakthroughs & Legal Records
 โ”œโ”€โ”€ 01_Anthropic_Claude/
 โ”‚    โ”œโ”€โ”€ Web_Conversations/             <-- Normalized Markdown transcripts (.md)
 โ”‚    โ””โ”€โ”€ CLI_and_Desktop_Sessions/      <-- Normalized Markdown transcripts (.md)
 โ”œโ”€โ”€ 02_OpenAI_ChatGPT/
 โ”‚    โ”œโ”€โ”€ Personal_Diego/                <-- Normalized Markdown transcripts (.md)
 โ”‚    โ”œโ”€โ”€ Hotmail_Archive/               <-- Normalized Markdown transcripts (.md)
 โ”‚    โ””โ”€โ”€ Gmail_Archive/                 <-- Normalized Markdown transcripts (.md)
 โ”œโ”€โ”€ 03_Perplexity_AI/                   <-- Research threads with citation sources
 โ”œโ”€โ”€ 04_Google_Gemini_Antigravity/       <-- Gemini & Antigravity transcripts
 โ”œโ”€โ”€ 05_Forensic_Evidence_Extracts/      <-- Curated dossiers of Patent & Legal evidence
 โ””โ”€โ”€ 06_Quarantine_Stubs/                <-- Isolated 0-byte/empty transcripts
```

---

## ๐Ÿงช Testing

```bash
# Run unit & integration tests
npm test

# Run live E2E MCP JSON-RPC protocol test
npm run test:e2e
```

---

## ๐Ÿ’ผ Commercial & Pro Tier
* **Free Tier:** 100 autonomous browser actions & workspace scans per month.
* **Pro Tier ($29/mo):** Unlimited actions, multi-tab orchestration, and residential proxy routing.

**Author:** Diego Nanini  
**Inquiries:** diegonanini23@gmail.com

Maintenance

ActivityMaintained
ResponsivenessNo issues