Windows Scoped Remote MCP Server
Click on "Install 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., "@Windows Scoped Remote MCP Serverwhat files are in my workspace?"
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.
π‘οΈ Windows Scoped Remote MCP Server
This is a security-isolated remote development MCP (Model Context Protocol) server that runs in Windows environments.
By integrating with modern LLM clients such as ChatGPT and Claude, it can autonomously perform file creation/editing, PowerShell command execution, project builds, and debugging within a designated local workspace using conversation alone.
π Key Features
Windows-optimized sandbox (
SandboxGuard):Blocks 100% of file/folder access and command execution outside the specified
MCP_WORKSPACE_ROOTdirectory.
ChatGPT standard OAuth 2.1 integration (RFC 8414 / RFC 9728 / DCR / PKCE):
Provides dynamic client registration (DCR) and an interactive secure approval page (
/authorize), so only authorized users who know the password token (MCP_AUTH_TOKEN) can connect safely.
19 full-stack MCP development tools & OpenAPI 3.0 spec included:
Full support for file and directory CRUD, patch application (
apply_patch), asynchronous process and PowerShell/CMD execution, and status monitoring.
Cloudflare Tunnel-based Zero Trust communication:
Provides a secure HTTPS endpoint through Cloudflare Tunnel without complex port forwarding or firewall openings.
Zero-downtime project switching support:
Simply change
MCP_WORKSPACE_ROOTin.envto instantly switch working folders while maintaining the existing ChatGPT authentication session.
ποΈ System Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ChatGPT (Web / App) β
βββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β HTTPS (Streamable HTTP / OAuth 2.1)
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cloudflare Zero Trust Tunnel (mcp.yourdomain) β
βββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β Local Proxy (HTTP localhost:<MCP_PORT>)
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Windows Scoped Remote MCP Server β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Express Router (/mcp, /authorize, /openapi.json) β β
β ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββ β
β β β
β ββββββββββββββββββββββββββΌββββββββββββββββββββββββββ β
β β SandboxGuard & ProcessManager & FileService β β
β ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββ
β 격리λ νμΌ & λͺ
λ Ήμ΄ μ€ν
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β λ΄ λ‘컬 μμ
κ³΅κ° (MCP_WORKSPACE_ROOT) β
β μ: D:\Godot\mcp-test λλ D:\Godot\MyGame β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββπ οΈ Provided Tool List (30 Tools Total)
π 1. Browser Automation & Web Testing Tools (Playwright 8 Tools)
Tool Name | Description |
| Navigate the browser to a website URL and load the page |
| Capture a screenshot of the current web screen and save it as an image file (PNG) in the working folder |
| Mouse-click a specific HTML element such as a button or link |
| Automatically type and enter text into search boxes and input forms |
| Extract the webpage body text or HTML source |
| Execute JavaScript (JS) code in the browser console and collect the results |
| Input keyboard keys (Enter, Tab, Escape, arrow keys, etc.) |
| End the browser session and free memory |
π 2. Multi-Workspace Management Tools (3 Tools)
Tool Name | Description |
| View the list of all registered multi-workspaces, aliases, and activation status |
| View the name and absolute path of the currently active default workspace |
| Switch the active workspace in real time by alias or path |
π 3. File and Code Manipulation Tools (11 Tools)
Tool Name | Description |
| View the list of files and subdirectories at the specified path |
| Read a text file (supports offset and chunked reading) |
| Create a new file and overwrite/append |
| Precisely edit code by specific line numbers and block units |
| Search for strings and replace target text in bulk or individually |
| Apply patches to files in standard Unified Diff / Patch format |
| Create a new directory |
| Delete files and empty directories |
| Move files/folders and rename |
| Copy files/folders |
| View file/folder size, modification date, and attribute metadata |
β‘ 4. Terminal Command and Script Execution Tools (8 Tools)
Tool Name | Description |
| Search for file names using Glob patterns |
| High-speed search of text and regular expressions inside files |
| Execute PowerShell or CMD commands and return the results |
| Execute PowerShell, Batch, Node.js, Python scripts |
| Read the output buffer of a long-running background process |
| Send data to the standard input (stdin) of a running process |
| Terminate a background process |
| View the list and status of currently running processes |
βοΈ 1. Environment Configuration Guide (.env)
Copy the .env.example file in the project root to create a .env file, then configure it:
copy .env.example .envπ Detailed Description of Key Configuration Items
Environment Variable | Default Value / Example | Required | Description |
|
| Optional | The port number on which the Express server runs locally (default: |
|
| Required | Multi-workspaces that ChatGPT can manipulate (alias:path) |
|
| Required | The security password to enter on the ChatGPT OAuth approval page ( |
|
| Required | The public HTTPS address exposed externally through Cloudflare Tunnel |
|
| Optional | The fixed tunnel token issued from the Cloudflare Zero Trust dashboard |
`MCP_DEFAULT_SHELL`` |
| Optional | The default shell used when running |
|
| Optional | Maximum bytes read per |
|
| Optional | Maximum file size that can be modified with |
|
| Optional | Maximum size of the output buffer for terminal command execution |
# [Server Port]
MCP_PORT=12000
# [Multi-Root Security & Directory Sandbox]
MCP_WORKSPACE_ROOTS=test:C:\path\to\mcp-test, ether:C:\path\to\ether-chronicle, server:C:\path\to\localRemoteMcp
# [Authentication - ChatGPT OAuth 2.1]
MCP_AUTH_TOKEN=your_secure_password_here
# [Public Domain & Cloudflare Tunnel]
MCP_PUBLIC_URL=https://mcp.yourdomain.com
CLOUDFLARE_TUNNEL_TOKEN=your_cloudflare_tunnel_token_here
# [Shell Configuration]
MCP_DEFAULT_SHELL=powershell
# [Limits - Safety Guardrails]
MCP_MAX_FILE_CHUNK_BYTES=1048576
MCP_MAX_EDIT_FILE_BYTES=67108864
MCP_MAX_OUTPUT_BYTES=1048576π 2. Cloudflare Tunnel and Domain Integration
This server securely exposes the local port specified in .env (MCP_PORT, default: 12000) to a subdomain of your domain (https://mcp.yourdomain.com) through a Cloudflare Zero Trust tunnel.
π Cloudflare Dashboard Setup
Go to Cloudflare Zero Trust Dashboard β Networks β Tunnels menu.
Click [Create a tunnel] to create a Cloudflared tunnel.
Add a Public Hostname:
Subdomain:
mcp(or your desired subdomain)Domain:
yourdomain.com(select your domain)Service Type:
HTTPURL:
localhost:<MCP_PORT>(e.g.,localhost:12000)
Copy the issued tunnel token and paste it into the
CLOUDFLARE_TUNNEL_TOKENfield in.env.
π¦ 3. Cloudflare Binary (bin/cloudflared.exe) Guide
This project uses the cloudflared.exe binary to automatically start the tunnel.
Automatic download support (recommended):
When
start.batorstart.ps1is first run, ifbin/cloudflared.exedoes not exist, the latest binary is automatically downloaded from the official Cloudflare GitHub Release and placed in the directory.You only need to run
start.batβ no separate download is required.
Manual download (offline / firewall environments):
If automatic download is restricted, download the
cloudflared-windows-amd64.exefile from the Cloudflare official release page, then rename it tobin/cloudflared.exein the project directory.
π 4. How to Run the Server
Method A. One-Click Automatic Execution (start.bat / Recommended)
Double-click start.bat or run it from the console:
start.bat(Automatically installs npm packages β checks .env β checks the cloudflared binary β runs the TypeScript build, server, and tunnel all at once)
Method B. Manual Terminal Execution
# 1. μμ‘΄μ± μ€μΉ
npm install
# 2. TypeScript μ»΄νμΌ
npm run build
# 3. ν
μ€νΈ μ€ν
npm test
# 4. μλ² μμ
npm startπ€ 5. ChatGPT App / Plugin Connection Guide (Step by Step)
Step 1. Register the ChatGPT App
Go to ChatGPT Web and navigate to [Settings] β [Plugins / Developer Mode].
Click [+ New Plugin / Create App].
Enter the settings as follows:
Name:
my-remote(or your desired name)Connection:
Server URLβhttps://mcp.yourdomain.com/mcp(your domain)Authentication: Select
OAuth
Click [Create].
Step 2. Secure Login Approval
On the registered app details screen, press the [Connect β] button.
A browser popup will show the [Windows Scoped Remote MCP Approval] web page.
Enter the
MCP_AUTH_TOKENvalue set in.envin the password field and click [Approve and return to ChatGPT].
Step 3. Permission Settings ("Allow All Actions")
Set the Permissions option on the app details screen to
Allow all actions.(ChatGPT will autonomously proceed with development without a confirmation popup appearing every time a tool is called)
π¬ 6. Real-World Conversational Development Prompt Examples
In a new chat window (or an @ plugin chat window), you can give instructions like this:
# 1. νλ‘μ νΈ νμΌ λͺ©λ‘ λ° κ΅¬μ‘° νμ
@my-remote νμ¬ μμ
곡κ°μ νμΌκ³Ό ν΄λ λͺ©λ‘μ μ 리ν΄μ 보μ¬μ€
# 2. μΉ κ²μ / νλ‘ νΈμλ νλ‘μ νΈ κ°λ°
@my-remote HTML5 Canvasλ‘ λΈλΌμ°μ μμ μ€ν κ°λ₯ν λ νΈλ‘ν λ²½λκΉ¨κΈ° κ²μ(breakout.html)μ μΈλ ¨λκ² λ§λ€μ΄μ€
# 3. Godot 4 κ²μ μ€ν¬λ¦½νΈ μμ±
@my-remote Godot 4 κΈ°μ€μΌλ‘ 2D μΊλ¦ν° μ΄λ, λμ, μ ν λ° λ¬Όλ¦¬ μΆ©λμ μ²λ¦¬νλ Player.gdλ₯Ό μμ±ν΄μ€
# 4. ν¨ν€μ§ μ€μΉ λ° ν
μ€νΈ μ€ν
@my-remote npm install λͺ
λ Ήμ΄λ‘ νμν λΌμ΄λΈλ¬λ¦¬λ₯Ό μ€μΉνκ³ npm testλ₯Ό λλ € κ²°κ³Όλ₯Ό νμΈν΄μ€
# 5. μΉ λΈλΌμ°μ μλν & νλ©΄ μΊ‘μ² (Playwright)
@my-remote λ€μ΄λ²(naver.com)λ‘ μ΄λν΄μ κ²μμ°½μ 'Godot Engine 4' κ²μνκ³ κ²°κ³Ό νμ΄μ§ μ€ν¬λ¦°μ· μ°μ΄μ search.pngλ‘ μ μ₯ν΄μ€
# 6. λ΄κ° λ§λ λ‘컬 μΉνμ΄μ§ μ€μκ° κ²μ¦
@my-remote λ‘컬 μΉμλ²λ₯Ό μ€ννκ³ λΈλΌμ°μ λ‘ μ μν΄μ [κ²μ μμ] λ²νΌμ λλ₯Έ λ€μ νλ©΄μ΄ μ λμ€λμ§ μ€ν¬λ¦°μ·μΌλ‘ νμΈν΄μ€π 7. Multi-Project Management and Real-Time Switching
This server supports multi-workspaces, so you can register multiple projects at once and switch between them in real time during a conversation.
Method A. Real-Time Switching via ChatGPT Conversation (No Server Restart β)
Check the current workspace:
@my-remote νμ¬ μμ 곡κ°μ΄ μ΄λλ‘ μ€μ λμ΄ μλμ§ νμΈν΄μ€View the list of all registered projects:
@my-remote λ±λ‘λ λͺ¨λ μν¬μ€νμ΄μ€ λͺ©λ‘μ 보μ¬μ€Switch workspaces immediately:
@my-remote ether νλ‘μ νΈλ‘ μμ 곡κ°μ μ νν΄μ€(ChatGPT calls the
switch_workspace(name: "ether")tool to instantly switch to that project without a server restart)
Method B. Registering a New Project (.env)
Add a new project alias and path to
MCP_WORKSPACE_ROOTSin the.envfile:MCP_WORKSPACE_ROOTS=test:C:\path\to\mcp-test, ether:C:\path\to\ether-chronicle, mygame:C:\path\to\mygameRe-run
start.batin the terminal and the added projects become immediately accessible and switchable. (The OAuth authentication token session is permanently preserved)
π 8. Security and Troubleshooting
Q. Is there no risk of outsiders gaining unauthorized access to my computer?
It is fully protected by a 3-layer security structure:
Password authentication: Only your ChatGPT account that knows the
MCP_AUTH_TOKENpassword can access it.Sandbox isolation: Files and commands operate only within the specified
MCP_WORKSPACE_ROOT, and any access to parent paths is immediately blocked.Cloudflare Zero Trust: You can add firewall rules in the Cloudflare dashboard to allow only your IP.
Q. What if the tunnel doesn't connect or I get a 502 error?:
Check that the local server (
port: MCP_PORT in .env) is running properly in thestart.batwindow, and visithttps://mcp.yourdomain.com/healthin your browser to verify that the{ status: "ok" }response appears.
π License
MIT License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Persistent cloud development environments that coding agents create, run and test software in.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/moosin76/windows-scoped-remote-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server