Logo Desktop

Desktop

Tổ chức
agentify-sh

Agentify Desktop lets Codex/Claude/OpenCode control your logged-in ChatGPT, Claude, AiStudio, Gemini, Grok, Perplexity web sessions via MCP, parallel hidden/visible tabs, file upload + image download

Nhà phát hànhagentify-sh
Kho mãdesktop
Ngôn ngữJavaScript
Bản fork
54
Sao
568
Công cụ có sẵn
0
Phương thức truyền tảistdio
Giấy phépMPL-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Desktop 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ở

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

Agentify Desktop

Agentify Desktop is a local control center for AI web sessions. It lets MCP-capable tools such as Codex, Claude Code, and OpenCode use the AI subscriptions you are already signed into, while keeping browser state, files, and automation on your machine.

What It Does

  • Opens a local Agentify Control Center.
  • Manages signed-in browser sessions for ChatGPT, Claude, Perplexity, Gemini, Google AI Studio, and Grok.
  • Exposes MCP tools for querying a tab, reading a page, navigating, uploading files, saving artifacts, and reusing stable tab keys.
  • Supports parallel tabs so different agents or tasks can use separate sessions.
  • Packs local repo/file context into prompts when requested.
  • Saves generated images/files locally so they can be reused in follow-up prompts.

Example Prompts After MCP Setup

Once Agentify Desktop is running and registered with your MCP client, you can ask for workflows like:

  • “Use Agentify with key repo-triage to ask ChatGPT for a second opinion on this bug, then compare its answer with your own analysis.”
  • “Open a Perplexity tab with key research-auth-flow and research current OAuth best practices for desktop apps.”
  • “Send this implementation plan to Claude in a separate Agentify tab and summarize any risks it finds.”
  • “Use Agentify to generate three UI concept images, save the images as artifacts, and return the local file paths.”
  • “Open Grok and ChatGPT in separate Agentify tabs, ask both to review this API design, then compare the tradeoffs.”
  • “Pack this repo into context, ask ChatGPT to identify risky files, and save the conversation under a stable tab key for follow-ups.”
  • “Read the current ChatGPT page through Agentify and turn the conversation into actionable TODOs.”

Requirements

  • Node.js 20 or newer
  • An MCP-capable CLI if you want tool integration: Codex, Claude Code, or OpenCode

Supported Sites

  • chatgpt.com
  • claude.ai
  • perplexity.ai
  • aistudio.google.com
  • gemini.google.com
  • grok.com

Preferred Install And Run

Start the desktop GUI without cloning this repo:

bash
npx @agentify/desktop

Equivalent explicit GUI command:

bash
npx @agentify/desktop gui

If you prefer a global install:

bash
npm install -g @agentify/desktop
agentify-desktop

If you want the older repo-clone and local source workflow, use DEVELOPMENT_FROM_SOURCE.md.

MCP Server

Run the MCP server over stdio:

bash
npx @agentify/desktop mcp

Show newly-created browser tabs while debugging:

bash
npx @agentify/desktop mcp --show-tabs

With a global install:

bash
agentify-desktop-mcp
agentify-desktop-mcp --show-tabs

Register With MCP Clients

Codex:

bash
codex mcp add agentify-desktop -- npx -y @agentify/desktop mcp

Claude Code:

bash
claude mcp add --transport stdio agentify-desktop -- npx -y @agentify/desktop mcp

OpenCode config example:

json
{
  "mcp": {
    "agentify-desktop": {
      "type": "local",
      "command": ["npx", "-y", "@agentify/desktop", "mcp"],
      "enabled": true
    }
  }
}

Use --show-tabs at the end of the command while debugging:

bash
codex mcp add agentify-desktop -- npx -y @agentify/desktop mcp --show-tabs

First Run

  1. Start the app:
bash
npx @agentify/desktop
  1. In the Control Center, create or show a ChatGPT tab.

  2. Sign in to the target vendor in the browser window.

  3. Register the MCP server with your CLI.

  4. Ask your MCP client to use Agentify:

text
Use Agentify Desktop with tab key repo-triage.
Ask ChatGPT to summarize this repo in 8 bullets and list the top 3 risky areas to change first.
Return the answer and keep the tab key stable for follow-ups.

The core loop is:

  • keep a real signed-in browser session open locally
  • call it from an MCP client
  • reuse a stable tab key across follow-up prompts

Useful MCP Tools

The MCP server registers agentify_* tools, including:

  • agentify_query: send a prompt to a stable tab and return the assistant response.
  • agentify_read_page: read visible page text from a tab.
  • agentify_navigate: navigate a tab to a URL.
  • agentify_ensure_ready: wait for login, CAPTCHA, or UI readiness.
  • agentify_show / agentify_hide: bring windows forward or minimize them.
  • agentify_status: inspect tab and readiness state.
  • agentify_tabs, agentify_tab_create, agentify_tab_close: manage tabs.
  • agentify_save_artifacts, agentify_list_artifacts, agentify_open_artifacts_folder: manage generated files/images.
  • agentify_save_bundle, agentify_list_bundles: save and reuse context bundles.
  • agentify_add_watch_folder, agentify_list_watch_folders, agentify_remove_watch_folder: manage watched folders.

Artifact Workflow

Generate an image or file in a stable tab:

json
{
  "tool": "agentify_query",
  "arguments": {
    "key": "ui-concepts",
    "prompt": "Generate 3 clean UI concept images for a compact desktop developer tool. Keep backgrounds neutral and avoid text."
  }
}

Save the generated images locally:

json
{
  "tool": "agentify_save_artifacts",
  "arguments": {
    "key": "ui-concepts",
    "mode": "images",
    "maxImages": 3
  }
}

Reattach one of the returned file paths in a follow-up:

json
{
  "tool": "agentify_query",
  "arguments": {
    "key": "ui-concepts",
    "prompt": "Use the attached concept image and create a more minimal variant with stronger contrast.",
    "attachments": ["/absolute/path/to/concept.png"]
  }
}

Codebase Context Workflow

Ask Agentify to pack local files or folders into a prompt:

json
{
  "tool": "agentify_query",
  "arguments": {
    "key": "repo-review",
    "prompt": "Summarize this codebase in 8 bullets and list the top 3 risky files to change first.",
    "contextPaths": ["/absolute/path/to/repo"]
  }
}

Control context size:

json
{
  "tool": "agentify_query",
  "arguments": {
    "key": "repo-review",
    "prompt": "Focus only on rendering and state management.",
    "contextPaths": ["/absolute/path/to/repo"],
    "maxContextChars": 120000,
    "maxContextFiles": 80,
    "maxContextInlineFiles": 30
  }
}

The tool result includes packedContextSummary so you can see what was included, attached, or skipped.

Browser Backend

Agentify Desktop supports two browser backends:

  • chrome-cdp: launches or attaches to a Chrome-family browser over Chrome DevTools Protocol. This is the default and recommended backend.
  • electron: embedded windows managed by Agentify Desktop. Use this only as an explicit fallback.

Chrome CDP is the default because SSO providers commonly block embedded Electron login:

bash
npx @agentify/desktop

Optional Chrome CDP settings:

bash
AGENTIFY_DESKTOP_CHROME_DEBUG_PORT=9333 npx @agentify/desktop
AGENTIFY_DESKTOP_CHROME_BIN="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" npx @agentify/desktop

You can also pass GUI flags:

bash
npx @agentify/desktop gui --browser-backend chrome-cdp
npx @agentify/desktop gui --browser-backend electron
npx @agentify/desktop gui --chrome-debug-port 9333

Chrome CDP profile modes:

  • Agentify isolated profile: safest default.
  • Existing Chrome profile: reuses your normal Chrome session. Fully quit Chrome first so the profile is not already locked.

CAPTCHA And Login Policy

Agentify Desktop does not bypass CAPTCHAs or use third-party solvers. If a verification or login challenge appears, automation pauses, brings the relevant window forward, and waits for you to complete the step manually.

If your account uses Google, Microsoft, or Apple SSO, keep auth popups enabled in the Control Center. If embedded login remains unreliable, use Chrome CDP.

Windows Notes

Use Node.js 20 or 22 on Windows. Agentify Desktop is tested against Windows in CI, including the npm CLI launcher path.

Chrome CDP is still the recommended backend on Windows because Google and Microsoft SSO can block embedded Electron login. Agentify looks for Chrome, Chromium, Brave, and Microsoft Edge in the usual install locations and on PATH.

If Chrome CDP cannot find your browser, set the executable explicitly:

powershell
$env:AGENTIFY_DESKTOP_CHROME_BIN = "C:\Program Files\Google\Chrome\Application\chrome.exe"
npx @agentify/desktop

Local Data And Privacy

Agentify Desktop is local-first:

  • The local API binds to 127.0.0.1.
  • The local API requires a bearer token stored under ~/.agentify-desktop/.
  • Electron browser data is stored under ~/.agentify-desktop/electron-user-data/.
  • Chrome CDP profile data is stored under ~/.agentify-desktop/chrome-user-data/ unless you choose an existing profile.
  • Artifacts, bundles, logs, and state are stored under ~/.agentify-desktop/.

Anyone with access to your machine account may be able to access local session data. Treat the machine account as the security boundary.

Environment Variables

  • AGENTIFY_DESKTOP_STATE_DIR: override the local state directory.
  • AGENTIFY_DESKTOP_PORT: choose the local API port.
  • AGENTIFY_DESKTOP_SHOW_TABS=true: show newly-created tabs by default.
  • AGENTIFY_DESKTOP_MAX_TABS: cap parallel tabs.
  • AGENTIFY_DESKTOP_BROWSER_BACKEND=electron|chrome-cdp: choose browser backend.
  • AGENTIFY_DESKTOP_CHROME_BIN: choose Chrome/Chromium executable.
  • AGENTIFY_DESKTOP_CHROME_DEBUG_PORT: choose Chrome debug port.
  • AGENTIFY_DESKTOP_CHROME_PROFILE_MODE=isolated|existing: choose Chrome profile mode.
  • AGENTIFY_DESKTOP_CHROME_PROFILE_NAME: choose an existing Chrome profile name.

Development From Source

Source checkout, quickstart script usage, local build commands, and source-only debugging notes live in DEVELOPMENT_FROM_SOURCE.md.

Package Commands

The npm package exposes these commands:

  • agentify-desktop: default GUI launcher, with mcp subcommand support.
  • agentify-desktop-gui: explicit GUI alias.
  • agentify-desktop-mcp: explicit MCP alias.

Examples:

bash
npx @agentify/desktop
npx @agentify/desktop mcp
npx -p @agentify/desktop agentify-desktop-mcp

License And Trademarks

The code is licensed under MPL-2.0. Agentify trademarks and branding are not included in that license. See TRADEMARKS.md.

Dùng MCP Desktop 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 Desktop, 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 Desktop 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 Desktop.
  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": {
    "desktop": {
      "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 Desktop, 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 Desktop.
  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 Desktop giúp tôi làm việc này không?
Desktop
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Desktop.

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

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

Desktop 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 Desktop 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 Desktop 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 Desktop 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 Desktop, 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 Desktop với TypingMind?

Desktop 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 Desktop cung cấp những công cụ nào trong TypingMind?

Desktop 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 Desktop 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 Desktop 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 👇