Skip to content
plugmcp
DirectorySkillsCategoriesBlog
EN/中文
Sign inSign up
Home/Servers/MarsNMe

MarsNMe

by io.github.Marsmanleo

Agent-agnostic memory backend that preserves continuity between humans and AI over time.

Power your agent

Add this server

The publisher's own command. Not a PlugMCP endpoint.

Local command
npx -y @marsnme/[email protected]
Credentials from the publisher
  • MCP_PROFILE — Profile ID used to separate memory data (for example: profile-a).
  • SUPABASE_BASE_URL — Supabase REST API project URL.
  • SUPABASE_SERVICE_ROLE_KEY — Supabase service role key.
  • JINA_API_KEY — Jina AI API key for embedding-based tools.
  • PORT — Local HTTP port for the MCP endpoint. If omitted, defaults by MCP_PROFILE (coco=18790, toto=18791, others deterministic in 20000-29999).
Provider
Claude Code
MCP_PROFILE=<value> SUPABASE_BASE_URL=<value> SUPABASE_SERVICE_ROLE_KEY=<secret> JINA_API_KEY=<secret> PORT=<value> claude mcp add io.github.marsmanleo-marsnme -- npx -y @marsnme/[email protected]

Run in a terminal.

Claude Desktop
{
  "mcpServers": {
    "io.github.marsmanleo-marsnme": {
      "command": "npx",
      "args": [
        "-y",
        "@marsnme/[email protected]"
      ],
      "env": {
        "MCP_PROFILE": "<value>",
        "SUPABASE_BASE_URL": "<value>",
        "SUPABASE_SERVICE_ROLE_KEY": "<secret>",
        "JINA_API_KEY": "<secret>",
        "PORT": "<value>"
      }
    }
  }
}

claude_desktop_config.json

Step-by-step: add this in Claude

Remote URL or a command on your machine? How the two installs differ

Run on PlugMCP

Host a copy with our keys and logs.

A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.

Launch

Related MCP

View more
  • Firecrawl🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
  • N
    NotionToken-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.
  • Context7Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Related skills

View all
  • reaReverse engineer anything with agents, from app behavior down to native binaries.
  • rea-changelog-updatePrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.
  • rea-tool-designDesign or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.

Questions

How do I install MarsNMe?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does MarsNMe need an API key?
The publisher lists these environment variables: MCP_PROFILE, SUPABASE_BASE_URL, SUPABASE_SERVICE_ROLE_KEY, JINA_API_KEY, PORT.
What transport does MarsNMe use?
MarsNMe runs locally over stdio.
When was MarsNMe last checked?
Last checked 2026-10-21. Agent-agnostic memory backend that preserves continuity between humans and AI over time.

Agent-agnostic memory backend that preserves continuity between humans and AI over time.

English | 繁體中文(台灣) | 繁體中文(香港) | 简体中文


marsnme.com — Claude.md is for context. MarsNMe is for continuity.

Your AI tools should know you — not start from scratch every time. When Perplexity helps you decide, Claude should remember why. When Cursor ships a feature, Warp should know the context. That's not context sharing. That's continuity.

Most AI memory tools help AI remember you. MarsNMe helps you and your AI remember each other — across sessions, across tools, over time.

An agent-agnostic, LLM-agnostic memory backend for MCP-compatible tools.

curl -fsSL https://marsnme.com/install.sh | bash

Real user story

I use Cursor to code, Warp to deploy, Perplexity to research, and Claude Code to manage my vault. Before MarsNMe, every tool started blank — I had to re-explain my project, my preferences, my decisions every single session. Now my AI across all four tools knows what we decided yesterday, what we tried last week, and why we chose this architecture over that one. It's not about injecting context. It's about having a relationship that compounds over time.

— Leo, MarsNMe creator (3 months of daily use across 4 AI tools)

Available MCP Tools (16)

ToolDescription
insert_memoryStore short-term memory
list_memoriesList recent memories
search_memoriesSemantic search via Jina embeddings
recallLong-term chunk recall — ~80-char preview per match
get_summaryMedium excerpt (~300 chars) of a chunk by ID
get_fullComplete text of a long-term chunk by ID
memory_ingestIngest long-term insight chunks
dream_ingestDream-mode long-term ingestion
session_bootStart a session with context pre-load
session_closeClose session, summarize, auto-promote expiring memories
health_checkCoverage, expiry, conflict diagnostics
reload_source_registryRefresh source whitelist at runtime
demote_memoryDemote a memory to lower priority
soft_forgetSoft-delete a memory
explain_memoryExplain a memory's provenance
batch_promotePromote expiring short-term memories to long-term

What's new in 0.3.0

  • 3-layer recall: recall returns ~80-char previews, then get_summary (~300 chars), then get_full (complete). Avoids token-dumping full chunks on every recall; drill down only when a preview looks relevant.
  • Body-to-body note handoff: session_close(to=<body>, note=...) leaves a note that session_boot(body=<target>) delivers and marks read — one agent can hand context to another.
  • Auto batch_promote on session_close: closing a session automatically promotes soon-expiring short-term memories (48h window, up to 5) to long-term storage — no Hermes or manual promote needed.
  • grok + draft sources: added to the source whitelist so the Grok body and Draft lifecycle hooks can write memories natively.
  • CoCo-only tool surface: PRD tools (save_prd, get_prd, list_prds, score_prd, spawn_to_linear) removed from the Supabase gateway — idea/PRD/task execution now lives in Draft. MarsNMe = CoCo soul memory only.

MarsNMe

Why MarsNMe?

Most AI memory tools help AI remember you. MarsNMe helps you and your AI remember each other.

MarsNMeTypical memory tool
PhilosophyMutual continuity — human + AI both growAI-side context injection only
Agent supportAny MCP-compatible clientOften client-specific
Memory tiersShort-term (TTL) + long-term (semantic)Usually one layer
ProfilesUnlimited isolated profiles via MCP_PROFILESingle-user only
Data ownershipYour own Supabase — zero vendor lock-inVendor-hosted
SearchJina v3 semantic search (1024-dim pgvector)Keyword or basic similarity
Self-hostable✅ Full controlRarely

When MarsNMe is the right fit

  • You use multiple AI assistants (Claude, Cursor, Perplexity, Warp, custom agents) and want shared memory across all of them
  • You want AI that remembers your projects, preferences, and decisions across sessions without re-explaining
  • You care about data sovereignty — your memories stay in your own Supabase project
  • You're building an AI agent and need a production-ready memory backend with semantic recall

When it might not be the right fit

  • You only need single-session context (just use the system prompt)
  • You want fully managed, zero-config memory with no setup (try a hosted solution)

Runtime packages

FolderRuntimeWho uses it
marsnme-supabase/Supabase + Jina gateway (@marsnme/mcp-gateway)Mars Group dogfood — Proxmox CT101 (CoCo / Toto soul memory)
marsnme-cf/Cloudflare Workers + D1 + VectorizeSelf-host template; not the Proxmox deploy path
marsnme-supabase/cloudflare-routing-worker/mcp.marsnme.com routing proxyPublic setup wizard → upstream gateway

Product split (Mars Group): Idea / PRD / task execution → Draft + draft-mcp. MarsNMe Supabase = CoCo soul memory only (recall, session boot/close, ingest, lifecycle). As of @marsnme/mcp-gateway v0.3.0, PRD MCP tools (save_prd, get_prd, list_prds, score_prd, spawn_to_linear) are removed from the Supabase gateway — use Draft for idea/PRD/task workflows.

Proxmox deploy: private MarsNMe-lab — deploy/deploy-proxmox-ct101.sh or GitHub cd-selfhosted workflow. Not a single-script deploy like draft-mcp.

Repository Packages

PackageDescription
marsnme-supabase/Core MCP gateway — agent-agnostic memory backend (this package is published to npm as @marsnme/mcp-gateway)
marsnme-supabase/cloudflare-routing-worker/Cloudflare Worker for mcp.marsnme.com — username-based MCP routing proxy with setup wizard
marsnme-cf/Self-hosted MCP memory server on Cloudflare Workers + D1 + Vectorize (no Supabase needed)

Quick Setup (no install needed)

Go to mcp.marsnme.com/setup — create your personal MCP URL in 4 steps:

  1. Pick a username
  2. Enter your Supabase credentials (URL + anon key)
  3. Choose preferences
  4. Get your MCP URL: https://mcp.marsnme.com/your-name

Then add it to any MCP client (Claude, Cursor, Perplexity, Warp).

Self-hosted? Deploy marsnme-cf/ to your own Cloudflare account — no Supabase needed, uses D1 + Workers AI + Vectorize.


Before You Start (External Dependencies)

  1. Create a Supabase project (free plan is enough):
    • Sign up: https://supabase.com
    • Create project: https://supabase.com/dashboard/new
    • Open API settings (Project Settings → API):
      • Project URL → SUPABASE_BASE_URL
      • service_role key → SUPABASE_SERVICE_ROLE_KEY
    • Keep SUPABASE_SERVICE_ROLE_KEY private. Never commit it.
  2. Create a Jina API key (free tier available):
    • Get key: https://jina.ai/api-key/
    • Copy key to JINA_API_KEY

Quick Start (15-20 minutes)

For the fastest path, use the one-line installer: curl -fsSL https://marsnme.com/install.sh | bash

The manual path below follows the same tools-first flow as docs/onboarding-a-mcp-zero-to-recall.md and docs/onboarding-b-platform-skill-install.md.

  1. Clone repository:
git clone https://github.com/Marsmanleo/MarsNMe.git
cd MarsNMe
  1. Verify Node.js version (20+ required):
node --version
  1. Copy environment template:
cp .env.example .env
  1. Fill required values in .env:
    • SUPABASE_BASE_URL
    • SUPABASE_SERVICE_ROLE_KEY
    • JINA_API_KEY
  2. Run required Supabase migrations before first start:
    • Option A (recommended, Supabase CLI):
npx supabase db push --db-url "<your-supabase-db-connection-string>"
  • Note: --db-url must be the Postgres database connection string from Project Settings → Database → Connection string.
  • It is not the same as SUPABASE_BASE_URL (https://<project-ref>.supabase.co, REST API URL).
  • Use a role that can execute DDL on your target schemas.
  • On Supabase-hosted Postgres this is typically supabase_admin (not postgres).
  • Option B (Supabase Dashboard SQL Editor):
    1. Open SQL Editor.
    2. Ensure the vector extension is enabled first (Database → Extensions).
    3. Run migration files in filename order from supabase/migrations/:
      • 20260504052744_semantic_vector_dual_profile.sql
      • 20260513213800_memory_lifecycle_tracking.sql
      • 20260513222500_health_check_detect_conflicts_v2.sql
      • 20260517183000_provenance_audit_trail.sql
      • 20260517194000_memory_scope_agent_body_environment.sql
      • 20260517200500_forget_demote_mechanism.sql
      • 20260517223500_usage_cost_telemetry_light.sql
      • 20260517231000_memories_source_constraint_regex.sql
      • 20260517232000_source_registry_table.sql
  1. Start gateway:
    • MCP_PROFILE separates memory by agent or use case.
    • Use any profile name you want (for example: default, my-agent, profile-a).
    • Legacy built-in profile IDs coco and toto are still supported for compatibility.
    • If PORT is omitted, default port is profile-based (coco=18790, toto=18791, other profiles deterministic in 20000-29999).
MCP_PROFILE=profile-a PORT=18790 npx @marsnme/mcp-gateway
  1. Verify health:
curl -sS http://127.0.0.1:18790/health
  1. Connect your MCP client (next section), then run the first round-trip check.

Try In 30 Seconds (Docker, M1)

If you only want a local demo path, use Docker Compose.

One-line install (recommended):

curl -fsSL https://marsnme.com/install.sh | bash

Or manually:

  1. Set only the required key:
cp .env.example .env
# fill JINA_API_KEY in .env
  1. Start local stack:
docker compose up

This starts:

  • PostgreSQL + pgvector
  • SQL migrations from supabase/migrations/
  • PostgREST + rest-proxy
  • MarsNMe gateway (http://127.0.0.1:18790/mcp)
  1. Verify health:
curl -sS http://127.0.0.1:18790/health

M2 Cloudflare Tunnel Profile (Demo)

When you need a temporary public endpoint for remote AI tools:

docker compose --profile tunnel up

Expected output (from tunnel logs):

https://xxxx.trycloudflare.com

Get MCP endpoint:

docker compose --profile tunnel logs tunnel | grep -Eo 'https://[^ ]+trycloudflare.com' | head -n1
# append /mcp

Notes:

  • trycloudflare.com URL is temporary (demo only).
  • Local endpoint remains: http://127.0.0.1:18790/mcp.
  • For production/stable URL, use named tunnel (outside M2 scope).
  • Optional env:
    • MCP_TUNNEL_PROFILE (default coco)
    • MCP_TUNNEL_REQUIRE_BEARER (default false for demo convenience)

MCP Client Connection Guide

Local endpoint:

  • http://127.0.0.1:18790/mcp

If bearer auth is enabled (MCP_REQUIRE_BEARER=true), include:

  • Authorization: Bearer <your-token>

Claude Desktop

  1. Open claude_desktop_config.json (macOS default path: ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. Add/update:
{
  "mcpServers": {
    "marsnme-cf": {
      "url": "http://127.0.0.1:18790/mcp"
    }
  }
}
  1. Restart Claude Desktop.

Cursor

  1. Open Cursor Settings and search for MCP.
  2. Add a new server:
    • Name: marsnme-cf
    • URL: http://127.0.0.1:18790/mcp
    • Headers: optional bearer header if enabled
  3. Reconnect MCP in Cursor.

Warp

  1. Open Settings > Agents > MCP servers.
  2. Add a server pointing to:
    • URL: http://127.0.0.1:18790/mcp
  3. Add optional bearer header if required, then reconnect.

Perplexity

  1. Open a Space in Perplexity and go to Space Settings.
  2. Under MCP servers, add:
    • URL: http://127.0.0.1:18790/mcp
  3. Save and start a new conversation in that Space.

Any MCP client (generic HTTP/SSE)

Use a streamable HTTP/SSE MCP entry:

{
  "marsnme-cf": {
    "url": "http://127.0.0.1:18790/mcp"
  }
}

First Connection Validation (Round Trip)

After client connection, verify this sequence once:

  1. tools/list:
curl -sS http://127.0.0.1:18790/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
  1. insert_memory:
curl -sS http://127.0.0.1:18790/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"insert_memory","arguments":{"body":"quickstart memory check","source":"warp","session_id":"quickstart-smoke"}}}'
  1. recall:
curl -sS http://127.0.0.1:18790/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"recall","arguments":{"query":"quickstart memory check","limit":3}}}'

What this repository is

mars-memory-mcp is the core MCP gateway repository behind the public-facing MarsNMe release.
One codebase (marsnme-supabase/server.mjs) serves multiple profile schemas through MCP_PROFILE. This public repository currently keeps two built-in legacy profile IDs (coco, toto) for backward compatibility.

Current capabilities

  • MCP methods: initialize, notifications/initialized, tools/list, tools/call, ping
  • Profiles: configurable profile IDs (legacy built-ins: coco, toto)
  • Memory tools (16):
    • insert_memory (short-term memory)
    • list_memories
    • search_memories (Jina embedding search)
    • recall (~80-char preview) then get_summary (~300-char excerpt) then get_full (complete text)
    • memory_ingest / dream_ingest (long-term chunk ingestion)
    • session_boot / session_close (daily rhythm lifecycle; close auto-promotes expiring memories + supports body-to-body note handoff)
    • health_check (coverage, expiry, conflict diagnostics)
    • reload_source_registry (refresh source whitelist at runtime)
    • demote_memory / soft_forget / explain_memory (memory lifecycle management)
    • batch_promote (promote expiring short-term memories to long-term)
  • Sources: perplexity, cursor, warp, openclaw, hermes, draft, grok
  • OAuth-protected MCP endpoint (configurable by environment variables)

Memory model

  • Short-term memory table: <profile>.memories
  • Long-term memory table: <profile>.marsvault_chunks
  • Recommended usage:
    • Keep daily interaction context in insert_memory
    • Promote durable insights through ingest tools

Repository layout

  • marsnme-supabase/server.mjs — gateway entry point
  • marsnme-supabase/scripts/hermes_digest_runner.py — optional digest runner
  • marsnme-supabase/scripts/dream_runner.py — public self-host dream runner
  • marsnme-supabase/deploy/systemd/ — systemd templates
  • marsnme-supabase/deploy/phase2/ — build/deploy scripts
  • marsnme-supabase/deploy/phase3/smoke_gate.sh — smoke gate script
  • supabase/migrations/ — schema-as-code migrations

Environment setup

  1. Copy .env.example to your local .env (do not commit real secrets).
  2. Fill required values:
    • MCP_PROFILE (your profile identifier; this repo ships with legacy coco/toto)
    • SUPABASE_BASE_URL
    • SUPABASE_SERVICE_ROLE_KEY
    • JINA_API_KEY
  3. Optional security flags:
    • MCP_REQUIRE_BEARER=true
    • MCP_CLIENT_ID
    • MCP_CLIENT_SECRET

Optional Hermes digest runner

Hermes is optional and disabled by default:

  • HERMES_ENABLED=false
  • HERMES_DIGEST_MCP_URL
  • HERMES_DIGEST_MCP_BEARER_TOKEN
  • HERMES_DIGEST_ORIGIN
  • HERMES_DIGEST_SOURCE_DIR

Optional Dream Runner (self-host)

Dream Runner is public-friendly and can run without Hermes private environment:

  • DREAM_ENABLED=true
  • DREAM_MODE=lite|standard|pro
  • DREAM_DIGEST_MCP_URL
  • DREAM_MCP_BEARER_TOKEN (if required)
  • DREAM_ENABLE_ISSUE_SIGNALS, DREAM_ENABLE_REPO_SCAN, DREAM_ENABLE_SOUL_CONTEXT (optional overrides)

Quick start:

DREAM_ENABLED=true DREAM_MODE=lite python3 marsnme-supabase/scripts/dream_runner.py

If you run this repository with bundled defaults and no profile remapping, use coco and toto.

See docs/dream-runner-self-host.md for full configuration.

Onboarding

  • Zero-to-first-recall guide: docs/onboarding-a-mcp-zero-to-recall.md
  • Platform install guide (optional skill layer): docs/onboarding-b-platform-skill-install.md

Skill library

  • Skill index and update workflow: skills/README.md
  • Perplexity template: skills/perplexity/memory-daily-boot/SKILL.md
  • Cursor template: skills/cursor/memory-daily-boot/rule.mdc
  • Warp template: skills/warp/memory-daily-boot/prompt.md

Local run (from cloned repo)

MCP_PROFILE=profile-a npx @marsnme/mcp-gateway
MCP_PROFILE=profile-b npx @marsnme/mcp-gateway

Health endpoints:

  • GET /health
  • POST /mcp

Systemd deployment

Use marsnme-supabase/deploy/systemd/[email protected] with instances:

  • [email protected]
  • [email protected]

Recommended env files:

  • /opt/mars-memory-mcp/shared/.env
  • /opt/mars-memory-mcp/shared/.env.profile-a
  • /opt/mars-memory-mcp/shared/.env.profile-b

Release/deploy scripts

  1. Build artifact:
bash marsnme-supabase/deploy/phase2/build_release_artifact.sh
  1. Apply migrations with an explicit DDL-capable role:
npx supabase db push --db-url "<postgres://supabase_admin:<password>@<host>:5432/postgres>"
  1. Run pre-deploy schema gate (must pass before any service restart):
bash marsnme-supabase/deploy/phase2/pre_deploy_schema_gate.sh \
  --db-url "<postgres://supabase_admin:<password>@<host>:5432/postgres>" \
  --profiles coco,toto \
  --expected-role supabase_admin
  1. Run your platform-specific rollout/restart adapter.
    • This repository ships generic artifact + gate scripts; rollout adapters are environment-specific.
    • If schema gate exits non-zero, stop deployment and do not restart services.
  2. Smoke gate:
bash marsnme-supabase/deploy/phase3/smoke_gate.sh --spawn-local
  1. Automated npm + MCP Registry release (tag-driven):
    • Workflow: .github/workflows/publish-release.yml
    • Trigger: push tag v*
    • Gate: tag version must match marsnme-supabase/package.json version
    • Optional local Fish helper:
mrel patch
mrel minor
mrel major
mrel 0.1.2

The helper updates marsnme-supabase/package.json and server.json, commits, tags, and pushes.

Security and version control

  • Never commit .env, runtime tokens, or oauth-clients.json
  • Keep .env.example committed as the only environment template
  • Prefer bearer/OAuth for public exposure

License and policy

  • License: Apache-2.0 (LICENSE)
  • Notice: NOTICE
  • Trademark policy: TRADEMARK.md
  • Contribution guide: CONTRIBUTING.md
  • Contributor agreement: CLA.md
  • Release notes: CHANGELOG.md
How do I install MarsNMe?
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
Does MarsNMe need an API key?
The publisher lists these environment variables: MCP_PROFILE, SUPABASE_BASE_URL, SUPABASE_SERVICE_ROLE_KEY, JINA_API_KEY, PORT.
What transport does MarsNMe use?
MarsNMe runs locally over stdio.
When was MarsNMe last checked?
Last checked 2026-10-21. Agent-agnostic memory backend that preserves continuity between humans and AI over time.

No tool list yet. Remote servers get one after the first health check.

plugmcp

Plug any tool into any agent. MCP servers for people who do not write servers. Gateway for volume, n8n for apps.

  • github.com/TODO
  • x.com/TODO
  • linkedin.com/company/TODO

PlugMCP, 2026

Product
  • Browse
  • Install
  • Host your own
  • Pricing
  • Voice mode
  • Browser
Directory
  • All MCP servers
  • MCP Apps
  • Tools
  • Agent skills
  • Categories
  • New
  • Voice
  • Submit a server
Developers
  • Docs
  • Blog
  • Club
  • Work with us
  • What is MCP
  • What is WebMCP
  • Status
Company
  • About
  • Contact
  • Terms
  • Privacy
  • DPA