WindowsPCAgent
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Gemini Web → PC Agent (Windows)
An MCP (Model Context Protocol) server + offline-first Local Admin Dashboard that lets Gemini Web (gemini.google.com) safely control your Windows PC: run shell commands, edit files, inspect Windows UI, automate browsers, manage Git repositories, and bridge external MCP servers — all protected by granular security guardrails.
Gemini Web (gemini.google.com) Your Browser (localhost ONLY)
│ HTTPS + Shared Secret │ http://127.0.0.1:8768
▼ ▼
Tailscale Funnel / Serve (or Cloudflare) Local Admin Dashboard (admin.py)
│ → http://127.0.0.1:8767 │ (admin-token.txt + CSRF + TOTP)
▼ │
WindowsPCAgent (server.py — 54+ MCP tools) ◄── config.json ──► watchdog.py
│ (auto-restart + scheduler)
▼
Windows 10/11 Desktop Session + External MCP Hub (mcp_servers.json)Key Features
54 Built-in MCP Tools + 3 Resources + 2 Prompts:
Shell & Background Jobs:
run_command(PowerShell/cmd),start_job,get_job_output,list_jobs,stop_jobFiles & Images:
read_file(line ranges + mtime cache),edit_file(partial patch),write_file,read_image,list_directory,search_files,delete_path,move_pathScreen & Windows UI Automation:
take_screenshot(multi-monitor, region, window, coordinate grid overlay, JPEG/resize),get_screen_info,inspect_ui,click_elementMouse, Keyboard & Window Control:
mouse_*,type_text,press_key,clipboard,clipboard_history,clipboard_image,list_windows,focus_window,close_window,wait_for_window,sleep_seconds,resize_move_window,set_window_stateBrowser Automation (Playwright):
browser_open,browser_click,browser_type,browser_read,browser_screenshot,browser_closeGit & System Power:
git_status,git_diff,git_branch,git_commit,get_system_info,list_processes,kill_process,open_application,prevent_sleep,get_battery_info,set_volume,lock_screenProductivity:
notify_user(Windows Toast / ntfy),memory_read,memory_writeMCP Resources:
pc://system/summary,pc://memory,pc://logs/recentMCP Prompts:
daily_health_check,safe_workspace_cleanup
Multi-App External MCP Hub: Connect other MCP servers (
stdio,http, orsse— e.g., Obsidian, Notion, Blender, SQLite) from the Dashboard and expose them through the same Gemini endpoint (<server_id>__<tool>).Granular Security & Control:
Access Scope Modes:
Full Access,Project Folders Only,Apps Only, orProject + Apps(hot-reload).Per-Tool Policies:
allow/ask/deny(denied tools are dynamically hidden fromlist_tools).Live Approval Queue: Tools set to
askpause and show an impact card in the Dashboard for 1-click Approve/Deny.Undo Stack + Diff Viewer: Automatic snapshots before
write_file/edit_file/delete_path/move_pathwith 1-click restore.Hardening: Separate MCP & Admin tokens, constant-time verification, CSRF protection, optional TOTP 2FA, sliding-window rate limiter, command regex denylist, stdout secret redaction, and Emergency Kill.
Offline-First Local Admin Dashboard (
http://127.0.0.1:8768): Zero npm/CDN dependencies, SSE live status & audit log stream, CPU/RAM/Disk sparklines, Windows Autostart ON/OFF toggle, screenshot gallery, prompt library, persistentmemory.mdeditor, and local scheduled tasks.
Related MCP server: GPT-to-Windows
Quick Start (Windows 10/11)
Prerequisites
Windows 10/11 (interactive logged-in desktop session required for GUI tools)
Python 3.11 – 3.14
Tailscale (recommended — gives a free, permanent
https://<your-host>.ts.netURL) or cloudflared (temporary URL)
1. Tailscale One-Time Setup (Recommended for Permanent URL)
If you want a permanent HTTPS URL that never changes across restarts:
Install & Sign In: Download Tailscale for Windows from https://tailscale.com/download/windows and sign in from the system tray icon.
Enable MagicDNS & HTTPS Certificates: Open the Tailscale Admin Console → DNS, ensure MagicDNS is ON, then scroll down and click Enable HTTPS.
Enable Funnel (one-time): Run once in PowerShell:
tailscale funnel --bg 8767If Funnel is not enabled on your tailnet yet, Tailscale will print an approval link — open it in your browser and click Enable Funnel.
Want private tailnet-only access instead of public Funnel? Switch
tunnel.exposeto"private"in the Dashboard Settings tab (usestailscale serve).
2. Download & Run Setup
git clone https://github.com/AmajinXLab/gemini-pc-agent.git
cd gemini-pc-agent
powershell -ExecutionPolicy Bypass -File .\setup.ps1setup.ps1 automatically creates an isolated .venv (pinning mcp==1.30.0), installs all dependencies, copies config.example.json → config.json, and generates secret-token.txt & admin-token.txt with user-only ACLs.
3. Start the Agent
powershell -ExecutionPolicy Bypass -File .\start.ps1 -Mode tailscaleOther modes:
powershell -ExecutionPolicy Bypass -File .\start.ps1 -Mode cloudflare # temporary trycloudflare URL
powershell -ExecutionPolicy Bypass -File .\start.ps1 -Mode none # local only (127.0.0.1:8767)Your full MCP URL (https://<your-host>.ts.net/<TOKEN>/mcp) is saved to public-url.txt and copied to your clipboard automatically.
4. Open Local Admin Dashboard
Open http://127.0.0.1:8768 in your browser and log in with the token in admin-token.txt.
From here you can toggle Windows Autostart (ON/OFF), set Access Scope (Full / Project Folders / Apps Only / Project + Apps), configure tool policies, approve ask requests, connect external MCP apps, and monitor live logs.
5. Connect to Gemini Web
Open
gemini.google.com→ Settings → Connected Apps → Custom apps → Add a custom app.Paste your MCP URL:
https://<your-host>.ts.net/<TOKEN>/mcpApprove the connection — Gemini can now see and invoke your enabled PC tools.
Useful Commands
Command | Description |
| Start / restart agent using |
| Check Watchdog, MCP, Admin & Public health |
| Stop MCP server, Admin Dashboard, Watchdog & tunnel |
| Rotate MCP |
| Rotate Dashboard |
| Create Desktop & Start Menu shortcuts |
Verification Tests
.\.venv\Scripts\python.exe .\tests\test_auth.py https://<your-host>.ts.net (Get-Content .\secret-token.txt -Raw).Trim()
.\.venv\Scripts\python.exe .\tests\test_tools.py (Get-Content .\public-url.txt -Raw).Trim()
.\.venv\Scripts\python.exe .\tests\test_guardrails.py
.\.venv\Scripts\python.exe .\tests\test_phase3.py
.\.venv\Scripts\python.exe .\tests\test_phase4.py
.\.venv\Scripts\python.exe .\tests\test_phase5.py
.\.venv\Scripts\python.exe .\tests\test_phase6a.py
.\.venv\Scripts\python.exe .\tests\test_phase6b.pySecurity Notice
Read SECURITY.md before exposing your endpoint. Never commit secret-token.txt, admin-token.txt, admin-totp.txt, public-url.txt, or config.json.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Connect AI assistants to registered Windows and macOS computers using OAuth 2.0 and Streamable HTTP. Use 19 MCP tools for files, commands, processes, services and TLS 1.3 direct LAN file transfer. The Windows desktop client includes MCP Services to scan supported local software and quick-connect integrations such as ComfyUI, Blender, DaVinci Resolve, OBS and Microsoft Office. Free plan: 1 device and 10,000 tool calls/month. Windows guide: https://github.com/DNSDATA/dns-data-mcp/tree/main/windows-client Glama repository listing: https://glama.ai/mcp/servers/DNSDATA/dns-data-mcp
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to securely control and interact with a local Windows machine through 218 configurable tools for files, Git, processes, Windows UI, browser automation, WSL, Office, recovery, skills, and child MCP servers.MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to control and interact with a local Windows computer through authenticated MCP tools, including file operations, shell commands, process management, HTTP requests, and system/media inspection.-
- AlicenseNot gradedqualityBmaintenanceConnects Gemini on the web to a user's own Windows PC, letting it read files, run commands, write to disk, and invoke local skills and other MCP plugins. It reaches the machine through a stable self-hosted Tailscale Funnel URL, with tools enabled and approved by the user.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables a supported web-chat AI client to control a local Windows computer through MCP using explicit, user-authorized tool calls for file, browser, shell, Git, and optional desktop operations.1MIT