# io.github.meharajM/agent-loop-mcp (npm · @mhrj/mcp-agent-loop)

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

- Trust score: 68/100 (medium)
- Change this week: +17
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@mhrj/mcp-agent-loop`: 68/100 (this document), [markdown](https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop.md), [page](https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop)

## Channel facts

- Registry: `npm`
- Package: `@mhrj/mcp-agent-loop`
- Version: `1.0.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (108 of 112), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (ISC).
  - Actively maintained (last published 140 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 78/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 390 tokens (~55/item across 7 items; 6 tools + 1 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 90/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 69% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add meharajm-agent-loop-mcp -- npx -y @mhrj/mcp-agent-loop
```

### Codex

```bash
codex mcp add meharajm-agent-loop-mcp -- npx -y @mhrj/mcp-agent-loop
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "meharajm-agent-loop-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@mhrj/mcp-agent-loop"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add meharajm-agent-loop-mcp --command npx --arg -y --arg @mhrj/mcp-agent-loop
```

### Hermes

```yaml
mcp_servers:
  meharajm-agent-loop-mcp:
    command: "npx"
    args: ["-y", "@mhrj/mcp-agent-loop"]
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 68, +25)

- [security regression] Provenance: fail → unverified
- [security regression] Install scripts: pass → unverified
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [functional regression] Maintenance: pass → unverified
- [functional regression] License: pass → unverified
- [functional improvement] Stability: unverified → 0.20
- [functional improvement] Dependency health: unverified → partial
- [functional] Licence: ISC

### 2026-08-01 (score 43, +30)

- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-31 (score 13, −35)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 48, −31)

- [security regression] Known CVEs: partial → unverified
- [security regression] Malware scan: pass → unverified
- [functional regression] Dependency health: partial → unverified

### 2026-07-29 (score 79, +54)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Schema quality: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: ISC

### 2026-07-28 (score 25, −26)

- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 100 → unverified
- [functional improvement] Dependency health: unverified → partial

### 2026-07-27 (score 51)

First indexed and scored.

## MCP tools (6)

### `init_loop` (~58 tokens)

Creates a new .md loop state file for the given session to start a continuous, autonomous task.

Input parameters:

- `objective` (string, required): The overarching objective for the agent to achieve
- `session_id` (string, required): A unique identifier for this loop session

### `log_step` (~134 tokens)

Appends to the Active Context. Rejects if failed=true but no self_heal_strategy is provided. Warns if context is too large.

Input parameters:

- `action` (string, required): A short description of what was just done
- `failed` (boolean, required): Set to true if this step encountered an error or failed to achieve its micro-goal.
- `result` (string, required): The output, success, or failure message of the action
- `self_heal_strategy` (string): MANDATORY if failed=true. How you plan to fix this failure or what alternative tool you will explore next.
- `session_id` (string, required)

### `compact_memory` (~59 tokens)

Empties the Active Context and appends the AI-provided summary to the Compacted History.

Input parameters:

- `context_summary` (string, required): A highly condensed summary of the current Active Context to preserve important facts and outcomes.
- `session_id` (string, required)

### `report_blocker` (~49 tokens)

Updates state to STATUS_BLOCKED and asks for human intervention when absolutely stuck.

Input parameters:

- `reason` (string, required): The reason the loop is blocked and needs human help
- `session_id` (string, required)

### `resume_loop` (~45 tokens)

Removes the block and adds human input context back into the loop.

Input parameters:

- `session_id` (string, required)
- `user_input` (string, required): The clarify or credentials provided by the human

### `get_tool_suggestions` (~26 tokens)

Ask this tool if you are stuck and don't know what other tools to use.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop#diagnostics

## Score history

- 2026-08-03: 68
- 2026-08-02: 68
- 2026-08-01: 43
- 2026-07-31: 13
- 2026-07-30: 48
- 2026-07-29: 79
- 2026-07-28: 25
- 2026-07-27: 51

## Links

- npm package: https://www.npmjs.com/package/@mhrj/mcp-agent-loop
- Socket report: https://socket.dev/npm/package/@mhrj/mcp-agent-loop
- Repository: https://github.com/meharajM/agent-loop-mcp
- Changelog RSS feed: https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop/changelog.json
- HTML version of this page: https://verifymcp.io/servers/meharajm-agent-loop-mcp/mhrj-mcp-agent-loop
