Agentic MCP
Provides Git worktree sandboxing and management, allowing creation of isolated worktrees, dependency installation, syncing changes, and checkpoints without affecting the main repository.
Enables semantic navigation of Next.js projects by mapping App Router and Pages Router routes, including roles and dynamic segments, via the next_route_map tool.
Analyzes Payload CMS collections to provide a clean map of fields, hooks, and relationships through the payload_schema_map tool.
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., "@Agentic MCPOpen workspace C:/myproject and summarize the architecture."
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.
Agentic MCP — Local Coding Tools for ChatGPT Developer Mode
Connect compatible ChatGPT Web accounts to local coding tools through MCP Developer Mode.
Agentic MCP connects ChatGPT Web Developer Mode to your local repositories through a secure Model Context Protocol (MCP) server. It supports structured file editing, shell execution, Git worktrees, semantic navigation and checkpoints.
ChatGPT Web → Developer Mode → HTTPS Tunnel → Agentic MCP → Local RepositorySecurity Notice: This tool runs on your local machine and can execute shell commands. A managed Git worktree provides an isolated Git checkout to prevent polluting your main repository, but it is not an operating system sandbox. It does not restrict network access or subprocesses. Always review what the LLM intends to run.
Disclaimer: Agentic MCP is an independent open-source project and is not affiliated with, sponsored by, or endorsed by OpenAI. ChatGPT and OpenAI are trademarks of OpenAI. Tested by the maintainer with ChatGPT Plus using Developer Mode and an HTTPS tunnel. Availability of MCP capabilities depends on the user's ChatGPT plan, workspace configuration and current OpenAI rollout.
🌐 Official MCP Registry
Agentic MCP is published in the Official MCP Registry as:
io.github.hugolsramos01-bit/mcp-agentic-server
Install and run locally for Claude Desktop, Cursor, or other local MCP clients:
npx -y mcp-agentic-server@latest stdioRelated MCP server: codex-web-bridge
⚡ Quickstart: ChatGPT Plus Setup in 3 Minutes
Turn ChatGPT Web into your primary local coding agent using your existing Web plan:
Initialize and start the server:
npx -y mcp-agentic-server@latest init npx -y mcp-agentic-server@latest serveExpose the local port (
7676) via an HTTPS tunnel:ngrok http 7676Enable Developer Mode in ChatGPT Web:
Go to chatgpt.com > Settings > Apps / Developer Mode (or Plugins / Apps).
Enable Developer Mode.
Connect the Custom MCP App:
Add a new Custom MCP App.
Enter your public ngrok HTTPS URL ending with
/mcp:https://YOUR-SUBDOMAIN.ngrok.app/mcp
Complete OAuth Authentication:
Complete the local browser OAuth authorization prompt when presented.
Start Coding:
In a new ChatGPT Web chat, enable your custom MCP app and prompt:
"Open workspace
C:/path/to/projectusing open_workspace and summarize the architecture."
🙋 Frequently Asked Questions (FAQ)
Does this work with ChatGPT Plus?
Tested by the maintainer with ChatGPT Plus via Developer Mode and a public HTTPS tunnel (ngrok, Cloudflare Tunnel, etc.). Availability may vary by account, region, plan, and rollout.
How does this affect my limits and billing?
When connected directly through ChatGPT Developer Mode, model usage is handled by the user's ChatGPT account rather than by an OpenAI Platform API key. Applicable limits depend on the user's plan and OpenAI policies.
Does it require an OpenAI API key?
No OpenAI model API key is required. Authentication for the MCP server and tunnel is separate from model API billing.
Is this an alternative to Codex or Claude Code?
Yes. It gives ChatGPT Web full local coding capabilities: file inspection, structured line-precise editing, shell execution, Git worktrees, AST navigation, and checkpoints.
🔥 Key Innovations
1. Smart Context Anti-Bloat
Stop melting your LLM context windows and preserve your ChatGPT Web message limits.
workspace_summary: Instead of a massive unified file dump, returns a compact, high-level map of the workspace (git status, package manager, key scripts, and schemas).Hardened File Reads: The
readtool forces offset/limit paginations and strict line-range constraints. The model gets exactly what it needs, down to the line, preventing catastrophic token bloat on large files.
2. True Git Worktree Sandboxing
Running experimental code, tests, or destructive LLM edits in your main directory can break your Hot Module Replacement (HMR), trigger infinite loops in Next.js/Vite, or mess up your node_modules.
open_workspace (mode="worktree"): Automatically spins up an isolated, detachedgit worktreeoutside your project's main directory (e.g.,~/.agentic/worktrees/).The LLM can break things, install new dependencies via
worktree_install_deps(withallowLifecycleScriptssafely controlled), or sync uncommitted changes viaworktree_sync_changes, all without touching your live development environment.
3. Semantic AST Navigation
The server parses TypeScript and JavaScript dynamically (with an in-memory LRU cache to save CPU) to provide the model with semantic maps of your architecture.
next_route_map: Maps out Next.js App Router and Pages Router dynamically, showing roles (api,page,layout) and dynamic segments.payload_schema_map: Analyzes Payload CMS collections to return a clean map of fields, hooks, and relationships.file_dependencies: Maps outward (what a file imports) and inward (who imports the file) dependencies instantly.
4. Safe Editing & Dry-Runs
edit_dry_run: Simulates replacements to validate exact string matching and uniqueness, returning the surrounding context of the would-be edit without saving to disk.changed_files_summary: Fast, accurate summaries of modified and newly staged files usinggit status --porcelain.
5. Checkpoint System
For long autonomous sessions, the agent can save point-in-time snapshots of the workspace (checkpoint_save), list them (checkpoint_list), and roll back (checkpoint_restore) if it goes down a bad architectural path.
💻 Local & Desktop MCP Clients (Claude Desktop, Cursor, Roo Code)
If you prefer using desktop MCP hosts, configure your client configuration file to use the stdio transport:
{
"mcpServers": {
"agentic-mcp": {
"command": "npx",
"args": ["-y", "mcp-agentic-server@latest", "stdio"],
"env": {
"AGENTIC_ALLOWED_ROOTS": "C:/path/to/projects"
}
}
}
}🛠 Available Tools Reference
The tool surface depends on the AGENTIC_TOOL_MODE setting.
Mode | Tools included | Use case |
| Canonical coding workflow: workspace, context, read/search, Git, checkpoints, edit/dry-run, package scripts, worktrees, diagnostics, and semantic maps. | Full coding-agent workflow with curated model instructions. |
| Base tools + | Manual inspection via shell |
|
| Restricted surface |
Note: The
assistantmode is recommended for the full agentic coding experience. SetAGENTIC_TOOL_MODE=assistantin your.envor environment.
Core tools (always available)
Tool | Description |
| Opens a project. Supports |
| Hardened file reader with |
| Create or overwrite files. |
| Targeted string replacements. |
| Fallback for shell interactions that have no typed tool; prefer |
Assistant tools (mode: assistant)
Tool | Description |
| Compact architectural summary of the workspace. |
| Scans package managers, monorepo bounds, and base dependencies. |
| Read multiple files at once. |
| Directory tree visualization. |
| Next.js / Payload CMS schema extraction. |
| Inward and outward dependency map. |
| Save, restore, list, or delete snapshots. |
| Preview edits without writing. |
| Manage isolated git worktrees (create, list, sync, teardown). |
| Install dependencies in a managed worktree; use |
| Diagnose Node, package managers, Git and native SQLite availability. |
| Compact goal-relevant summary with token budget. |
| Estimate token count for files. |
| Expand omitted blocks from read_compressed. |
| Analyze token usage across files read. |
| Autonomous evaluation and judgment of changes. |
| Preview policy assessment before bash. |
| Fast Git status and diff abstraction. |
| Computes a |
| Advisory planner returning a deterministic |
Verification & Risk (New in 1.4.0)
The risk and verification pipeline enforces strict, deterministic planning.
task_contextnow produces aRiskProfileaccounting for sensitive configuration, fan-out, test proximity, and analysis confidence.suggest_checksreturns aVerificationPlanand is advisory only (commands are not executed). Mutating checks and non-existent scripts are excluded. Low confidence can elevatepolicyLevelwithout altering the intrinsicriskLevel.
Supported Inputs:
{
workspaceId: string;
changedPaths?: string[]; // Actual paths changed
goal?: string; // Optional goal for discovery
taskType?: "auto" | "bug_fix" | "feature" | "refactor" | "security_review" | "migration" | "frontend" | "release";
focusPaths?: string[]; // Specific files to focus on
// Legacy compatibility transition (deprecated)
paths?: string[];
scope?: "changed" | "workspace";
level?: "minimal" | "recommended" | "full";
}Deprecated compatibility aliases are hidden by default and never appear in the model's standard workflow. Existing clients can temporarily opt in with AGENTIC_LEGACY_ALIASES=1; they will be removed in the next major release. New clients must use the canonical names above: edit_dry_run, next_route_map, payload_schema_map, changed_files_summary, and project_bootstrap.
🧠 Mental Model for Agents
This server is designed to act as the "hands and eyes" of a remote AGI. If you are building an autonomous agent or using Claude/ChatGPT for coding, instruct your agent to:
Always call
semantic_pack,project_bootstrap, orworkspace_summaryfirst.Use
read_compressedfor large files — expand blocks withexpand_compressed_block.Use
context_budgetto estimate token cost before reading multiple files.Use
mode="worktree"if the task involves running complex shell commands or destructive tests.Use
edit_dry_runbefore performing multi-line regex or exact string replacements.
Isolation boundaries
A managed worktree is an isolated Git checkout, not an operating-system sandbox. It keeps experiments out of the primary checkout, but it does not restrict network access, subprocesses, credentials, CPU/memory use, or paths that are otherwise allowed to the server. Treat scripts as real local commands and use the typed Git/script tools first. Git tools only operate when the opened workspace itself is the repository root; an ancestor repository is rejected rather than exposing sibling projects.
📝 License & Acknowledgements
Licensed under the MIT License. See LICENSE for more details.
This project uses components heavily inspired by internal security architectures, with thanks to standard best practices in the open source community.
We welcome contributions! Please see CONTRIBUTING.md for details on how to get started.
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 Servers
- Alicense-qualityBmaintenanceA local MCP bridge that lets ChatGPT control opencode sessions for code modification, file reading, and repository management on your own computer.Last updatedMIT
- Alicense-qualityCmaintenanceLocal MCP server bridging ChatGPT Web to local tools for file, shell, git, test, and process management with secure policy controls.Last updatedMIT
- Alicense-qualityAmaintenanceEnables ChatGPT to inspect and edit local projects through a secure MCP interface, offering workspace management, file operations, git integration, and safe command execution.Last updated3MIT
- Alicense-qualityBmaintenanceLets ChatGPT or MCP clients work with files on your machine, with tools for reading, editing, searching, git operations, and safety checks.Last updatedMIT
Related MCP Connectors
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
A MCP server built for developers enabling Git based project management with project and personal…
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
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/hugolsramos01-bit/mcp-agentic-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server