GPT Agent
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., "@GPT AgentCheck the git status and show me uncommitted changes in this repo"
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 Agent
GPT Agent is a local developer runtime for ChatGPT on Windows. It gives ChatGPT controlled access to your codebase, Git, terminal, language servers, debugger, SQLite tools, local HTTP services, adaptive project memory, reusable engineering skills, checkpoints, audit logs, and Windows Sandbox-backed command execution.
Independent community project. Not an official OpenAI product and not affiliated with or endorsed by OpenAI.
What it is
GPT Agent is intentionally ChatGPT-only. It does not embed a second coding agent, model router, external coding harness, or model-provider gateway. ChatGPT remains the reasoning/agent loop; GPT Agent is the local execution layer.
The Windows v0.1.0 build exposes 83 MCP tools: 79 native tools plus 4 bounded async job tools.
Download the latest Windows release
Installation guide: docs/INSTALL-ONCE.md
Related MCP server: Windows Local MCP
Architecture
ChatGPT
|
| OpenAI Tunnel
v
GPT Agent on 127.0.0.1:8765
|
+-- files / search / repo map
+-- Git / checkpoints / patching
+-- SAFE terminal / bounded FULL SHELL
+-- LSP / diagnostics / symbol navigation
+-- Python DAP debugger
+-- SQLite read-only inspection
+-- local HTTP requests
+-- memory / reusable coding skills
+-- audit chain / self-check
+-- Windows Sandbox for isolated executionBrowser automation is intentionally not included in v0.1.0. It will only be added when it has a complete independently distributable runtime.
Adaptive self-learning
GPT Agent can learn from engineering outcomes without retraining or modifying ChatGPT model weights. The local runtime records bounded evidence about task success/failure, project mutations, verification results, corrections, and selected reusable skills.
Task → evidence → outcome → candidate → semantic review → memory / skill → better next taskgpt_agent_coding_brief retrieves project-scoped memories, similar verified outcomes, and reusable SKILL.md procedures. Skill ranking is adjusted by verified success/failure/correction history. Evidence candidates stay pending until they are reviewed: promote durable learning through gpt_agent_learn with candidateIds, or close noise/stale evidence with dismissCandidateIds.
The evolution state does not store raw tool arguments or raw tool results, and task text is sanitized before persistence. See Self-learning and adaptive engineering memory.
Install on Windows
The release ZIP contains prebuilt gpt-agent.exe and gpt-agent-setup.exe binaries plus the installer scripts.
Open PowerShell in the extracted release directory and run:
Set-ExecutionPolicy -Scope Process Bypass
.\scripts\windows\Install-GPTAgent.ps1 -WorkspaceRoot "D:\Projects"Use the directory that actually contains the projects you want ChatGPT to access. Do not use an entire drive unless you intentionally want to expose that whole drive as one workspace.
By default the installer:
installs GPT Agent under
C:\GPTAgent;creates and starts the
GPT Agent Runtimelogon task;installs required/optional developer tooling;
downloads the official OpenAI
tunnel-clientand verifies its published SHA-256 checksum;starts a one-time local setup wizard in your browser.
To skip the browser wizard during unattended installation:
.\scripts\windows\Install-GPTAgent.ps1 -WorkspaceRoot "D:\Projects" -SkipSetupWizardRun it later with:
C:\GPTAgent\runtime\scripts\windows\Configure-OpenAITunnel.ps1Local setup wizard
The setup wizard binds only to 127.0.0.1 on a random port and uses a one-time random URL token. It guides you through:
Create or select an OpenAI Tunnel and copy its
tunnel_...ID.Create a Restricted runtime API key with Tunnels Read + Use.
Paste the Tunnel ID and runtime key into the local wizard.
GPT Agent saves the key into an ACL-restricted local secret file. The tunnel profile stores only a
file:reference, never the literal key.The wizard runs
tunnel-client doctor --explain, registers/startsGPT Agent Tunnel, and waits for/readyz.Open ChatGPT Settings → Connectors, choose Connection: Tunnel, then select or paste the same Tunnel ID.
See docs/CONNECT-CHATGPT.md for the full flow.
Recommended ChatGPT setup
For ongoing engineering work, use GPT Agent inside a ChatGPT Project rather than a standalone one-off chat. Projects keep related chats, reference files, and Project Instructions together, which makes the engineering rules and repository context easier to reuse across sessions.
After connecting the Tunnel, create/open a ChatGPT Project for the codebase and add a small set of engineering rules under Project settings → Project Instructions.
See Recommended ChatGPT Project setup for a ready-to-paste public-safe Project Instructions template.
Security defaults
MCP server binds only to loopback.
Secret-like files are blocked by default.
SAFE command execution is preferred.
Network is off by default for SAFE execution.
FULL SHELL requires a local time-bounded grant.
Destructive filesystem tools require explicit literal confirmation values.
Git checkpoints are available before broad changes.
Audit events are SHA-256 hash chained.
Runtime API keys are not stored in source code or committed config.
Read SECURITY.md before exposing sensitive repositories.
Developer commands
From go-core:
go test ./...
go vet ./...
go build -trimpath -o ..\gpt-agent.exe .
go build -trimpath -o ..\gpt-agent-setup.exe .\cmd\setupBuild the distributable package from the repository root:
.\scripts\windows\Build-Release.ps1The builder runs tests, vet, PowerShell syntax checks, a legacy/secret hygiene gate, compiles both binaries, generates MANIFEST.sha256.json, creates the Windows ZIP, and writes its SHA-256 file.
Documentation
Maintainer and support
Maintainer: @duclucky
Bugs: use the bug report form.
Feature requests: use the feature request form.
Security vulnerabilities: report them privately through GitHub Private Vulnerability Reporting. Do not open a public security issue.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
1MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables ChatGPT to inspect and edit local projects through a secure MCP interface, offering workspace management, file operations, git integration, and safe command execution.4MIT
- AlicenseNot gradedqualityBmaintenanceEnables ChatGPT to securely operate a single Windows development workspace via a local MCP server, offering file editing, Git status, static analysis, approved test/build, and limited ADB operations with audit logging.MIT
- AlicenseNot gradedqualityDmaintenanceEnables ChatGPT to securely control a local workstation via an MCP tunnel, exposing 44 tools for file/project editing, git, process supervision, browser automation, and Office document handling across macOS, Linux, and Windows.5MIT
- AlicenseAqualityCmaintenanceEnables ChatGPT web to interact with local Windows/WSL shell and code workspaces via an MCP server, providing file access, shell execution, and snapshot-based workspace management with per-command authorization.18MIT
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/duclucky/gpt-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server