SkillAgentSearch skills...

monorepo

Verifiable onchain memory for trustless AI agents

Install / Use

claude mcp add mnemonik-xyz -- npx -y github:mnemonik-xyz/monorepo

If the server publishes to npm under a different name, use that package instead β€” check the repo README.

About this skill
πŸ”Œ

MCP Server

Model Context Protocol server

Quality Score

74/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of monorepo

monorepo scores 74/100 on our quality scale, 3709th of 4,588 Development & Engineering skills we index.

Its MCP Server is 11 KB long, well organised into 21 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
8/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated today, so monorepo is actively maintained.
  • Our last check on 2026-09-12 found the source still online.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit β€” read the skill file before letting an agent act on it.

monorepo compared with similar skills

All 4 of these similar skills score higher than monorepo; compare them before choosing.

SkillScoreStarsUpdatedFormat
monorepo (this skill)by mnemonik-xyz743todayMCP Server
Agent-Reachby Panniantong10095.7k3d agoCLAUDE.md
headroomby headroomlabs-ai10075.0ktodayCLAUDE.md
CowAgentby zhayujie10047.3ktodayCLAUDE.md
ai-job-searchby MadsLorentzen10046.0k2d agoCLAUDE.md

Frequently asked questions

How do I install monorepo?
Run claude mcp add mnemonik-xyz -- npx -y github:mnemonik-xyz/monorepo. The install tabs above show the steps for each supported agent.
Which AI agents does monorepo work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is monorepo safe to use?
It is Apache-2.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is monorepo still maintained?
The repository was last updated today, so monorepo is actively maintained.

Mnemonic Protocol

Verifiable, persistent memory for AI agents β€” signed, anchored on Solana, exposed over MCP.

CI License: Apache-2.0 npm: cli npm: sdk

Live: mnemonik.xyz Β· Hosted MCP: https://mcp.mnemonik.xyz/mcp Β· Discord: discord.gg/ws6wruJj

Docs: Quickstart Β· Whitepaper Β· How it works Β· Comparisons Β· AGENTS.md

# Recommended: pair with the webapp (open mnemonik.xyz/install, click
# "Send to CLI", paste the ticket UUID below):
npx @mnemonik-xyz/cli init --ticket <uuid> && npx @mnemonik-xyz/cli login && npx @mnemonik-xyz/cli sign "first memory"

# Or standalone (CLI-only, no webapp pairing):
npx @mnemonik-xyz/cli init --standalone && npx @mnemonik-xyz/cli login && npx @mnemonik-xyz/cli sign "first memory"

Mnemonic gives an AI agent a persistent and verifiable artifact/memory layer: signed memories that can be semantically recalled, independently verified, and optionally anchored on-chain.


Introduction

AI agents forget. Conversations, decisions, and learned context vanish between sessions, and when they do survive, there is no way for anyone else to verify what the agent actually remembered or claimed.

Mnemonic Protocol is a verifiable memory layer for AI agents. Every memory an agent saves is:

  • Semantically embedded so it can be recalled by meaning, not by keyword.
  • Compressed with TurboQuant so embeddings travel cheaply across systems.
  • Canonicalized to deterministic CBOR and hashed with blake3, so the same content always produces the same fingerprint.
  • Signed as a COSE_Sign1 artifact with the server's Ed25519 identity, so authorship is cryptographically provable.
  • Optionally anchored on Arweave (durable storage) and Solana (timestamped anchor), so third parties can independently verify the memory existed at a point in time β€” without trusting the agent or its operator.

The protocol is exposed through the Model Context Protocol (MCP), so any MCP-compatible client β€” Claude, Cursor, custom agents β€” can use it as a drop-in memory backend over HTTP or stdio.

Why it matters

  • Persistent memory across sessions and models. A memory signed by one agent is readable and verifiable by any other.
  • Verifiable claims. When an agent says "I remembered X on date Y," that claim can be checked against an on-chain anchor and a signed artifact β€” not just taken on faith.
  • Portable. Artifacts are self-describing (typed schema, canonical encoding, embedded compression metadata) and can be rehydrated anywhere.
  • Offline-first. Runs fully locally in local mode (SQLite only, no chain, no payment) for development and demos; flips to full mode when you want durable external anchoring.

Repository layout

This is a Cargo workspace with two crates:

core/   # mnemonic-core   β€” library: codec, identity, embed, compress, storage, solana, arweave, lineage
mcp/    # mnemonic-mcp    β€” binary: MCP server (HTTP + stdio), payment gate, pricing engine
work/   # active features / bugs (spec-driven work)
.claude/
└── skills/
    └── project-knowledge/   # architecture, patterns, deployment docs for AI agents
CLAUDE.md
Cargo.toml

The MCP server is the user-facing entrypoint. The core library is where the protocol primitives live.


Foundational research

Mnemonic builds on the Mnemonic Protocol Foundational Paper, which motivates the project's core thesis: agent memory must be semantic, attributable, and operationally cheap. Deeper protocol design notes live in docs/research/.


Quick start

Requires Rust stable.

# build
cargo build --release

# run the MCP server over HTTP (local storage mode, no blockchain, no payment)
STORAGE_MODE=local PAYMENT_MODE=none \
  ./target/release/mnemonic-mcp --transport http --port 3000

# or over stdio (for local MCP clients)
./target/release/mnemonic-mcp --transport stdio

Health check:

curl http://localhost:3000/health

Test MCP handshake:

curl -s http://localhost:3000/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize"}'

Run the test suite:

cargo test --workspace

Enable local ONNX embeddings (fastembed) when you want real semantic recall:

cargo build --release --features local-embed

MCP tools

The server exposes 5 tools over JSON-RPC at POST /mcp (and stdio):

| Tool | Purpose | |---|---| | mnemonic_whoami | Server identity (Ed25519 pubkey, DIDs, storage mode, attestation count) | | mnemonic_sign_memory | Embed + compress + canonicalize (CBOR) + hash (blake3) + sign (COSE_Sign1) + persist | | mnemonic_verify | Verify a memory by solana_tx and/or arweave_tx (version-aware) | | mnemonic_prove_identity | Sign an arbitrary challenge with the server key | | mnemonic_recall | Semantic search over stored embeddings (SQLite) |

Current artifact format: canonical CBOR + COSE_Sign1, blake3 hashing. Older SHA-256/JSON artifacts are still verifiable via a legacy fallback path.


Programmatic access

Two npm packages let you drive the same hosted MCP server without writing your own JSON-RPC client. Both reuse the OAuth 2.1 + PKCE handshake and the COSE_Sign1 signing substrate that the Cursor / VS Code / Claude.ai connectors and the webapp use β€” only the renderer differs.

  • @mnemonik-xyz/cli β€” mnemonic binary for terminal use. Recommended setup: open mnemonik.xyz/install β†’ click "Send to CLI" β†’ mnemonic init --ticket <uuid> && mnemonic login && mnemonic sign "hello". Standalone mode (mnemonic init --standalone) is also available for CLI-only use.
  • @mnemonik-xyz/sdk β€” runtime-agnostic TypeScript SDK (MnemonicClient, LocalSigner, Keypair, OAuth helpers). Pure ESM; runs on Node 20+, Bun, Deno, and modern browsers.

Storage modes

Selected via STORAGE_MODE:

  • local (default) β€” SQLite only. No Solana / Arweave writes, no payment gate. Synthetic tx ids (local:...). Ideal for dev, demos, and UX testing.
  • full β€” signed COSE bytes written to Arweave, anchor memo written to Solana, searchable embeddings kept in SQLite. Payment gate applies on HTTP when enabled.

full deployments also select an anchoring environment with ANCHORING_NETWORK:

  • mainnet (default) β€” uses the production Irys upload endpoint and the operator-selected mainnet-compatible read gateway/RPC.
  • devnet β€” test-only anchoring. MCP permits only SOLANA_RPC_URL=https://api.devnet.solana.com and IRYS_GATEWAY_URL=https://devnet.irys.xyz, then selects Irys Devnet’s upload endpoint internally. A production or custom endpoint causes startup to fail rather than risk a billable upload.

Irys Devnet artifacts are disposable test data; do not use this mode for durable user memory.


Payment modes (HTTP only, full mode only)

PAYMENT_MODE ∈ none | balance | x402 | both.

  • balance β€” Authorization: Bearer mnm_<key>, balance checked against the live pricing engine quote and reserved before execution.
  • x402 β€” first request returns HTTP 402, retry with X-Payment: {"tx_sig":"...","network":"solana-mainnet"}.

Only mnemonic_sign_memory is paid. Deposits are validated against the treasury pubkey + USDC mint + signer ownership on the tx.


Configuration

All configuration is env-driven (mcp/src/config.rs). The most relevant variables:

| Variable | Default | Purpose | |---|---|---| | MCP_TRANSPORT | http | http or stdio | | MCP_HTTP_HOST / MCP_HTTP_PORT | 0.0.0.0 / 3000 | HTTP listener | | STORAGE_MODE | local | local or full | | MNEMONIC_KEYPAIR_PATH | ~/.mnemonic/id.json | Server Ed25519 identity | | DATABASE_PATH | ~/.mnemonic/attestations.db | SQLite path | | EMBED_PROVIDER | fastembed | fastembed | openai | hash (tests only) | | OPENAI_API_KEY / OPENAI_EMBED_MODEL | β€” | When using OpenAI embeddings | | TURBO_BITS | 4 | TurboQuant bit width (2/3/4) | | ANCHORING_NETWORK | mainnet | mainnet or fail-closed test-only devnet | | SOLANA_RPC_URL / IRYS_GATEWAY_URL | localhost | External anchoring endpoints (full mode); ARWEAVE_URL is a legacy fallback for the gateway only | | PAYMENT_MODE | none | none | balance | x402 | both | | TREASURY_PUBKEY / USDC_MINT | β€” / mainnet USDC | Payment routing | | SIGN_MEMORY_COST_MICRO_USDC | 1000 | Floor price for sign-memory | | PRICE_REFRESH_SECS / PRICING_MARGIN_BPS | 1800 / 2000 | Dynamic pricing engine |

Copy .env.example to .env to start.


Development workflow

This project uses a spec-driven flow with AI agents:

  1. User Spec β€” what and why (in work/<feature>/user-spec.md)
  2. Tech Spec β€” how (architecture, decisions, testing)
  3. Tasks β€” atomic decomposition of the tech-spec
  4. Implementation β€” agent-executed, reviewed per wave

Active work lives in work/. Completed features are archived under work/completed/.

Agent guidance and project knowledge for this repo live in .claude/skills/project-knowledge/ and CLAUDE.md.

Default branch: dev.


Further reading

Deeper specification and API docs are maintained in the sibling mnemonic-protocol documentation repo:

  • docs/versions/v0.0.3/SPEC.md β€” full technical spec
  • docs/versions/v0.0.3/API.md β€” MCP + management REST reference
  • docs/IMPLEMENTATION_STATUS.md / IMPLEMENTATION_AUDIT.md β€” current implementation truth
  • docs/adr/ADR.md, docs/research/* β€” design rationale and research lineage

Community

Before contributing, please read CONTRIBUTING.md and CODE_OF_CONDUCT.md.

License

Apache License 2.0 β€” see LICENSE for the full text. By contributing you agree your contribution is licensed under the same terms (inbound = outbound). No CLA required.

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated1h ago
Forks1

Languages

Rust

Trust signals

87/100

From repository metadata: license, adoption, age and documentation. Not a code audit β€” see the Safety scan above for what the skill file itself contains.

2 low
monorepo β€” MCP Server: Install & Safety Check | SkillAgent