by cosmosomo
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.
# Add to your Claude Code skills
git clone https://github.com/cosmosomo/WebAI2PCGuides for using ai agents skills like WebAI2PC.
See how WebAI2PC compares with popular alternatives.
WebAI2PC is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by cosmosomo. 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. It has 50 GitHub stars.
WebAI2PC's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/cosmosomo/WebAI2PC" and add it to your Claude Code skills directory (see the Installation section above).
WebAI2PC is primarily written in Python. It is open-source under cosmosomo on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh WebAI2PC against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
AI Agent Setup Entry: If you are an AI agent helping a user install or configure this repository (Cursor, Claude Code, Codex, Windsurf, Gemini CLI, WorkBuddy, etc.), read docs/en/AI_SETUP_GUIDE.md first (Raw URL:
https://raw.githubusercontent.com/cosmosomo/WebAI2PC/main/docs/en/AI_SETUP_GUIDE.md· 中文版 AI 陪配教程:docs/AI_SETUP_GUIDE.md).
WebAI2PC (cosmos-mcp) is an open-source, self-hosted Model Context Protocol (MCP) server and local visual console (Cosmos Studio) for Windows 10/11, macOS, and Linux. It exposes a stateless Streamable HTTP endpoint secured with OAuth 2.1 + PKCE (S256) and RFC 8707 audience isolation so Google Gemini Web (Task Mode, Scheduled Actions, and the same-account Gemini mobile app) and OpenAI ChatGPT Web (Chat mode and Work mode) can inspect and edit local codebases, run windowless shell commands and Python scripts, view PDFs/images, and revise Word (.docx) and Excel (.xlsx) files in place—reusing your existing web subscription with no separate API keys to purchase.
| Dimension | Manual Browser Copy-Paste / API-Only Tools | WebAI2PC (Self-Hosted Remote MCP) |
|---|---|---|
| Subscription & Cost | Separate per-token API bills ($30–$100+/mo) or manual file uploads in browser chat |
Uses your existing Gemini or ChatGPT web plan with $0 separate API keys; on ChatGPT Workspace plans, everyday Chat mode runs local tools without consuming Work / Codex agent quota |
| Setup & Networking | Port forwarding, reverse-proxy certificates, OAuth boilerplate, or terminal-only CLI lock-in | 30-second double-click launch (win64-full.zip bundles embedded Python for Windows); invokes your OS built-in OpenSSH (Ed25519 local key + SSHv2 ChaCha20-Poly1305 / AES-256-GCM + HTTPS/TLS + OAuth 2.1 PKCE), Cloudflare Workers, or your own Linux VPS |
| Local Execution & Office | Cloud sandboxes cannot see local repos and often break .docx / .xlsx formatting on re-export |
16 core workspace tools: AST symbol navigation, multi-file fuzzy patching, windowless shell/Python, PDF/PPTX reading, format- & formula-preserving .docx / .xlsx in-place edits, and mobile/scheduled task access |
| Defense-in-Depth Safety | Unscoped disk writes or destructive rm commands |
Folder-scoped L1–L4 guardrails · per-session sid-xxxxxx directory locks · <state_root>/history undo snapshots · <state_root>/trash recovery · 0.1s tray read-only stop |
Cosmos-MCP-v1.2.2-win64-full.zip includes embedded Python 3.12 for zero-install Windows setup; use the standard .zip on macOS, Linux, or existing Python 3.10+) and extract it to a regular folder.一键启动_Cosmos_MCP.bat on Windows (or run ./start_cosmos_mcp.sh on macOS / Linux). Cosmos Studio opens at http://127.0.0.1:8096/ and uses your OS built-in OpenSSH client (Ed25519 local key + SSHv2 encrypted tunnel + HTTPS/TLS + OAuth 2.1 PKCE S256) to generate a persistent https://<domain>/mcp endpoint. (If Windows SmartScreen appears on first launch, click More info -> Run anyway.)/mcp URL directly in your browser address bar / 请勿在浏览器地址栏直接打开 /mcp;keep generated URLs and setup prompts strictly inside your own signed-in AI account and never post them publicly):
Personal Intelligence -> Connected Apps), click + Custom, paste https://<domain>/mcp into MCP Server URL, click Next to approve OAuth 2.1 ("1-Click Local Allow" on the same PC), and set App actions to Always allow. Start any chat with @<your-connector-name> (e.g., @WebAI2PC); your same-account mobile Gemini app syncs automatically.Work Mode 1-Click Setup · Chat Mode for Daily Coding): In Studio, click Copy 1-Click Setup Prompt (for Work) (or the read-only button for Personal Plus / Pro) and send it in a new ChatGPT Work mode chat so @Plugin Creator connects over standard OAuth 2.1 (if your workspace returns 403 on external custom MCP URLs, the prompt falls back automatically to an owner-only private ChatGPT Sites /mcp plugin + SKILL.md backed by a revocable server-side cmcp_ secret). Once installed, invoke @WebAI2PC in Chat mode for fast daily coding, Office edits, and tests without consuming Work / Codex quota, or in Work mode for multi-app workflows and Scheduled Tasks, verifying first with pc_get_status.Copy and send this prompt to Cursor, Claude Code, Codex, Windsurf, GitHub Copilot, Cline / Roo Code, Gemini CLI, Trae, WorkBuddy, Web Gemini, or Web ChatGPT (local agents with shell access will clone, start the service, and hand you the /mcp URL automatically; chat-only AIs will guide you step by step):
Please install and configure https://github.com/cosmosomo/WebAI2PC from source for me. First read https://raw.githubusercontent.com/cosmosomo/WebAI2PC/main/docs/en/AI_SETUP_GUIDE.md . If you have local shell access, clone the latest source and start it to get my /mcp URL, then guide me step by step to connect Web Gemini or Web ChatGPT.
Even if you only paste
https://github.com/cosmosomo/WebAI2PCand say "set this up for me", local agents will finddocs/en/AI_SETUP_GUIDE.mdright at the top of this README. Keep your generated/mcpURLs and setup prompts private to your own signed-in accounts.
WebAI2PC aligns strictly with official Google and OpenAI custom MCP policies (see COMPATIBILITY.md for the full OS, host, tool, and CI verification matrix):
| AI Host / Client | Official Account & Policy Requirement | WebAI2PC Endpoint | Capabilities Unlocked |
|---|---|---|---|
| Google Gemini Web, Scheduled Actions & Mobile App | Eligible personal Google Account (18+, Keep Activity / History enabled, in supported regions per Google Help #17209137); enterprise orgs connect via Gemini Enterprise Custom MCP data stores |
https://<domain>/mcp |
All 16 core read/write & execution tools across desktop web, Scheduled Actions, and Android/iOS Gemini App |
| OpenAI ChatGPT Web (Business / Team, Enterprise & Edu) | Paid Workspace plan on ChatGPT Web; Admins/Owners (or RBAC-authorized Enterprise/Edu members) create custom MCP plugins (OpenAI Help #12584461) | https://<domain>/mcp |
All 16 core read/write & execution tools in both everyday Chat mode (zero Work / Codex quota burn) and Work mode |
| OpenAI ChatGPT Web (Personal Plus / Pro) | Personal Plus or Pro web plan where OpenAI scopes custom remote MCP connections to read/fetch actions (OpenAI Help #12584461) |
https://<domain>/mcp/readonly |
12 strictly read-only tools enforced via RFC 8707 server:read audience isolation |
Local stdio Clients (Claude Desktop, Cursor, Gemini CLI, Codex CLI) |