Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Resource Traversal

БесплатноНе проверен

A universal MCP server that lets agents traverse the authenticated web using native Chromium stealth.

GitHubEmbed

Описание

A universal MCP server that lets agents traverse the authenticated web using native Chromium stealth.

README

image

Resource Traversal MCP - The Universal Web Key

Vision: Transforming static pointers into live cognitive portals.

Developer: Kavia Shirkoohi (shirkoohi.com)

What It Does

The Resource Traversal MCP gives your AI "eyes" and "keys" on the authenticated web. In a modern workflow, Tana is the Skeleton (Structure), Google is the Muscle (Data), and this engine is the Connective Tissue that allows AI to move fluidly between them.

Instead of relying on fragile or restricted APIs, it uses Native Chromium Headless Architecture to inherit your existing browser sessions. If you can see it in your browser, your AI can now "traverse" it as a first-class observer.

Core Breakthroughs

  1. Unified Auth Layer: AI inherits your permissions via a local "Master Profile" (.auth/ folder). No API keys or developer accounts required.
  2. Native Chromium Stealth: Uses --headless=new with hardware-locked OS encryption (macOS Keychain / Windows DPAPI) to remain undetectable by CloudFlare and advanced bot detection.
  3. Temporal Navigation: Specialised scrolling logic for SPAs (Single Page Applications) to capture full conversation histories, not just the visible screen.
  4. The "Grand Slam" Proof: Verified success across high-friction "Hard Targets" including Slack, Discord, Linear, Jira, and Google Workspace.
  5. Implicit Contextual Portals: Designed to treat any URL in Tana as a live expansion of the AI's memory.

Prerequisites

Before starting, ensure you have the following installed on your local machine:

  • Bun: The fast JavaScript runtime (curl -fsSL https://bun.sh/install | bash).
  • Google Chrome: Required for the Native Headless engine.

Quick Start

1. Install dependencies

bun install

2. The Universal Auth Key (One-time login)

Unlock any site for your AI in seconds:

bun run auth [URL]

Example: bun run auth https://chatgpt.com
Log in manually in the window that opens, then close the browser. Your session is now hardware-locked to your local machine for AI reuse.

3. Add to Tana / Claude / Cursor

Point your MCP client to the project's index.ts file.

Tools

Tool Description
traverse_resource Fetch content from any authenticated URL (Gemini, ChatGPT, Slack, etc.)
check_auth Verify if a local "Master Profile" session exists

Supported Portals (Verified)

Service Capability
AI Chats ✅ Gemini, ChatGPT, Grok (Full history scrolling)
Communities ✅ Discord, Slack (Archives, Threads, Real-time context)
Knowledge/Misc ✅ GitHub (Repos), 🧪 Raindrop.io (Experimental)
Productivity ✅ Google Docs, NotebookLM

🏗️ Extensibility: Modular Extraction Framework

The project is designed as a Modular Ecosystem. You can easily add support for any new site by contributing a "Site Adapter" to the lib/extractors.ts library.

  • Plug-and-Play: Adding a new portal takes only a few lines of code.
  • AI-Driven Maintenance: The included SYSTEM_PROMPTS.md contains a Self-Healing Extraction Strategy, allowing your AI agent to autonomously troubleshoot broken selectors and propose code updates to the framework.
  • Universal Fallback: If a specialized adapter doesn't exist, the tool utilizes an intelligent Generic Scrape to ensure no link is a dead end.

🔒 Privacy & Security

  • Local-First: Your credentials and cookies never leave your machine.
  • Zero-Cloud: No third-party servers. Data flows directly from the web to your local AI.
  • Consensual Observation: The AI only enters the portals you explicitly unlock via the auth tool.

⚠️ Potential Limitations

While the Resource Traversal MCP is highly advanced, users should be aware of the following "Edge Cases":

  1. Shadow DOM & Canvases: Some applications (notably Google Docs) do not store their text in the standard DOM. They "paint" text on a Canvas element, making it invisible to standard text extractors.
    • Pro-Tip: For the best experience with Google Docs, we recommend connecting them via a dedicated API-based MCP server. Use the Resource Traversal MCP for "hard-to-reach" portals like Gemini, ChatGPT, and Slack where official APIs are limited or non-existent.
  2. Dynamic Session Persistence: Certain services (notably Raindrop.io) employ unique session-locking mechanisms that occasionally require active user interaction even within the Master Profile. These are currently classified as "Experimental" as we refine the persistence handoff.
  3. Brittle Selectors: Web apps update their layouts frequently. If a service like Gemini or Slack changes its internal code, a specialised extractor may return incomplete results until updated.
    • Future Roadmap: We are working on a "Self-Healing" update system that allows the AI to dynamically identify new selectors when a breakage is detected.
  4. Session Expiry: Cookies eventually expire. If the AI hits a login wall, it will proactively notify you with instructions to run bun run auth [URL] to refresh your "Master Profile."
  5. Cold Start Latency (Session Hydration): When first launching a traversal for heavy SPAs like Discord or Slack, there is an inherent "Cold Start" delay (30-60 seconds). This occurs as the Native Chromium Headless engine initializes the hardware-locked OS profile, navigates the URL, and waits for the application's heavy JavaScript layer (React/Electron) to hydrate the DOM.
    • Pro-Tip for AI Agents: Agents should proactively notify the user when they are "Launching the browser and waiting for the session to hydrate" to manage expectations during this initialization phase.
  6. Temporal Loading: Large histories (especially in Slack or long chats) require significant scrolling. The AI is configured to "walk back" through history, but extremely large threads may take several seconds to fully traverse.

⚠️ Disclaimer

This tool is intended for personal research and knowledge management. Users are responsible for adhering to the Terms of Service of the websites they traverse.


from github.com/krshirkoohi/resource-traversal-mcp

Установка Resource Traversal

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/krshirkoohi/resource-traversal-mcp

FAQ

Resource Traversal MCP бесплатный?

Да, Resource Traversal MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Resource Traversal?

Нет, Resource Traversal работает без API-ключей и переменных окружения.

Resource Traversal — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Resource Traversal в Claude Desktop, Claude Code или Cursor?

Открой Resource Traversal на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Resource Traversal with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории browse