MarsNMe logo

MarsNMe

Shared short- and long-term memory for MCP clients, with semantic search, session continuity, and Supabase-backed storage.

Install MarsNMe

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "marsnme": {
      "command": "npx",
      "args": [
        "-y",
        "@marsnme/mcp-gateway"
      ],
      "env": {
        "SUPABASE_BASE_URL": "YOUR_VALUE_HERE",
        "SUPABASE_SERVICE_ROLE_KEY": "YOUR_VALUE_HERE",
        "JINA_API_KEY": "YOUR_VALUE_HERE",
        "MCP_PROFILE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @marsnme/mcp-gateway

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MarsNMe MCP server provides agent- and LLM-agnostic memory for MCP-compatible clients, storing short-term memories and semantically searchable long-term chunks. It uses Supabase for persistence and Jina embeddings for semantic search, with tools for session startup, session closure, recall, ingestion, promotion, and memory lifecycle management. Reach for it when several assistants need shared project context across sessions or when you need to retain memories in your own infrastructure. Setup is available through a hosted MCP URL or through self-hosted deployment options described in the repository.

Use cases

  • Share project decisions across Claude, Cursor, and other MCP clients
  • Search long-term memories with semantic queries
  • Load relevant context when starting an agent session
  • Promote expiring short-term memories into long-term storage
  • Keep memory data in a self-managed Supabase project

Key features

  • Short-term memory with expiry handling
  • Long-term semantic recall with Jina embeddings
  • Three-level retrieval from preview to full text
  • Session boot and close workflows
  • Memory provenance and lifecycle controls
  • Supabase and Cloudflare deployment options

Tools16

What MarsNMe lets your agent do. Expand a tool for its parameters.

Self-reported~193 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/29 checks healthy over the last 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @marsnme/mcp-gateway (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads454Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed16Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MarsNMe works

What MarsNMe MCP server does

MarsNMe MCP server gives MCP-compatible AI tools a shared memory backend rather than keeping context isolated to one conversation or client. It supports two memory tiers: short-term memories with expiration behavior and long-term insight chunks that can be searched and retrieved at different levels of detail.

The server is intended for workflows where several assistants need access to the same decisions, preferences, project details, or prior discussions. Profiles can be isolated with MCP_PROFILE, allowing separate memory spaces. The repository describes the system as agent-agnostic and LLM-agnostic, so the backend is not limited to one assistant vendor.

MarsNMe is focused on memory and continuity. Product-requirement and task-execution tools were removed from the Supabase gateway in version 0.3.0; those workflows are handled by the separate Draft project.

How it works

Short-term content can be written with insert_memory and reviewed with list_memories. Long-term material can be added through memory_ingest or dream_ingest. search_memories performs semantic search using Jina embeddings, while the recall flow limits the amount of returned text: recall provides an approximately 80-character preview, get_summary returns an approximately 300-character excerpt, and get_full returns the complete chunk when more detail is needed.

A client can call session_boot to begin with preloaded context and session_close to summarize a session. Closing a session can automatically promote up to five short-term memories that are close to expiry, using a 48-hour window. A session can also leave a note for another body or agent to receive during its next boot.

Lifecycle tools cover promotion, demotion, soft deletion, provenance inspection, and diagnostics. health_check reports coverage, expiry, and conflict information; explain_memory describes a memory's provenance; and reload_source_registry refreshes the runtime source whitelist.

Setup and configuration

The simplest route is the hosted setup wizard at mcp.marsnme.com/setup. It asks for a username, Supabase credentials, and preferences, then produces a personal MCP URL that can be added to an MCP client.

For the Supabase gateway, create a Supabase project and provide its URL, service-role key, and a Jina API key. The relevant environment variables are:

  • SUPABASE_BASE_URL
  • SUPABASE_SERVICE_ROLE_KEY
  • JINA_API_KEY
  • MCP_PROFILE

The service-role key must remain private and should not be committed to source control. A free Supabase plan and Jina's free tier are described as sufficient for the initial setup.

The repository also includes a Cloudflare-based option in marsnme-cf/, using Cloudflare Workers, D1, and Vectorize without Supabase. This is a self-hosted template and is distinct from the Supabase deployment path. The repository also documents a Cloudflare routing worker for the public MCP URL.

Tools and capabilities

MarsNMe MCP server exposes tools for:

  • Writing and browsing short-term memories.
  • Searching long-term memory with semantic embeddings.
  • Reading long-term content as a preview, summary, or full chunk.
  • Ingesting ordinary and dream-mode long-term insights.
  • Booting and closing sessions with context loading and summarization.
  • Promoting expiring memories or demoting them to lower priority.
  • Soft-forgetting memories without describing hard deletion.
  • Checking coverage, expiry, and conflicts.
  • Inspecting provenance and refreshing the source whitelist.

The three-stage recall design is useful when returning complete stored text on every search would create unnecessary context. Clients can begin with a preview and request more content only for relevant matches.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MarsNMe

MarsNMe is an MCP server that connects MCP-compatible AI clients to Supabase-backed memory and Jina semantic embeddings. Its main tools store and search memories, recall long-term chunks, load session context, close sessions, ingest insights, promote expiring memories, and inspect or manage memory provenance and lifecycle.

Use the setup wizard at mcp.marsnme.com/setup to create an MCP URL, then add that URL to your client. The wizard asks for a username, Supabase URL, Supabase key, and preferences. The repository also documents self-hosting the Cloudflare package without Supabase.

The Supabase setup uses SUPABASE_BASE_URL, SUPABASE_SERVICE_ROLE_KEY, and JINA_API_KEY; MCP_PROFILE can isolate a profile. Keep the service-role key private. The Cloudflare deployment uses a different architecture and does not require Supabase according to the repository.

Yes, MarsNMe can be added to Cursor through its MCP URL. The README names Cursor among the clients used with the service and describes the backend as compatible with MCP clients generally.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMarsNMe AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/marsnme?style=directory)](https://allmcps.com/mcp/marsnme)
HTML Embed
<a href="https://allmcps.com/mcp/marsnme"><img src="https://allmcps.com/api/badge/marsnme?style=directory" alt="MarsNMe on AllMCPs" /></a>