WorkForge
WorkForge is a secure Windows MCP gateway that lets ChatGPT inspect local projects, resume Git work, read text and images, apply SHA-guarded edits, and run supervised PowerShell jobs on the user's workstation through OpenAI Secure MCP Tunnel. It exposes twelve bounded tools while keeping profile identity, runtime evidence, credentials, process ownership, and recovery behavior explicit and locally verifiable.
README
WorkForge
WorkForge is a secure Windows MCP gateway that lets ChatGPT inspect local projects, resume Git work, read text and images, apply SHA-guarded edits, and run supervised PowerShell jobs on the user's workstation through OpenAI Secure MCP Tunnel.
It exposes twelve bounded tools while keeping profile identity, runtime evidence, credentials, process ownership, and recovery behavior explicit and locally verifiable.
Release status
Version 1.1 introduces a unified setup entry point, safe Install/Repair/Upgrade semantics, visible control errors, a prebuilt MCP runtime package, release archive validation, and a production dependency audit gate.
The Windows runtime ZIP has been validated through the automated Windows suite and an isolated release-package build. Clean-machine validation with a real user-owned OpenAI tunnel remains a release gate before broad distribution.
Quick start
1. Prepare the Windows runtime
Requirements for the current v1.1 runtime ZIP:
- Windows 10 or 11 on x64
- Node.js 20 or newer on x64
- Git for Windows
- ripgrep (
rg.exe) - a ChatGPT account or workspace allowed to use Developer mode
- your own OpenAI Platform tunnel ID and runtime API key
The runtime ZIP already contains dist/ and production npm dependencies. Release
users do not run npm, TypeScript, Vitest, or the repository test suite during setup.
Node.js, Git, and ripgrep are still external prerequisites until the portable-runtime
milestone is completed.
Extract the ZIP to a stable local directory that you will not casually rename or delete. Then double-click:
Setup.cmd
Setup performs the local steps in order:
- validates Windows and the engine directory,
- installs or safely repairs the workstation profile,
- opens OpenAI tunnel management when tunnel configuration is missing,
- securely prompts for the tunnel ID and runtime API key,
- validates the generated tunnel profile,
- starts the tunnel for this setup session,
- opens the ChatGPT Plugins page for the final connection.
The runtime API key is collected through a protected prompt. It is not accepted as a plain command-line parameter and is not written to logs or profile files.
2. Finish the ChatGPT connection
In ChatGPT:
- enable Settings > Security and login > Developer mode,
- open the Plugins page,
- choose the plus button,
- select Connection > Tunnel,
- choose or enter the same tunnel used by Setup,
- start a new chat and attach the app.
Secure MCP Tunnel permissions and ChatGPT Developer mode permissions are separate. Each user must use a tunnel, runtime key, Platform organization, and ChatGPT workspace they are authorized to use.
Official references:
Existing installations
Running Setup.cmd again uses Auto mode:
- no profile exists: Install,
- a profile already exists: Repair.
Repair preserves existing policy files, profile manifests, tunnel configuration,
protected credentials, logs, and unrelated registry entries. Upgrade behaves like
Repair and, when a distributed template has changed, writes a sibling <file>.new
candidate rather than replacing the user's instructions.
Advanced lifecycle commands:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Install.ps1 -Mode Install
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Install.ps1 -Mode Repair
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Install.ps1 -Mode Upgrade
The old -Force switch remains only as a deprecated alias for Repair. It no longer
overwrites profile policy files.
Runtime behavior
- Nothing is registered to start with Windows.
- Setup may start the tunnel only because the user launched Setup in the current session.
- After a reboot, the tunnel remains stopped until the user starts it manually.
- An unexpected tunnel exit is retried after bounded delays by the same-profile supervisor.
- A deliberate Stop records intent before terminating the tunnel so recovery cannot race it.
- Active connection-owned PowerShell jobs are cancelled when that exact MCP connection closes.
- Completed command evidence remains inspectable after reconnect.
- Commands are never replayed automatically.
The default operating profile is created at %USERPROFILE%\WorkForge.
It is a small Git repository containing durable instructions and the local profile
manifest. The profile can access paths available to the current Windows account,
except roots registered to another WorkForge profile. Windows ACLs and UAC
remain the real machine boundary.
Control and diagnostics
Double-click WorkForge Control.cmd to Start, Status, Stop, or run Doctor. Failures
remain visible and include the failing action, exception message, Doctor hint, and the
relevant local log directory when it can be resolved.
Equivalent commands:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Doctor.ps1 -Online
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Control.ps1 -Action start
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Control.ps1 -Action status
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\Control.ps1 -Action stop
See Troubleshooting for prerequisite, tunnel, recovery, folder-move, and shell-lease failures.
ChatGPT Images handoff
read_image returns a standard MCP image block so ChatGPT can inspect a local PNG,
JPEG, GIF, or WebP file. ChatGPT Images does not currently promote an image returned
by a connector into an editable image attachment.
For precise image-to-image editing:
- use WorkForge to locate and inspect the local image,
- attach that same file to the chat with Add photos & files, drag and drop, or paste,
- ask ChatGPT Images to edit the attached image,
- save the generated result into the project,
- use WorkForge to inspect the saved file or continue related source changes.
The direct attachment is required for image editing; changing the MCP image response format cannot replace it.
Privacy gate
Public history is required to use GitHub noreply commit addresses. A dedicated privacy check scans the full reachable history and tracked text for personal home paths, non-example email addresses, private network details, phone numbers, concrete tunnel IDs, credential-shaped values, and forbidden runtime artifacts. The same check runs in GitHub Actions for every push and pull request.
Source development
A source checkout still supports a full local build:
npm.cmd ci
npm.cmd run check
npm.cmd run smoke:stdio -- workstation
npm.cmd run release
npm run check builds the TypeScript server, runs 31 TypeScript tests, runs the
PowerShell setup and recovery regressions, and audits production dependencies at the
high-severity threshold. The stdio smoke test that exercises shell_start must run in
a standalone terminal, not from inside a WorkForge shell that already owns the same
profile lease.
What is intentionally not included
- personal project profiles or absolute user paths,
- API keys, tunnel YAML, generated registries, logs, runtime state, or browser data,
- browser control, desktop UI automation, or specialized application workers,
- a Windows service, scheduled task, startup item, or automatic privilege elevation,
- bundled Node.js, Git, or ripgrep in the v1.1 runtime ZIP,
- a signed Setup EXE.
The portable runtime and signed installer are specified in
TASK-07-PORTABLE-RUNTIME-SETUP-EXE.md.
Read SECURITY.md before enabling shell tools and docs/ADDING_PROFILES.md before extending the profile registry.
License
WorkForge is released under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。