Skip to main content

MCP server exposing Z3rno memory operations as tools for Claude Desktop, Cursor, and other MCP clients.

Project description

z3rno-mcp

PyPI License: Apache 2.0 CI

MCP (Model Context Protocol) server that exposes Z3rno memory operations as tools. Gives any MCP-compatible AI client (Claude Desktop, Cursor, Windsurf, etc.) the ability to store, recall, forget, and audit agent memories.

Tools

Tool Description
z3rno.store Store a memory (fact, preference, decision, etc.)
z3rno.recall Semantic search over stored memories
z3rno.forget Soft delete or GDPR-compliant hard delete
z3rno.audit Query the audit log of memory operations
z3rno.ingest Accept text/URL into the Forge pipeline
z3rno.distill Build/extend the graph from stored memories
z3rno.refine Improve the graph in place
z3rno.visualize_url Build a graph-viewer URL
z3rno.start_conversation Open a session for turn-aware recall (Phase G)
z3rno.end_conversation Mark a session ended (Phase G)
z3rno.summarize_conversation Fetch turn history for LLM summarization (Phase G)
z3rno.time_travel Recall at a past timestamp via SCD-2 temporal index (Phase G)

Installation

# Zero-install run — same UX as npx for Python tools
uvx z3rno-mcp

# Pin into a project
uv pip install z3rno-mcp

# Or with pip
pip install z3rno-mcp

Claude Code plugin

A plugin manifest at claude-code-plugin/plugin.json pins uvx z3rno-mcp and declares all twelve tools. Point Claude Code at it and set Z3RNO_API_KEY before launch.

Configuration

Set environment variables:

Variable Required Default Description
Z3RNO_API_KEY Yes Your Z3rno API key
Z3RNO_BASE_URL No https://api.z3rno.dev Z3rno server URL
Z3RNO_AGENT_ID No Default agent ID (can be overridden per-call)

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "z3rno": {
      "command": "z3rno-mcp",
      "env": {
        "Z3RNO_API_KEY": "z3rno_sk_...",
        "Z3RNO_AGENT_ID": "my-agent"
      }
    }
  }
}

If installed via uv, use the full path:

{
  "mcpServers": {
    "z3rno": {
      "command": "uv",
      "args": ["run", "z3rno-mcp"],
      "env": {
        "Z3RNO_API_KEY": "z3rno_sk_...",
        "Z3RNO_AGENT_ID": "my-agent"
      }
    }
  }
}

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "z3rno": {
      "command": "z3rno-mcp",
      "env": {
        "Z3RNO_API_KEY": "z3rno_sk_...",
        "Z3RNO_AGENT_ID": "my-agent"
      }
    }
  }
}

Claude Code

claude mcp add z3rno -- z3rno-mcp

Then set environment variables in your shell profile or .env.

For a detailed step-by-step setup, see QUICKSTART.md.

Full documentation: astron-bb4261fd.mintlify.app

Local Development

# Clone and install
git clone https://github.com/the-ai-project-co/z3rno-mcp.git
cd z3rno-mcp
uv sync --dev

# Run directly
Z3RNO_API_KEY=z3rno_sk_test Z3RNO_BASE_URL=http://localhost:8000 uv run z3rno-mcp

# Lint and format
uv run ruff check .
uv run ruff format .

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z3rno_mcp-0.6.0.tar.gz (82.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z3rno_mcp-0.6.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file z3rno_mcp-0.6.0.tar.gz.

File metadata

  • Download URL: z3rno_mcp-0.6.0.tar.gz
  • Upload date:
  • Size: 82.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for z3rno_mcp-0.6.0.tar.gz
Algorithm Hash digest
SHA256 874cca1a9721e7625e8ab8d28e0b52aea4f4b9a3d5940ef01357ed27b9b96a81
MD5 58bd8f7794ccf73a121860eee220e854
BLAKE2b-256 929b53501a2572f5e4fd3d3793f9dc851e7fdaedd71fa8c76d2fc2a674719d2b

See more details on using hashes here.

File details

Details for the file z3rno_mcp-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: z3rno_mcp-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for z3rno_mcp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7985557d3c546936d4d44aa2c4a48446e54129ad407f9f058678c58dd894664
MD5 2dc80281a651527a3a6cfc75d1d60457
BLAKE2b-256 b6abebbb72cd3fa7f0e2a4fd2cce895029d22ecf52edb9799b1f3a7396425be4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page