GPT-to-Windows
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GPT-to-Windowslist the files in my Downloads folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GPT-to-Windows
MCP Agent Gateway
An authenticated, self-hosted MCP gateway that connects AI agents with local Windows capabilities through tool interfaces.
The project demonstrates an agent infrastructure pattern: expose practical local capabilities through an authenticated MCP endpoint while keeping execution on a user-controlled Windows host.
This is not a sandbox or a general-purpose public service. It is designed for a personally controlled Windows computer.
Related MCP server: pov
What it provides
Filesystem inspection and file operations
Managed shell commands and background processes
Local process status, output, input, and termination
HTTP requests and file downloads
GPU, memory, disk, port, and media inspection
ComfyUI workflow and job operations
Optional DashScope/Qwen visual analysis
OAuth authorization code flow with PKCE
Authenticated local capability access for AI agents
Architecture
GPT-based agent
|
| MCP over HTTPS
v
Cloudflare Tunnel (optional)
|
v
MCP Relay (Express + MCP SDK)
|
+--> OAuth/PKCE + SQLite token metadata
+--> Windows filesystem and processes
+--> Local HTTP services and media toolsSecurity model
The relay binds to
127.0.0.1by default; public access requires an independently configured tunnel or reverse proxy.MCP requests require a bearer token issued through the relay's OAuth authorization flow.
Authorization is explicit: the user approves the ChatGPT client on the relay authorization page.
OAuth tokens are stored as hashes in a local SQLite database. The database is runtime state and must not be committed.
Request lifecycle and managed process events are logged locally.
The relay intentionally operates with the current Windows user's permissions. It does not provide a filesystem sandbox, command sandbox, or per-tool OS account isolation.
The current implementation provides authenticated tool access and explicit user authorization, but not fine-grained per-tool permission isolation.
Only run it on a machine and network boundary you control. Review every tool call before using it with sensitive data.
Local setup
Install dependencies and build:
npm ci
npm run typecheck
npm run buildFor local-only secrets, create an ignored .env.local file:
DASHSCOPE_API_KEY=replace-with-your-local-keyThe included Windows launcher reads DASHSCOPE_API_KEY from the process environment first, then from .env.local.
Set RELAY_PUBLIC_BASE_URL to the externally reachable HTTPS base URL when using a tunnel. The local server listens on 127.0.0.1:8787 by default.
Runtime files
The following are local runtime data and are intentionally excluded from Git:
state/— SQLite state and managed-process recordslogs/— supervisor and process logs.env.local— local secretsdist/— generated JavaScriptnode_modules/— installed dependenciesbackup_pre_p0/— local historical backup
Project status
This is a personal infrastructure project and an experimental computer-use bridge. The current implementation prioritizes explicit user authorization and practical local integration over sandboxing or multi-tenant isolation.
This server cannot be deployed
Maintenance
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform extensive Windows system administration, file operations, process management, network configuration, registry editing, GUI automation, and more through a comprehensive set of MCP tools.1MIT
- AlicenseAqualityDmaintenanceEnables LLM agents to capture screenshots, control mouse/keyboard, and manage windows on desktop platforms, primarily Windows, via an MCP server.161MIT
- FlicenseNot gradedqualityBmaintenanceTurns any Windows device into a remotely controllable MCP toolset, allowing a mobile AI agent to execute CLI, GUI, browser, and system commands on Windows without an API key.2-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to seamlessly integrate with the Windows operating system, performing tasks such as file navigation, application control, UI interaction, and QA testing via the MCP protocol.-