Model Context Protocol · stdio transport

Verifiable Memory for
Any AI Agent or IDE

A seven-tool MCP server that gives Claude Desktop, Cursor, Windsurf, and custom agent runtimes persistent, content-hashed memory anchored on Monad.

Full Docs ↗
7
MCP Tools
stdio
Transport
5
Supported Clients
Monad
Anchor Chain
MIT
License
Claude Desktop / Cursor / Windsurf / Claude Code / Custom Agent
                        │  stdio (JSON-RPC)
                        ▼
              @pag/mcp  ─── 7 tools ──▶  @pag/core
                                              │         │
                                    PlugPort HTTP    MemoryAnchor.sol
                                      (MonadDb)     (Monad testnet)

7 Tools

remember
Store a new memory with optional entities and relations. Returns the memory id and content hash.
text · string · required
entities · array
relations · array
tags · array
recall
Search long-term memory by keywords and/or entity name. Returns ranked memories and a BFS context subgraph.
query · string
entity · string
hops · integer
limit · integer
link
🕸 graph
Create a typed relationship between two entities (upserts both if they do not exist yet).
from · object · required
type · string · required
to · object · required
props · object
explore
🕸 graph
Breadth-first traversal from one or more node ids. Returns the full subgraph within the given hop count.
start · string | string[] · required
maxDepth · integer
direction · "out"|"in"|"both"
types · string[]
limit · integer
forget
Delete a memory and all its edges. Only Memory nodes can be deleted (not entity nodes).
id · string · required
anchor_now
⛓ on-chain
Anchor all pending (un-anchored) memories on-chain as a Merkle batch. Requires MONAD_RPC_URL and ANCHOR_CONTRACT.
No parameters
verify_memory
⛓ on-chain
Verify a memory's integrity against its on-chain Merkle anchor. Checks hash validity, Merkle proof, and on-chain root.
id · string · required
MCP Client
1Build the MCP package

Clone the repo and build once. Subsequent runs rebuild automatically.

bash
git clone https://github.com/PlugPort-Protocol/plugport-agent-graph.git
cd plugport-agent-graph
pnpm install
pnpm --filter @pag/core build
pnpm --filter @pag/mcp build
2Edit Claude Desktop config

Open ~/Library/Application Support/Claude/claude_desktop_config.json (create it if it doesn't exist) and merge in the following. Replace the args path with the absolute path on your machine.

json
{
  "mcpServers": {
    "plugport-agent-graph": {
      "command": "node",
      "args": ["/path/to/plugport-agent-graph/packages/mcp/dist/index.js"],
      "env": {
          "PLUGPORT_URL": "https://testnet.plugport.wtf",
          "PLUGPORT_API_KEY": "pp_your_key_here",
          "PAG_GRAPH": "default",
          "MONAD_RPC_URL": "https://testnet-rpc.monad.xyz",
          "ANCHOR_CONTRACT": "0x12a49Ee0c56dA65Eb519cC612Ee4D3A4A089c1f4",
          "ANCHOR_PRIVATE_KEY": "0x...",
          "EXPLORER_TX_URL": "https://testnet.monadscan.com/tx/"
    }
    }
  }
}
3Restart Claude Desktop

Fully quit and reopen Claude Desktop. You should see plugport-agent-graph listed under connected MCP servers in the settings panel. Try: "Remember that our API runs on port 8080."