# agent-infra-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/lulzasaur9192/agent-infra-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 211  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agent-infra-mcp

## Description
18 tools: agent memory, API drift detection, and HMAC-signed trust receipts

## Tools
Capabilities this server exposes over MCP:

- **memory_store**
- **memory_store_batch**
- **memory_list**
- **memory_get**
- **memory_update**
- **memory_delete**
- **memory_search**
- **memory_stats**
- **drift_create_test**
- **drift_list_tests**
- **drift_run_test**
- **drift_test_history**
- **drift_update_test**
- **drift_delete_test**
- **drift_dashboard**
- **receipt_issue**
- **receipt_verify**
- **receipt_list**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "agent-infra-mcp": {
    "command": "npx",
    "args": ["-y","@lulzasaur9192/agent-infra-mcp"],
    "env": {
      "AGENT_MEMORY_API_KEY": "",
      "AGENT_DRIFT_API_KEY": "",
      "TRUST_RECEIPT_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `AGENT_MEMORY_API_KEY`, `AGENT_DRIFT_API_KEY`, `TRUST_RECEIPT_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

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

```bash
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.

_Full upstream README: https://allmcps.com/mcp/agent-infra-mcp/readme_

