Local Agent MCP
Connects ChatGPT to a local development agent via OpenAI tunnels, exposing local tools for shell execution, workspace file operations, screenshots, mouse/keyboard control, and persistent Markdown memory as MCP capabilities.
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., "@Local Agent MCPtake a screenshot and tell me what you see on my screen"
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.
Local Development Agent — ChatGPT MCP version
shell execution
workspace file read/write/list
screenshot capture, now returned to ChatGPT as MCP image content
mouse clicks and keyboard shortcuts
persistent Markdown memory files
skill promotion workflow
persistent context loader for identity / memory / skills / recent daily logs
Video Tutorial
A complete step-by-step tutorial is available on YouTube:

▶ Watch the tutorial on YouTube
Related MCP server: Chat On Steroids
Install
Python 3.10+ is required by the current MCP Python SDK.
Open PowerShell 1:
Enter the directory like this: cd E:\AI_agent\chatgptweb
input install_mcp.bat 3.input start_mcp.bat
Open Web:
1.Download tunnel-client https://github.com/openai/tunnel-client/releases/tag/v0.0.14
2.Extract the files and copy them to the folder containing `agent.py
3.1Register for an OpenAI Platform API key
https://platform.openai.com/api-keys?utm_source=chatgpt.com
3.2Create new secret key
4.1Tunnel Settings: https://platform.openai.com/settings/organization/tunnels?utm_source=chatgpt.com
4.2Create a tunnel_id
Open PowerShell 2:
$env:CONTROL_PLANE_API_KEY="Your OpenAI API key"
$env:CONTROL_PLANE_TUNNEL_ID="Your tunnel_id"
$env:MCP_SERVER_URL="url=http://127.0.0.1:8001/mcp,channel=main"
.\tunnel-client-runtime.exe run
Open chatgpt web setting → Security and login → Developer mode
Plugins → New Plugin
Connection select Tunnel Switch to using tunnel ID. Authentication select No Auth I understand and want to continue Creat
Open ChatGPT Web
send a message:
Use the Local Agent MCP to call list_workspace and tell me what is in the current workspace. Do not modify any files.
example and test:
Use the Local Agent MCP to read AGENTS.md and IDENTITY.md, and load the agent context. Tell me the current rules and long-term memory for this agent. Do not modify any files.
Use the Local Agent MCP to call take_screenshot, capture my current screen, and tell me what you see.
Security notes
run_shell, write_file, mouse, keyboard, and memory-write tools can change the local machine. Only connect this MCP server to an OpenAI workspace/account you trust. The MCP annotations mark consequential tools accordingly, but annotations are metadata, not a security boundary.
The file read/write tools are constrained to workspace/. run_shell starts inside workspace/, but shell commands are intentionally powerful and can still access the broader machine unless you additionally sandbox the Python process at the OS/container level.
This server cannot be deployed
Maintenance
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceTurns ChatGPT web into a local coding agent, enabling file edits, shell commands, Git operations, patches, and process management through 40+ MCP tools.MIT
- AlicenseNot gradedqualityBmaintenanceGives ChatGPT hands-on control of a local machine: reading, patching and executing code in approved project folders, running real interactive processes, managing plans and worker sub-chats, and driving the browser or desktop through user-granted permissions. Every capability is a switch inside an approved-folder sandbox, so nothing runs that the user did not explicitly enable.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables ordinary ChatGPT web Chat to work directly on a local machine over a private MCP tunnel — reading and editing project files, running shell commands and tests, loading local skills, manipulating images, and driving Chrome — without spinning up a separate coding agent or additional model-generation API calls. It also supports multi-step task plans with persisted execution receipts and acceptance checks so results from real runs are returned to the conversation.-
- AlicenseNot gradedqualityBmaintenanceBridges the ChatGPT web UI to a local development environment over MCP, letting the model read and patch files, run real shell commands and terminals, execute tests, and control the desktop (screen, mouse, keyboard, clipboard) within user-approved folders. It adds parallel workers, goal/loop long-task control, plugin tools, and a security-hardening layer with risk-tiered shell policy, audit logging, and credential sanitization.MIT