io.github.meharajM/agent-loop-mcp

Official registry AI and agents

Agentic memory manager. Install Skill: npx skills add meharajM/agent-loop-mcp

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @mhrj/mcp-agent-loop
Claude Code
claude mcp add agent-loop-mcp -- npx -y @mhrj/mcp-agent-loop@1.0.3
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "agent-loop-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@mhrj/mcp-agent-loop@1.0.3"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Agentic Loop Memory Server ♾️
  2. 🛠 Complete Setup (Required)
  3. 🌟 Why this approach is unique
  4. 📂 Project Structure
  5. 📄 License

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):

npx skills add meharajM/agent-loop-mcp@agentic-loop -g -y

Preview the skill before activation:

gh skill preview meharajM/agent-loop-mcp agentic-loop
2. Configure the MCP Server

Add the following to your \mcp_config.json\:

{
  "mcpServers": {
    "agent-loop": {
      "command": "npx",
      "args": ["-y", "@mhrj/mcp-agent-loop"]
    }
  }
}

🌟 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

Frequently asked questions

What is io.github.meharajM/agent-loop-mcp?

Agentic memory manager. Install Skill: npx skills add meharajM/agent-loop-mcp

How do I install io.github.meharajM/agent-loop-mcp?

It runs on your machine. In Claude Code: claude mcp add agent-loop-mcp -- npx -y @mhrj/mcp-agent-loop@1.0.3. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.meharajM/agent-loop-mcp need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.meharajM/agent-loop-mcp open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.meharajM/agent-loop-mcp?

It is published by meharajM. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.