Personal MCP Remote Agent
Provides tools for viewing git status and diff of projects within the workspace.
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.
Personal MCP Remote Agent
Personal MCP Remote Agent คือ MVP สำหรับให้ ChatGPT เชื่อมผ่าน MCP ไปยัง Gateway แล้วส่งคำสั่งแบบปลอดภัยไปยัง Desktop Agent บน Windows เครื่องนี้ โดยรอบแรกเปิดเฉพาะโหมด SAFE: อ่านโปรเจกต์, อ่านไฟล์ text, ดู git status/diff, และรัน npm run build / npm test จากโปรเจกต์ที่อยู่ใน WORKSPACE_ROOT เท่านั้น
Architecture
ChatGPT -> MCP over HTTPS -> Gateway -> Secure WebSocket -> Desktop Agent -> WORKSPACE_ROOTapps/gateway: HTTP server, WebSocket server, MCP endpointapps/desktop-agent: CLI agent ที่เชื่อม Gateway และ execute toolspackages/shared: path safety, permission, command wrapper, audit logpackages/protocol: Zod schemas สำหรับ message และ tool args
Related MCP server: bridge-mcp
Requirements
Node.js 22+
npm 10+
Git ใน PATH
Setup บน Windows
cd personal-mcp-agent
npm install
Copy-Item .env.example .envแก้ .env:
GATEWAY_PORT=8787
GATEWAY_HOST=127.0.0.1
GATEWAY_URL=ws://127.0.0.1:8787/agent
AGENT_TOKEN=replace-with-a-long-random-token
WORKSPACE_ROOT=D:\AI-Workspace
DEVICE_ID=personal-windows-agent
DEVICE_NAME=Windows Desktop Agent
PERMISSION_MODE=SAFEสร้าง WORKSPACE_ROOT และวางโปรเจกต์ที่ต้องการให้ Agent อ่านไว้ใต้ folder นี้ ห้ามใช้ token จริงใน source code
Run
เปิด Gateway:
npm run dev:gatewayตรวจ health:
curl http://127.0.0.1:8787/healthเปิด Desktop Agent อีก terminal:
npm run dev:agentดู Agent ที่เชื่อมแล้ว:
curl http://127.0.0.1:8787/api/devicesMCP endpoint อยู่ที่:
POST http://127.0.0.1:8787/mcpMCP Tools
get_devicesget_projectslist_filesread_filegit_statusgit_diffnpm_buildnpm_test
ถ้ามี Agent มากกว่า 1 เครื่อง ให้ส่ง deviceId มากับ tool arguments
Security Limitations
Agent อ่านหรือรันคำสั่งได้เฉพาะ path ใต้
WORKSPACE_ROOTป้องกัน
../, absolute path, UNC path, network path และ symlink escape เท่าที่ตรวจได้ใน MVPไม่มี
write_file,delete_file, arbitrary shell, git commit, git push, remote mouse/keyboard/screen controlWORKและDANGEROUSมีไว้เป็น architecture placeholder แต่ยังไม่เปิดใช้งาน
Verify
npm run typecheck
npm test
npm run build
npm run smokeทดลองใช้งานจริง
ดูขั้นตอนแบบจับมือทำที่ docs/USAGE.md
เชื่อมกับ ChatGPT
ดูขั้นตอนเชื่อม ChatGPT Developer mode / MCP ที่ docs/CHATGPT.md
เปิด Gateway + Agent + ngrok ในหน้าต่างเดียว:
cd D:\personal-mcp-agent
npm run start:guiหรือดับเบิลคลิก Personal MCP Agent.cmd
ถ้าต้องการใช้ launcher แบบ terminal เดิม:
npm run start:chatgptWindows App-like Installer
ติดตั้งจาก GitHub แบบคำสั่งเดียว:
irm https://raw.githubusercontent.com/disomanceo/personal-mcp-agent/master/install.ps1 | iexหลังติดตั้งจะมี shortcut ชื่อ Personal MCP Agent บน Desktop ให้ดับเบิลคลิกเปิดใช้งานได้ทันที
รายละเอียดเพิ่มเติม: docs/INSTALLER.md
คู่มือใช้งานแบบง่ายภาษาไทยหลังติดตั้ง: docs/QUICKSTART-TH.md
สำหรับผู้ใช้ทั่วไป สามารถดาวน์โหลดตัวติดตั้ง setup.exe ได้จาก GitHub Releases
GUI รองรับการเพิ่มโปรเจกต์จาก URL:
GitHub repository URL: clone เข้า
D:\AI-WorkspaceVercel project URL: สร้าง linked project พร้อม metadata
Google Apps Script URL: สร้าง linked project พร้อม Script ID และคำแนะนำ
clasp
Phase 1 Status
Phase 1 is complete when typecheck, test, build, lint, and smoke all pass. The first commit and any push should happen only after user approval.
Vercel Project
This repository is linked to a new Vercel project:
Vercel Project: disomanceo/personal-mcp-agent
GitHub Repo: https://github.com/disomanceo/personal-mcp-agent
Production URL: https://personal-mcp-agent.vercel.appImportant: the Phase 1 Gateway uses a long-lived WebSocket connection to the Desktop Agent. Vercel Functions are not the right runtime for that WebSocket relay by themselves. For full cloud operation, run the Gateway on a persistent WebSocket-capable host, or use Vercel for HTTP/MCP-facing pieces and a separate relay service for Desktop Agent WebSockets.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
MCP gateway with runtime security policy, tool-call-level control, and audit of agent actions.
MCP gateway and cloud hosting for MCP servers, agents and apps like RAG, managed from your agent.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceLocal MCP server bridging ChatGPT Web to local tools for file, shell, git, test, and process management with secure policy controls.MIT
- FlicenseBqualityBmaintenanceA local MCP server that bridges ChatGPT to a Windows PC, offering filesystem, shell, Git, and diagnostic tools via a secure tunnel.171-
- AlicenseNot gradedqualityDmaintenanceSecure localhost MCP gateway that exposes project-scoped file/Git/search tools and controlled CLI agent adapters (Codex, Claude) with fixed argv for safe Windows-native agent work.MIT
- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT Developer Mode to securely invoke multiple Windows-local stdio MCP servers through a single gateway, with tool namespacing, path restrictions, and serial execution control. It includes safe-file, image, and download tools for local workspace interaction.1MIT