Logo Interceptor

Interceptor

Tổ chức
Hacker-Valley-Media

Browser automation and computer use for AI agents. One CLI and MCP server for your signed-in browser, native macOS apps, and real iPhones.

Nhà phát hànhHacker-Valley-Media
Kho mãInterceptor
Ngôn ngữTypeScript
Bản fork
69
Sao
467
Công cụ có sẵn
0
Phương thức truyền tảistdio
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Interceptor cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    467 sao và 69 bản fork từ kho mã được liên kết.

Interceptor connects an AI agent or script to your signed-in browser, native Mac apps, and a physical iPhone. It combines structured UI reads and actions with access to page traffic, rich editors, app internals, and device state. The agent can inspect what happened after an action and use that evidence for its next step.

Work you can build with InterceptorTools available
Research in your existing browser sessionPage text, tables, links, browser search, multiple contexts, and a source-ledger research workflow.
Edit a document, slide, or design and save the resultRich-editor scenes, canvas input, file uploads, and direct capture of page-produced export bytes.
Complete a native Mac task while you keep workingAccessibility controls, background input, Apple Events, and capture of covered windows.
Operate an app on a real iPhone and inspect its stateElement trees, taps, text entry, screenshots, process telemetry, and WebKit inspection.
Turn a demonstrated workflow into reusable commandsBrowser and Mac recording, event timelines, and replay-plan export.

Use it from any agent that can run shell commands, or through its built-in Model Context Protocol (MCP) server. Interceptor does not require a model API key; your chosen agent or model may have its own subscription or API costs.

Why Interceptor

  • Your existing browser session. Work with the profiles, cookies, and logins you already use. The default browser path uses an extension rather than launching a separate automated browser.
  • Look beyond pixels. Read DOM and accessibility structure, inspect network activity, and use specialized interfaces for rich editors, Electron apps, native runtimes, and iPhone services.
  • Background automation. Browser and native Mac operations default to background execution so you can keep working. Explicit activation brings a target forward when needed. Behavior and exceptions.
  • Keep the evidence. Return text or JSON, save artifacts, record workflows, and verify task state before marking a browser task complete.
  • Use one command vocabulary. open, read, act, and inspect combine common steps; detailed verbs and agent skills cover deeper work.

Get started

Download an installer from Releases. Start with Browser for web tasks, or Full for native Mac and iPhone work.

Host / packageWhat it enables
macOS: Interceptor-Browser-<version>.pkgCLI, daemon, and browser extension files.
macOS: Interceptor-Full-<version>.pkgBrowser package plus the native Mac bridge and iPhone tooling. The bridge requires macOS 15+.
macOS: Interceptor-Safari-<version>.pkgSafari extension add-on, installed after either core package.
Windows 11 24H2+: Interceptor-Browser-<version>-windows-{x64,arm64}.exeBrowser automation. Windows installation guide.
Linux: Interceptor-Browser-<version>-linux-{x64,arm64}.tar.gzBrowser automation and install scripts.

The macOS release binaries target Apple silicon. Windows and Linux support browser automation; native desktop control and iPhone setup require a Mac.

macOS installation

  1. Install the Browser or Full .pkg from Releases.
  2. In Chrome or Brave, install the Interceptor extension. The local runtime and browser extension are both required.
  3. For Safari, also install the Safari .pkg, open /Applications/InterceptorSafari.app once, then enable Interceptor and website access in Safari → Settings → Extensions. Safari requires your approval.
  4. With Full, grant the permissions needed by your task to interceptor-bridge. Run interceptor macos trust --walkthrough for guidance. Accessibility enables native UI control; screen, microphone, and app-automation access are needed for their respective features.

For an unpacked Chrome/Brave extension, enable Developer Mode on the browser's extensions page and load /Library/Application Support/Interceptor/extension/. Keep one copy per profile. Store and unpacked installations share an extension ID; store updates arrive after store review.

Windows and Linux

On Windows, run the architecture-matched installer, install the browser extension, then open a new terminal. Chrome, Brave, and Edge can use the Chrome Web Store listing; Edge requires allowing extensions from other stores. The Windows guide also covers unpacked extensions, silent installation, updates, and removal.

On Linux, extract the architecture-matched archive and run this from its directory:

bash
bash scripts/install.sh --browser-only --brave
# For Chrome, use --chrome instead of --brave.
./dist/interceptor open "https://example.com"

Follow the installer's extension-loading instructions. The archive includes compiled binaries, so a separate Bun installation is not needed for this release path.

Your first browser task

With the extension enabled and browser open:

bash
interceptor open "https://example.com" --group first-task
interceptor read --group first-task
interceptor group close first-task

open starts the daemon when needed, opens a managed tab in the background, and returns the page's tree and text. You should see Example Domain. read inspects it again; group close cleans up that task's tabs.

If several browser contexts are connected, run interceptor contexts and add --context <id> to your browser commands. Safari's ID is safari. interceptor status reports local health but does not start the daemon by itself.

Connect your agent

For a shell-capable agent, adopt the browser, macOS, iOS, and research skills into detected agent runtimes. Mac and Windows installers bundle them; Linux archive users can run adoption from a source checkout containing .agents/skills/:

bash
interceptor skills adopt

For an MCP client, register Interceptor and restart the client. The installer detects Claude Code, Codex, Gemini CLI, Cursor, and Claude Desktop:

bash
interceptor mcp install
interceptor mcp status

The MCP server exposes browser, macOS, iOS, read, local, and raw tools, plus discovery resources. Its permissions are configured by the operator. See the MCP guide.

Browser automation

Read and operate the web apps you are already signed into. Chrome, Brave, and Safari use Interceptor's extension. Browser-specific limits are described in the browser guide.

  • Pages and forms: read text, HTML, tables, links, frames, and accessibility-style element references. Click, type, select, drag, scroll, and navigate. Native dropdown selection validates exact values or unique labels and rejects invalid options.
  • Rich editors and canvases: inspect supported scene graphs, select objects, navigate slides, and enter text in canvas-rendered editors. Workflows cover Google Docs, Slides, Sheets, Canva, and WebGL viewers; support depends on the app and operation.
  • Network and application state: inspect fetch/XHR, SSE, WebSocket, Beacon, and BroadcastChannel traffic; examine headers, rewrite matching requests, and export captured traffic. Passive inspection uses standard page APIs without attaching a debugger.
  • Files and exports: upload local files to inputs, drop zones, and supported file pickers. Save page-produced Blob, buffer, or blob: URL bytes directly to disk with save, including native exports from supported web apps.
  • Capture and browser data: screenshots, OCR, canvas inspection, cookies, storage, history, bookmarks, downloads, and session management.
  • Multiple tasks: select a browser profile with --context, a tab with --tab, and a task's managed tabs with --group. Use a distinct group for each concurrent worker.
  • Tab cleanup: when no command has touched a managed tab group for 10 minutes, Interceptor closes its idle tabs. It keeps the tab you are looking at, audible tabs, tabs with unsaved form input, and a window's last tab, so the group itself can remain. The extension popup changes the idle time and can delete the whole idle group instead (off by default). Administrators can set both through managed browser policy. interceptor sessions restore <id> reopens a closed page in the background.
bash
interceptor open "https://example.com" --group browser-task
interceptor find "Learn more" --group browser-task
interceptor inspect --group browser-task
interceptor group close browser-task

To interact, use the current reference returned by read or find: interceptor act <ref> clicks it; interceptor act <ref> "text" enters text. Re-read after navigation or a stale-reference error, and check the resulting state after an action.

Browser command reference · Rich-editor workflows · Export capture

macOS automation

Desktop automation for native Mac apps, windows, menus, and dialogs, including supported background workflows. The Full package provides a Swift bridge with Accessibility, capture, input, and Apple framework integrations.

bash
interceptor macos trust
interceptor macos tree --app "Finder"
interceptor macos windows --app "Finder"

These commands inspect Finder without activating it. Use returned element references with macos act, click, or type; use macos open "Finder" --activate when you want to bring it forward.

AreaCapabilities
App controlAccessibility trees, text and values, clicks, typing, keyboard input, scrolling, dragging, menus, app lifecycle, and window placement.
Capture and perceptionCovered/minimized-window screenshots, screen streaming, OCR and vision over a window or a saved image file (including an iPhone screenshot), system/microphone audio, speech recognition, sound classification, and language analysis.
Files and system workSpotlight search, file reads/writes/watchers, clipboard, URL fetching, OS logs, AppleScript/JXA, JavaScriptCore scripts, and Apple Events.
DocumentsPDF text, forms, annotations, merge/split operations, data detection, translation, and thumbnails.
Personal appsCalendar, reminders, contacts, photos, location, music, maps, sharing, and notifications through the corresponding system frameworks and permissions.
Visual toolsHTML and SpriteKit overlays, window-anchored HUDs, capture streams, and virtual displays.
Local computeApple Intelligence on supported macOS 26+ systems, OCI containers, and Linux/macOS VM lifecycle and guest tools. See the guides for runtime, model, and guest prerequisites.

Mac command reference · Background behavior · System and media tools · Documents · Personal data · Overlays · VMs

iPhone and iOS automation

Drive apps on a physical iPhone and inspect more than its screen. Interceptor's own on-device XCUITest runner handles UI work; additional interfaces expose developer and device services.

Setup requires an owned, unlocked iPhone in Developer Mode, pairing with your Mac, a Full installation, and Xcode signed into an Apple Developer team. Connect by USB for initial pairing. Wi-Fi operation is available once paired, with network reachability between the phone and Mac.

bash
interceptor ios discover
interceptor ios setup
interceptor ios tree

setup builds, signs, installs, and launches the runner. Complete any on-device XCTest authorization prompt yourself, grant Local Network access when needed, and keep the phone unlocked and awake during automation. This operates the phone's foreground UI. It does not provide the desktop's background-use guarantee.

AreaCapabilities
App interactionRef-tagged element trees, find/inspect, taps, text, scrolling, dragging, long presses, multi-finger gestures, hardware buttons, screenshots, a continuous frame stream over Wi-Fi, and app launch/activate/terminate. Taps, drags, swipes, and gestures also take screen coordinates, for games and canvas apps with no element tree.
On-device scriptsios eval runs JavaScript inside the runner, combining UI reads, decisions, and actions in one request.
Developer telemetryProcess lists, CPU/memory and GPU sampling, app launch with arguments, and location simulation through supported device services.
Web contentios web inspects exposed Safari and WKWebView targets: page structure, JavaScript, console, and network activity.
Device inspectionLogs, diagnostics, crash reports, profiles, and supported media or app-container file access. Availability depends on iOS, pairing, and service permissions.

Use --on <alias> to select a phone when several are configured. For setup, exact verbs, service limits, and connection recovery, see the iPhone guide and command reference.

Record and reuse workflows

Teach a browser workflow by doing it once while Interceptor records clicks, inputs, navigation, DOM changes, and correlated traffic. Export the session as a timeline or a replay plan:

bash
# Start with an open Interceptor-managed browser tab.
interceptor monitor start --instruction "Search the catalog and compare two items"
# Perform the workflow.
interceptor monitor stop
# Use the session ID returned above:
interceptor monitor export <session-id> --plan

Native Mac recording uses interceptor macos monitor and the same export <session-id> --plan pattern. Review a generated plan, supply any missing inputs, and check the result when replaying it.

For longer browser jobs, monitor task stores checkpoints, target context, lessons, and verification checks. Resume a task across agent sessions; task complete runs its checks and marks it complete only when they all return true.

Browser recording · Mac recording · Durable task state

Go deeper

These interfaces add access beyond ordinary UI controls. Each has its own setup and support boundaries.

InterfaceWhat it addsGuide
Electron / Chromium appsRead DOM, execute JavaScript, inspect traffic, and capture an app's web contents with macos cdp or macos cdp app. Some attachment paths require an app relaunch.App control
Native runtimeInspect live objects and layers, call selectors, change rendered text, and observe calls with macos runtime. Requires a compatible target and an agent dylib; advanced extensions are separate from the core package.Runtime setup and commands
ResearchA browser-based investigation workflow with query planning, saved sources, corroboration, and an evidence ledger. Start with interceptor research or the research skill.Research skill
ExtensionsAdd operator-supplied bridge domains, commands, runtime agents, and skills. Inspect installed extensions with interceptor extensions list.Extension authoring

The default browser path and passive capture do not require CDP. Electron control uses CDP where appropriate, and optional browser debugger commands are available separately.

Permissions and data

Interceptor runs locally and hands results to the agent or script you choose. That agent may send content to its model provider. Interceptor's browser extension has no publisher analytics; see the privacy policy for its access, passive page buffers, and storage behavior.

  • Real access: commands act in your accounts and apps. Browser commands normally target managed tabs, but the extension's permissions and local capture hooks are broader than that task boundary.
  • Credentials by name: the macOS keychain-backed vault can deliver a secret to an allowed target with --secret; supported Chromium saved logins can also be filled by host. Standard browser reads mask password and credential-marked fields. This is not blanket redaction of screenshots, scene reads, eval, or network data.
  • MCP permissions: reads and UI mutations are enabled by default. Destructive and arbitrary-code execution tiers require operator opt-in and confirmation. These gates belong to MCP; the direct CLI follows its own command contracts.
  • Focus: default browser and Mac actions preserve your working context. Browser --os input requires a focused target; browser pixel-screenshot fallback may briefly borrow focus. Use --no-fallback when that is unacceptable.

Permission guide · Credential delivery · MCP controls

Documentation

Start with the browser guide, Mac guide, or iPhone guide. For implementation details, read Architecture; for agent operating rules, read AGENTS.md.

bash
interceptor help                  # Capability overview for your installation
interceptor help <command>        # One command's usage and options
interceptor help --all            # Full command reference
interceptor manifest              # Machine-readable command contracts
interceptor diagnose              # Runtime and extension diagnostics

Updates and troubleshooting

On a Full Mac installation, interceptor update checks for an update and interceptor update status reports progress. Browser-only users can run a newer installer; interceptor upgrade --full adds native capabilities. Windows updates use the newer signed installer. Linux updates use the matching release archive.

If no browser context connects, check that both the runtime and extension are installed and enabled. interceptor diagnose distinguishes store and unpacked versions. interceptor reload --context <id> reloads an unpacked extension; a store copy remains subject to store publication. For missing native permissions, use interceptor macos trust --walkthrough.

macOS package removal: sudo bash "/Library/Application Support/Interceptor/uninstall.sh". Add --bridge-only to remove native Mac support while retaining Browser.

Development and contributions

The CLI, daemon, and browser extension use TypeScript and Bun. The native Mac bridge and iPhone runner use Swift. A local daemon routes commands to the selected browser, bridge, app runtime, or device.

For a source install, use Bun and an installed Chrome or Brave browser. The default build on macOS also builds the native bridge and requires macOS 15+ and a Swift 6.2 toolchain:

bash
git clone https://github.com/Hacker-Valley-Media/Interceptor.git
cd Interceptor
bun install
bun run build
bash scripts/install.sh --browser-only --brave
# On macOS, use --full instead of --browser-only for native capabilities.
./dist/interceptor open "https://example.com"

Enable Developer Mode in the selected browser profile before loading an unpacked extension. Branded Chrome requires manually loading extension/dist/ from its extensions page. The installer can relaunch Brave and asks before closing a running instance. Windows source installs use scripts/install.ps1; see the Windows guide.

For code changes, run the checks appropriate to the affected surface:

bash
bun run typecheck
bun test
bun run build

Report a bug with the version, OS/browser or device, command, expected result, and relevant redacted output. Contributions to code, reproducible workflows, and documentation are welcome.

License and credits

Interceptor is licensed under Elastic License 2.0. See commercial terms.

Created by Ron Eddings. Thanks to Pedram Amini for early feedback and Maestro, Daniel Miessler for the name and PAI, Klaus Agnoletti for Edge/Vivaldi installer support, and Alex Tabisz for Linux support.

Dùng MCP Interceptor với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Interceptor, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Interceptor làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Interceptor.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "interceptor": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Interceptor, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Interceptor.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Interceptor giúp tôi làm việc này không?
Interceptor
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Interceptor.

Câu hỏi thường gặp

Máy chủ MCP Interceptor dùng để làm gì?

Interceptor là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Interceptor với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Interceptor với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Interceptor với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Interceptor, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Interceptor với TypingMind?

Interceptor hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Interceptor cung cấp những công cụ nào trong TypingMind?

Interceptor cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Interceptor không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Interceptor yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇