
Agentic MCP
io.github.hugolsramos01-bit由 GitHub 帳號 hugolsramos01-bit 發布v1.8.2更新於 Nov 3, 2026
Local coding tools for ChatGPT Developer Mode and MCP clients with safe editing and shell execution.
發布方自己的服務:agentic.no
概覽
本機 MCP 伺服器,讓助手在允許的專案目錄內讀寫檔案、執行 shell 指令、管理 Git worktree、進行 AST 導覽與檢查點。
- 可以做什麼
- 開啟專案工作區(一般簽出或隔離的 Git worktree),並彙整其結構、套件管理工具與指令碼
- 依行範圍讀取、搜尋與檢視檔案,支援批次複合讀取、目錄樹與相依關係圖
- 建立、覆寫檔案並進行精確字串取代,可先試跑預覽並查看變更檔案摘要
- 執行 shell 指令與套件指令碼,具備指令政策引擎與指令風險評估預覽
- 管理 Git worktree、在其中安裝相依套件,並儲存、列出、還原或刪除工作區檢查點
- 解析 Next.js 路由與 Payload CMS 結構、估算 token 預算,並以多種視窗尺寸擷取本機網頁截圖
- 適用情境
- 適合讓 ChatGPT Web 開發人員模式、Claude Desktop 或 Cursor 等用戶端直接操作本機程式碼倉庫:檢視程式碼、做精確修改、執行測試與 shell 指令,並在臨時 Git worktree 中實驗。也適合需要控制上下文大小與可回溯的自主編碼工作階段。
- 執行需求
- 以本機 Node.js 程序執行,通常透過 npx 啟動,使用 stdio 或經 HTTPS 通道對外暴露的本機連接埠供網頁用戶端連線。需設定 AGENTIC_ALLOWED_ROOTS 列出可存取的專案目錄,並完成 OAuth 授權。選用設定包括 AGENTIC_TOOL_MODE、AGENTIC_SECURITY_MODE、AGENTIC_HOST 與 AGENTIC_PORT。不需要 OpenAI API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentic MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Agentic MCP — Local Coding Tools for ChatGPT Developer Mode
Project website · GitHub repository · npm package · MCP Registry
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.
[!WARNING] Security 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.
[!NOTE] 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:
⚡ 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:
-
Expose the local port (
7676) via an HTTPS tunnel: -
Enable 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:
-
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."
- In a new ChatGPT Web chat, enable your custom MCP app and prompt:
🙋 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.
🔐 Release 1.8.1 Security & Isolation
Version 1.8.1 isolates workspace subprocesses from the Agentic MCP control plane. Shell commands, package scripts, process sessions, dependency installs, and tournament verification no longer inherit AGENTIC_* server credentials/configuration. Use AGENTIC_HOST and AGENTIC_PORT for the MCP server binding; legacy HOST / PORT are still accepted, but when they configure Agentic they are not propagated into workspace commands.
Structured grep is also hardened for local repositories: it excludes .git / Agentic checkpoint internals, secret-like .env and private-key files, and Windows nul paths while correctly honoring the public include glob.
🚀 Release 1.8.0 Highlights
Version 1.8.0 turns read_many into a bounded composite inspection primitive instead of merely a multi-file reader:
- One round trip, several related inspections — ordered items can mix exact reads/ranges, scoped lexical matches with context, and scoped globs.
- Shared output budgets — approximate serialized-evidence, returned-line, and unique-file limits apply across the whole call; earlier items have explicit priority, glob results return the useful subset that still fits, and the response reports estimated final payload overhead separately.
- Context de-duplication — overlapping match windows in the same file are merged before they reach the model.
- Progressive narrowing — broad discovery is reserved for genuinely unknown architecture; once a target area is known, agents are directed toward a bounded composite inspection instead of restarting broad context collection.
- Cross-platform bounded discovery — Git-aware file listing respects ignored files even for empty scoped results, with a bounded non-Git fallback and explicit scan-truncation metadata. Match items can also filter files with
includeglobs. - Bounded regex opt-in — literal search remains the default; explicit regex mode rejects several high-risk backtracking constructs, limits scanned bytes, and skips abnormally long lines instead of letting one search monopolize the server.
- Fail-closed resource bounds — incompatible operation fields are rejected instead of ignored, legacy
pathscalls remain supported, and composite reads cap path/file/source-byte loading plus diagnostic string sizes so a narrow request cannot accidentally create an oversized filesystem or response payload.
🚀 Release 1.6.0 Highlights
Version 1.6.0 focuses on lower-latency coding loops without weakening the security and verification boundaries introduced in 1.5.0:
- Three command security modes —
saferemains the default,trustedenables practical inline scripting and shell file writes while retaining destructive-command protections, andfullis available for explicitly unrestricted local execution. - Proportional coding workflow — QUICK, STANDARD and CRITICAL changes no longer pay the same PVDL and verification cost; strict PVDL remains an explicit override for environments that require it.
- Stop-discovery discipline — known files and symbols are inspected directly instead of triggering broad bootstrap/context exploration merely to reconfirm an already strong target.
- Bounded fast context —
read_manydefaults to 12k tokens, fast task context caps large code-region reads at 160-line anchor windows, and file indexes stay warm across normal model reasoning gaps. - Faster QUICK review — with
AGENTIC_WIDGETS=changes, single-fileedit/writemutations carry their review UI directly and no longer need a redundant aggregateshow_changesround trip.
🔥 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:
🛠 Available Tools Reference
The tool surface depends on the AGENTIC_TOOL_MODE setting.
Note: The
assistantmode is recommended for the full agentic coding experience. SetAGENTIC_TOOL_MODE=assistantin your.envor environment.
Command security modes
Tool mode and command security are separate. AGENTIC_SECURITY_MODE controls what shell commands may pass the policy engine:
Persist the setting with agentic config set securityMode safe|trusted|full, then restart the server. OAuth remains required. The shell is not an OS sandbox and may access anything available to the local user account, so trusted and especially full should only be enabled intentionally.
Core tools (always available)
Assistant tools (mode: assistant)
Verification & Risk (Expanded in 1.5.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. When local Git metadata is unavailable, the planner usesgoal_discoveryfrom the stated goal and focused paths instead of inheriting an ancestor repository.
Supported Inputs:
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:
- Narrow progressively. If the relevant files are unknown, use
task_context; if a strong target is already known, skip broad discovery. - Use
read_manyto batch related exact reads, match+context inspections, and scoped globs in one round trip. Put the most important items first because item order is budget priority. - Use
semantic_packonly when broad domain structure or inter-file relationships are genuinely unknown; stop broad discovery once implementation targets are strong enough. - Use
read_compressedfor large whole-file orientation — expand omitted blocks before editing them. - Use
mode="worktree"if the task involves running complex shell commands or destructive tests, and useedit_dry_runbefore ambiguous or risky 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.
來源:README.md,提交 398ad98
工具
0版本歷史
2- v1.8.2最新Sep 25, 2026
- v1.3.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Agentic 整合
agentic.no
no.agentic官方發布者
一個遠端 MCP 端點,協助助理依模型尋找 AI 推論的 GPU 賣家,並依價格由低到高排序,透過 x402 按次付費。
Agentic Engineering Periodic System
academy.ase官方發布者
使用編碼代理建立軟體的實踐,每項實踐都附帶一個可在你的程式碼庫中檢查的測試。AI 翻譯
Agentic RL: Credit Assignment and CLI Agents
space.hf.hoyant-su-agentic-rl官方發布者
讓助理依監督方式、critic 與任務設定篩選代理強化學習方法,並取得來源連結與 BibTeX。

Agentic Video
由 GitHub 帳號 tlq5l 發布
本機 stdio MCP 伺服器,讓只能讀文字與圖片的助理檢查影片檔:聯絡表、轉錄、剪接點、響度與影音同步檢查。

Agentic Os
由 GitHub 帳號 kinnister 發布
唯讀、不執行任何操作的 MCP 伺服器,向助理提供 agentic-os 的治理、SDLC 與品質工程方法論。