Agent MCP Server

Correction-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.

Local serverstdioPython

What is the Agent MCP server?

Agent MCP server exists for a simple reason — assistants are far more useful when they can act on Agent directly instead of describing what you should do. Correction-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.

What you get

Claude Code memory that learns from corrections. The only learning loop that measures whether your agent actually stops repeating a mistake.

What the assistant can call

Once Agent is connected, these are the calls the assistant has available:

  • Metric — Value
  • Layer — Type
  • Piece — What it does
  • Platform — Mechanism

Configuration and credentials

You will need one environment variable: OPENAI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at agent-recall-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Agent's toolset — Metric, Layer, Piece and 1 more — is a fair guide to whether it matches your workflow. It is maintained by Goldentrii; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the agent mcp server does with a few real requests.

Available tools

ToolWhat it does
MetricValue
LayerType
PieceWhat it does
PlatformMechanism

How to install the Agent MCP server

Generic MCP JSON for other clients:

```json
{ "mcpServers": { "agent-recall": { "command": "npx", "args": ["-y", "agent-recall-mcp"] } } }

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Agent to Metric.
  • Use Agent to Layer.
  • Use Agent to Piece.

Frequently asked questions

It connects Agent to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Metric, Layer, Piece, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Agent directly.