GPT-to-Windows
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.
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: Windows-MCP
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.
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
Connect ChatGPT, Claude, Cursor or VS Code to your Windows PC: files, terminal, browser, apps.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables 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
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- AlicenseAqualityCmaintenanceEnables AI assistants to control Windows PCs by executing shell commands, managing files, capturing screenshots, and monitoring system information through a comprehensive set of MCP tools.181MIT
- AlicenseNot gradedqualityBmaintenanceEnables 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.8 npmMIT