Skip to content
Projects

About

Open-source self-hosted remote MCP server connecting Gemini Web, Tasks & ChatGPT to your local Windows, macOS & Linux PC for local files, shell, Python & Office automation over Streamable HTTP OAuth 2.1.

AI & Machine Learning

How these counts are measured

70 stars3 Forks +13 in 24h

Measured star growth

in 24h
+13
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

docs/en/README.md

Original

WebAI2PC Documentation Hub

English Home (README.md) · 简体中文首页 (README_CN.md) · 中文文档 (../README.md) · Compatibility Matrix (COMPATIBILITY.md) · Releases

This directory hosts WebAI2PC's step-by-step tutorials, search-intent topic guides, connection architecture diagrams, safety guardrails, and built-in tool references.

1. Scenario-Based Tutorials & Topic Guides

Guide Audience & Core Topics
How to Connect Gemini Web & Tasks to a Local PC Personal Google Account eligibility, Windows zero-Python win64-full.zip launch, MCP Server URL binding, Always allow toggle, and mobile sync
ChatGPT Local File, Python & Office Access Guide Workspace /mcp vs Personal Plus/Pro /mcp/readonly (RFC 8707), Chat vs Work mode quota split, and format-preserving .docx / .xlsx edits
Self-Hosted Remote MCP Server & OAuth 2.1 Guide Stateless Streamable HTTP, OAuth 2.1 DCR + PKCE S256, OpenSSH srv.us vs Cloudflare Workers 443 WSS vs Linux VPS Caddy TLS 1.3
Security Model & Per-Session Directory Confinement /studio loopback isolation, callback allowlists, L1–L4 tiers, per-session sid-xxxxxx Write Fence / Full Jail, and sandbox/ containers
WebAI2PC vs. CLI Coding Agents (Claude Code, Gemini CLI, Codex CLI) Subscription reuse vs API billing, mobile & Scheduled Tasks, cloud Workspace fusion, and AGENTS.md / CLAUDE.md coexistence
01. Web Gemini & Mobile Remote Connection Guide Zero-CLI extract & launch, 3 independent gateway switches, Gemini Task Mode Always allow setup, and same-account mobile remote control
02. Web ChatGPT Workspace & Personal Read-Only Guide Work mode first-time assisted setup vs Chat mode zero-agent-quota daily execution, plus Workspace /mcp and Personal /mcp/readonly configuration
03. Cosmos Studio Console & Extension Packs Guide Five console pages, 4 security tiers, parent read-only / child read-write directory layering, managed browser & desktop packs, Docker & Windows Sandbox
04. Three Connection Channels & Network Troubleshooting Built-in OpenSSH login-free fixed connect (Ed25519 + SSHv2/TLS · srv.us relay / trycloudflare SHA-256 + TLS+HTTP/2 backup), Cloudflare Dedicated Fixed Gateway (443 WSS + 256-bit secret · token shredded), self-hosted 24h VPS hub (Caddy TLS 1.2/1.3 self-terminated + 256-bit WSS / SSHv2) & reverse-proxy troubleshooting
05. Multi-Agent Parallel Subtasks & Practical Workflows Host Skills rule import, Gemini parallel subtask delegation, safe Office revisions, and background long-task polling
AI Guided Setup Single-File Tutorial (AI_SETUP_GUIDE.md) Complete step-by-step guide designed to be read directly by Web Gemini / ChatGPT

2. Connection Architecture & Host Boundaries

WebAI2PC Connection Architecture & Host Boundaries WebAI2PC Connection Architecture & Host Boundaries

3. Safety Guardrail Mechanisms

WebAI2PC Four Safety Guardrails WebAI2PC Four Safety Guardrails

4. Core Scenarios & Local OAuth Consent UI

WebAI2PC Core Scenarios Overview

WebAI2PC Same-Machine OAuth 2.1 Consent Page & Mobile Console

5. Quick Reference: 16 Default Built-In Tools

The default tool prefix is pc_ (for multi-device setups, you can hot-change it in the console or via --tool-prefix). Two optional extension packs are disabled by default and can be hot-enabled on demand: browser (managed browser pc_browser_use) and Windows desktop (background window control pc_cua_window):

Tool Name Category Description
pc_get_status Read-only Inspect system info, workspace directory, security tier, and poll background jobs
pc_find_files Read-only Find workspace files by glob pattern, extension, or directory depth
pc_search_code Read-only Search code and structured documents across files via regex or literal text
pc_code_intel Code Intel Project RepoMap, symbol outline, definition/reference lookup, scoped symbol rename
pc_read_file Read-only Read code by line ranges, view local images directly, extract PDF / .docx / .xlsx / .pptx
pc_batch_probe Read-only Run a single deterministic Python aggregation probe inside a restricted read-only sandbox
pc_web_research Read-only Run local public web and GitHub code searches
pc_skill_hub Read-only Search workspace and managed skill libraries (isolates external global skill directories by default)
pc_edit_file File Edit Patch code replacements, format-preserving .docx edits, .xlsx cell edits (with lock protection & pre-edit snapshots)
pc_write_file File Edit Create or write files (pre-edit snapshot + syntax validation)
pc_manage_files File Mgmt Directory & file operations (deletions move to <state_root>/trash, supports undo / redo)
pc_workspace_memory Collab Log Read and write cross-session workspace handoff notes
pc_skill_manage Skill Mgmt Create, edit, or remove local SKILL.md skills inside controlled directories
pc_run_command Execution Run windowless terminal commands in the background; auto-promotes to background job on timeout
pc_run_python Execution Execute multi-line Python code directly via stdin pipe
pc_bg_command Execution Start, check status, wait, read tail logs, or kill long-running background jobs

Platform & Document Format Boundaries:

  • Cross-platform support: The core MCP server, three gateway channels, and local console run on Windows, macOS, and Linux. The system tray and pc_cua_window desktop automation pack are Windows-only. On Linux, systemd --user autostart requires loginctl enable-linger if you want the service to remain active after logout.
  • Documents & multimodal: pc_read_file supports images, PDFs (text extraction & page rendering), SVG, audio metadata, and .docx / .xlsx / .pptx extraction. Format-preserving in-place editing via pc_edit_file supports .docx and .xlsx; .pptx and .pdf are currently read-only extraction.

6. Engineering & Security Policies

Explore related projects

Loading…