Agent Infra MCP logo

Agent Infra MCP

Stores agent memories, monitors API drift with golden tests, and issues HMAC-signed action receipts.

Install Agent Infra MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-infra-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@lulzasaur9192/agent-infra-mcp"
      ],
      "env": {
        "AGENT_MEMORY_API_KEY": "YOUR_VALUE_HERE",
        "AGENT_DRIFT_API_KEY": "YOUR_VALUE_HERE",
        "TRUST_RECEIPT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env AGENT_MEMORY_API_KEY=YOUR_VALUE_HERE --env AGENT_DRIFT_API_KEY=YOUR_VALUE_HERE --env TRUST_RECEIPT_API_KEY=YOUR_VALUE_HERE --transport stdio agent-infra-mcp -- npx -y @lulzasaur9192/agent-infra-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @lulzasaur9192/agent-infra-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The agent-infra-mcp MCP server exposes 18 tools for persistent memory, API drift monitoring, and signed audit receipts. It connects to separate memory, drift, and trust-receipt APIs using service-specific API keys. Use it when an agent needs namespace-scoped state, repeatable endpoint checks, or verifiable records of actions. It runs through npx and can be configured for Claude Desktop or Cursor.

Use cases

  • Store and retrieve agent context by namespace
  • Search memories using text and metadata filters
  • Run golden tests against API endpoints
  • Review API drift history and response differences
  • Record and verify agent actions

Key features

  • Namespace-scoped persistent key-value memory
  • FTS5 full-text memory search
  • Golden-test API drift detection
  • Drift history and dashboard tools
  • HMAC-SHA256 trust receipts
  • Online or offline receipt verification

Tools18

What Agent Infra MCP lets your agent do. Expand a tool for its parameters.

Self-reported~64 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @lulzasaur9192/agent-infra-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads211Package downloads in the last 30 days.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed18Callable tools this server registers over MCP.

How Agent Infra MCP works

What agent-infra-mcp MCP server does

The agent-infra-mcp MCP server groups three infrastructure functions behind MCP tools: persistent agent memory, API drift detection, and trust receipts. The memory functions provide a key-value store organized by namespace, with metadata, time-to-live values, and FTS5 full-text search. The drift functions let agents define expected API behavior and compare later responses against those expectations. Receipt functions create and check signed records of agent actions.

The package exposes 18 tools in total. Each function is backed by a separate service and API key: agent-memory-api, agent-drift-api, and trust-receipt-api. This separation lets a deployment configure access to the three capabilities independently.

How it works

Run the package with npx @lulzasaur9192/agent-infra-mcp. An MCP client starts the process and supplies the configured environment variables. The agent then calls the memory, drift, or receipt tools through MCP rather than interacting with the underlying APIs directly.

Memory operations cover individual reads and writes as well as batch storage of up to 100 memories. Search supports full-text queries and metadata filtering. Drift monitoring uses “golden” test cases with exact, subset, contains, or status matching. Tests can be run manually, and the available tools include run history, response diffs, drift rate, and response-time dashboard data.

Trust receipts use HMAC-SHA256 signatures. An agent can issue a receipt, verify its integrity online or offline, and list receipts using filters. The agent-infra-mcp MCP server therefore fits workflows that need an audit record in addition to an agent’s working memory.

Setup and configuration

Install and launch the server with:

Terminal
npx @lulzasaur9192/agent-infra-mcp

Configure the MCP client with the package as a command and pass these environment variables:

  • AGENT_MEMORY_API_KEY for the memory service
  • AGENT_DRIFT_API_KEY for the drift service
  • TRUST_RECEIPT_API_KEY for the trust-receipt service

The README provides configuration examples for Claude Desktop and Cursor. The package is released under the MIT license.

Tools and capabilities

Memory tools include memory_store, memory_store_batch, memory_list, memory_get, memory_update, memory_delete, memory_search, and memory_stats. Together they support namespace management, metadata and TTL changes, deletion, search, and usage statistics.

Drift tools include drift_create_test, drift_list_tests, drift_run_test, drift_test_history, drift_update_test, drift_delete_test, and drift_dashboard. Receipt tools include receipt_issue, receipt_verify, and receipt_list.

Limitations and notes

The material identifies three required service API keys but does not describe local persistence, service URLs, authentication scopes, rate limits, or failure behavior. It also does not document the exact request schemas for each tool. Confirm those details in the package or service documentation before production deployment. Batch memory storage is limited to 100 memories per operation, and receipt verification is described as online or offline without further implementation details.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Infra MCP

agent-infra-mcp is an MCP server that connects to agent-memory-api, agent-drift-api, and trust-receipt-api. Its main tools store and search persistent memories, register and run API drift tests, and issue, verify, and list HMAC-SHA256-signed receipts for agent actions.

Install and run it with `npx @lulzasaur9192/agent-infra-mcp`. Configure the MCP client to launch `npx` with the package name and pass the required service API keys as environment variables.

Yes, agent-infra-mcp includes a Cursor configuration example. Add it as an MCP server launched with `npx -y @lulzasaur9192/agent-infra-mcp` and provide the memory, drift, and trust-receipt API keys.

It requires `AGENT_MEMORY_API_KEY`, `AGENT_DRIFT_API_KEY`, and `TRUST_RECEIPT_API_KEY`. Each key authenticates one service: memory, API drift detection, or trust receipts.

Yes, it can detect changes by registering golden API tests and running them against endpoints. The drift tools support exact, subset, contains, and status matching, along with test history, response diffs, and dashboard information.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Infra MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-infra-mcp?style=directory)](https://allmcps.com/mcp/agent-infra-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agent-infra-mcp"><img src="https://allmcps.com/api/badge/agent-infra-mcp?style=directory" alt="Agent Infra MCP on AllMCPs" /></a>