agent-loop-mcp
Agentic Loop Memory Server ♾️
장기 실행 에이전틱 워크플로우를 위한 업계 표준 영구 메모리 및 상태 관리자입니다.
제한된 컨텍스트 창을 가진 소형 모델을 포함한 모든 AI 모델이 고급 모델 수준의 지속성을 갖추고 작동할 수 있게 합니다. 이 프로젝트는 상태 관리를 위한 MCP 서버와 오케스트레이션을 위한 에이전트 스킬이라는 두 부분으로 구성된 생태계로 작동합니다.
🛠 전체 설정 (필수)
최상의 경험을 위해 오케스트레이션 스킬과 MCP 서버를 모두 설치해야 합니다.
1. 스킬 설치
agentic-loop 스킬을 AI 에이전트(Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot 및 기타 Agent Skills 호스트)에 설치하세요:
npx skills add meharajM/agent-loop-mcp@agentic-loop -g -y활성화 전에 스킬을 미리 보세요:
gh skill preview meharajM/agent-loop-mcp agentic-loop2. MCP 서버 구성
mcp_config.json에 다음을 추가하세요:
{
"mcpServers": {
"agent-loop": {
"command": "npx",
"args": ["-y", "@mhrj/mcp-agent-loop"]
}
}
}Related MCP server: Ori Mnemos
🌟 이 접근 방식이 독특한 이유
수동적 메모리 도구와 달리 이는 액티브 상태 관리자입니다. 단어 수를 모니터링하여 압축 주기를 트리거하고 모든 실패 시 '자가 복구 전략'을 적용하여 AI 에이전트가 무한 루프에 빠지지 않도록 방지합니다.
📂 프로젝트 구조
src/: MCP 서버용 TypeScript 소스.skills/agentic-loop/SKILL.md: AI용 지침서.build/: JavaScript 산출물.
📄 라이선스
ISC
Available Tools
6 toolscompact_memoryA
Empties the Active Context and appends the AI-provided summary to the Compacted History.
Inputs: session_id (required), context_summary (required).
get_tool_suggestionsB
Ask this tool if you are stuck and don't know what other tools to use.
Inputs: no named parameters.
init_loopA
Creates a new .md loop state file for the given session to start a continuous, autonomous task.
Inputs: objective (required), session_id (required).
log_stepA
Appends to the Active Context. Rejects if failed=true but no self_heal_strategy is provided. Warns if context is too large.
Inputs: action (required), failed (required), result (required), session_id (required), +1 more.
report_blockerA
Updates state to STATUS_BLOCKED and asks for human intervention when absolutely stuck.
Inputs: reason (required), session_id (required).
resume_loopC
Removes the block and adds human input context back into the loop.
Inputs: session_id (required), user_input (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct purpose: init starts a loop, log appends steps, compact clears memory, resume unblocks, report triggers human intervention, and get_tool_suggestions offers guidance. No overlapping functionality.
All tool names follow a consistent verb_noun pattern (init_loop, log_step, compact_memory, resume_loop, report_blocker, get_tool_suggestions), using snake_case throughout.
With 6 tools covering the essential loop lifecycle operations, the count is well-scoped for a specialized agent-loop management server.
The toolset provides comprehensive coverage for managing an autonomous loop: initialization, logging, memory compaction, resumption, blocker reporting, and suggestion retrieval. No obvious gaps in the workflow.
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Persistent memory for AI agents. Search, store, and recall across sessions.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides persistent, searchable memory for AI agents, enabling them to retain, recall, and reflect on information across conversations.191MIT
- AlicenseNot gradedqualityAmaintenanceOpen-source persistent memory infrastructure for AI agents.178 npm337Apache 2.0
- FlicenseNot gradedqualityBmaintenanceProvides persistent memory for LLM applications, enabling AI assistants to remember user preferences, facts, and conversation history across sessions.2-
- AlicenseNot gradedqualityDmaintenanceProvides durable memory for AI agents with structured storage, semantic search, OAuth authentication, and lifecycle controls.10Apache 2.0