
Agent Loop Mcp
io.github.meharajM由 GitHub 帳號 meharajM 發布v1.0.3更新於 Oct 24, 2026
Agentic memory manager. Install Skill: npx skills add meharajM/agent-loop-mcp
概覽
一個本機 MCP 伺服器,為長時間執行的代理工作流程提供持久記憶與狀態管理。
- 可以做什麼
- 為長時間執行的代理工作流程提供狀態管理,定位為主動式狀態管理器,而非被動的記憶工具。它會監控字數以觸發壓縮週期,並在每次失敗時執行自癒策略,避免代理陷入無意義的迴圈。此專案由兩部分組成:這個 MCP 伺服器,以及一個用於協調的獨立代理技能。
- 適用情境
- 適合在執行長時間代理工作階段時使用,尤其是上下文視窗有限、需要跨步驟保持狀態的小型模型。README 指出,為獲得最佳體驗,應同時安裝協調技能與 MCP 伺服器。
- 執行需求
- 透過 stdio 在本機執行,使用 npx 從 npm 套件 @mhrj/mcp-agent-loop 啟動,因此需要 Node.js 與 npx。README 也要求透過 npx skills add 安裝搭配的代理技能。未宣告任何驗證、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Loop Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Agentic Loop Memory Server ♾️
The industry-standard persistent memory and state manager for long-running agentic workflows.
Enable any AI model—especially smaller ones with limited context windows—to function with the persistence of high-end models. This project works as a two-part ecosystem: an MCP Server for state management and an Agent Skill for orchestration.
🛠 Complete Setup (Required)
For the best experience, you must install both the orchestration skill and the MCP server.
1. Install the Skill
Install the agentic-loop skill into your AI agent (Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and other Agent Skills hosts):
Preview the skill before activation:
2. Configure the MCP Server
Add the following to your `mcp_config.json`:
🌟 Why this approach is unique
Unlike passive memory tools, this is an Active State Manager. It monitors word counts to trigger compaction cycles and enforces a "Self-Healing Strategy" on every failure, preventing AI agents from getting stuck in mindless loops.
📂 Project Structure
src/: TypeScript source for the MCP server.skills/agentic-loop/SKILL.md: The instruction manual for the AI.build/: JavaScript artifacts.
📄 License
ISC
來源:README.md,提交 e13a399
工具
0版本歷史
1- v1.0.3最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。