Attested Memory MCP server
Commit Nov 11, 2026Provides verifiable memory for AI agents with provenance, truth analysis, and a marketplace for portable agent memory units.
Also known as alexar76/attested-memory, attested-memory
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 3.15.16
- Last commit
- Nov 11, 2026
- License
- Apache-2.0
What is Attested Memory MCP?
Attested Memory provides verifiable memory for AI agents with provenance, truth analysis, and a marketplace for portable agent memory units.
Summary generated from the project's README
About Attested Memory MCP server
Providing verifiable memory for AI agents is what Attested Memory Hub accomplishes by ensuring every piece of information includes provenance and truth analysis. Developers and AI agents can use this system to prevent forged or poisoned data from influencing agent actions. The platform functions as an AIMarket-compatible hub that integrates three core services: a memory market for storing and pricing portable units, a truth layer for contradiction scanning, and a provenance ledger for maintaining signed lineage.
Users can interact with the hub through a production MCP endpoint using market_search and market_invoke tools. The system is deployed via Docker Compose and requires a PostgreSQL 16 profile for production environments. It utilizes a hybrid Ed25519 and ML-DSA-65 signing method to secure receipts and attestations. For financial transactions, the hub supports direct wallet payments using Circle USDC on Base, where funds are sent directly to a configured operator address without the service holding private keys.
What you can do with it
- 1Verify memory authenticityAn AI agent can check the origin and reliability of a memory unit to ensure it has not been tampered with.
Written from the project's README. Every use case is checked against a quote from it.
How to install Attested Memory MCP
Formats verified 10 Nov 2026Install Attested Memory MCP in Claude Code
$ claude mcp add --transport http attested-memory https://hub.attestedmemory.net/mcpInstall Attested Memory MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"attested-memory": {
"url": "https://hub.attestedmemory.net/mcp"
}
}
}Install Attested Memory MCP in VS Code
.vscode/mcp.json
{
"servers": {
"attested-memory": {
"type": "http",
"url": "https://hub.attestedmemory.net/mcp"
}
}
}Install Attested Memory MCP in Codex
~/.codex/config.toml
[mcp_servers.attested-memory] url = "https://hub.attestedmemory.net/mcp"
Install Attested Memory MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"attested-memory": {
"httpUrl": "https://hub.attestedmemory.net/mcp"
}
}
}Configuration
PAYMENT_RECIPIENT
| Name | Description | |
|---|---|---|
| PAYMENT_RECIPIENT | — |
README
View on GitHub🔄 Synced from the AI-Factory monorepo (append-only history). Pull requests are welcome — merged PRs are imported back and re-synced here. Issues · Pull requests
Attested Memory Hub
Production uses the PostgreSQL 16 profile described in
docs/production-postgres.md. Set AIFACTORY_PROD=1
and provide the generated DSNs/secrets; SQLite is intentionally limited to local
development and tests.
Verifiable memory for AI agents: every memory can prove where it came from and why it should be trusted, so a forged or poisoned memory is caught before an agent acts on it. Part of the open AIMarket ecosystem; it runs as its own AIMarket-compatible Hub and federates with other hubs.
The hub combines three separately deployable services around one Memory Unit contract:
| Service | Role | Core capabilities |
|---|---|---|
memory-market |
Primary product: store, find, share and price portable agent memory | memory.write, memory.read, memory.search, memory.share, memory.score |
truth-layer |
Evidence and contradiction analysis | memory.verify, claim.check, contradiction.scan, evidence.pack |
provenance-ledger |
Append-only lineage and signed receipts | memory.attest, lineage.get, receipt.verify |
The market is the product wedge. Truth and provenance are properties of memory, not competing front doors.
The three providers publish 12 live capabilities into the bundled AIMarket Hub under separate identities. Its signed ecosystem.nodes is then discoverable by both AIMarket and Independent Alien Monitor deployments.
Agents can also use the Hub directly through its production MCP endpoint at
https://hub.attestedmemory.net/mcp. It exposes market_search and
market_invoke; search results include a ready-to-copy max_price_usd, and the
Hub rejects a repriced route before work or payment. See MCP access.
Run the hub
Requirements: Docker Compose v2, Git and OpenSSL.
./start.sh
start.sh calls scripts/ensure_env.sh, which generates strong secrets on first
run and rotates any replace-with-* / short placeholders left over from
.env.example. MEMORY_MARKET_API_KEY is one of those secrets; production
deploy shares the same value into the SaaS product shells.
For a production host (HTTPS URLs, KOVA, payment recipient, SaaS edge):
./scripts/deploy_attested_memory.sh # maintainers: lives in the AIMarket monorepo; see its header
- Market console and API: http://127.0.0.1:8810
- AIMarket-compatible Hub: http://127.0.0.1:9084
- Truth API docs: http://127.0.0.1:8811/docs
- Provenance API docs: http://127.0.0.1:8812/docs
start.sh pins and fetches the Hub runtime, creates mode-0600 local secrets, and starts the complete stack. Data and signing keys are stored in named Docker volumes. Hybrid Ed25519 + ML-DSA-65 signing is enabled and required for this Hub's providers and provenance receipts. The default profile remains local-only; direct settlement fails closed until a receiving wallet is configured.
Direct wallet payments
Set the operator's public Base address in .env and restart the stack:
PAYMENT_RECIPIENT=0xYour40HexCharacterBaseAddress
Paid Memory Units can then be purchased from the console or /v1/billing API with canonical Circle USDC on Base. Funds go directly to that address; the service has no private key. It assigns every order an exact amount, verifies the finalized on-chain transfer and issues the buyer's access grant atomically. See the payment guide before enabling it in production.
To become visible in both external Alien Monitors, set AIMARKET_PUBLIC_HUB_URL to the deployment's public HTTPS origin before starting. The bootstrap announces to modelmarket.dev and independentai.network; operators of those roots must still approve and pin the peer. See Alien Monitor integration.
Development
Each service is an independent Python package and can be tested on its own:
./scripts/check.sh
The APIs deliberately use content hashes and references instead of moving private source material between services. See architecture, capabilities, security, payments, and monetization.
Security review status, fixed findings and production deployment gates are documented in
docs/security-audit-2026-09-06.md.
Source and contributions
Developed in the AIMarket monorepo and published as
alexar76/attested-memory. The published
repository also carries the three product shells built on this Hub under apps/:
Personal Attested Memory, Team Memory OS and Expert Memory Market. Issues and pull
requests are welcome there.
Status
This is a self-hosted MVP: durable memory records, deterministic evidence scoring, append-only hybrid-signed provenance, twelve Hub capabilities, dual-root federation bootstrap, direct Base USDC settlement, and an operator console are implemented. Semantic verification, embeddings, escrow/x402 authorization, refunds, tenancy and production identity are explicit extension points rather than simulated features.
License
Apache-2.0. See LICENSE.
Attested Memory MCP questions
How do I add Attested Memory MCP to Claude Code?
Run claude mcp add --transport http attested-memory https://hub.attestedmemory.net/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Attested Memory MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How are payments handled for memory units?
Paid Memory Units can be purchased using Circle USDC on the Base network, with funds sent directly to a configured operator address.
What services are included in the Attested Memory Hub?
The hub includes the memory-market for storing and pricing memory, the truth-layer for evidence analysis, and the provenance-ledger for signed lineage.