
MarsNMe
io.github.Marsmanleo由 GitHub 帳號 Marsmanleo 發布v0.3.2更新於 Oct 24, 2026
Agent-agnostic memory backend that preserves continuity between humans and AI over time.
概覽
一個本機 MCP 閘道,為 AI 助理提供持久記憶後端,透過 Supabase 資料庫跨工作階段保存與檢索上下文。
- 可以做什麼
- 依設定檔(profile)儲存與檢索記憶項目,讓對話之間保持連續性(清單中未列出具體工具)。在本機以 streamable HTTP 提供記憶工具,端點為 POST /mcp,並提供 GET /health 健康檢查。使用 Jina 嵌入實現語意記憶搜尋。依設定檔 ID 隔離記憶資料,並可選擇啟用 Bearer 權杖或 OAuth 保護 MCP 呼叫。
- 適用情境
- 當你希望助理跨工作階段記住人物、偏好或先前的上下文,並願意執行一個由自己 Supabase 專案支撐的本機閘道時使用。適合單一使用者或少數具名設定檔共用一個記憶庫的桌面環境。
- 執行需求
- 需要 Node.js 20 或更新版本,透過 npx 執行。需要一個已套用所需資料庫移轉的 Supabase 專案,以及 SUPABASE_BASE_URL 和 SUPABASE_SERVICE_ROLE_KEY。語意搜尋需要 JINA_API_KEY 中的 Jina API 金鑰。MCP_PROFILE 為必填,PORT 為選填。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 MarsNMe,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@marsnme/mcp-gateway
MarsNMe MCP Gateway for memory tools over streamable HTTP transport.
This package runs an MCP server at POST /mcp and exposes health status at GET /health.
Requirements
- Node.js
>=20 - Supabase project with required schema migrations applied
- Jina API key for embedding-based memory search
Quick start (npx)
After startup:
- Health:
http://127.0.0.1:18790/health - MCP endpoint:
http://127.0.0.1:18790/mcp
Required environment variables
MCP_PROFILE- Any lowercase profile ID matching
^[a-z][a-z0-9_-]*$(for example:coco,toto,my-agent) - Legacy built-in IDs:
cocoandtoto
- Any lowercase profile ID matching
SUPABASE_BASE_URL- Your Supabase REST project URL
SUPABASE_SERVICE_ROLE_KEY(recommended) orSUPABASE_SERVICE_KEY- Service role key used for database operations
JINA_API_KEY- Required for semantic search / embedding features
Common optional environment variables
PORT- Overrides the HTTP port used by the gateway
- If omitted, the gateway resolves a profile-based default:
coco→18790toto→18791- other profile IDs → deterministic port in
20000-29999
MCP_REQUIRE_BEARER- Set
trueto requireAuthorization: Bearer <token>on MCP calls
- Set
MCP_OAUTH_ENABLED- OAuth endpoints are enabled by default (set
falseto disable)
- OAuth endpoints are enabled by default (set
MCP_CLIENT_IDandMCP_CLIENT_SECRET- Optional static OAuth client credentials
Minimal validation
Check service health:
List tools:
Deployment safety gate (before restart)
For upgrades, run database migrations with an explicit DDL-capable role and gate schema compatibility before restarting services.
Recommended role guidance:
- Use a role that can execute DDL on target schemas.
- On Supabase-hosted Postgres this is typically
supabase_admin(notpostgres).
Schema gate command:
- If gate exits non-zero, stop deployment and do not restart services.
Database setup and full onboarding
For migrations and full setup details:
- Repository README: https://github.com/Marsmanleo/MarsNMe/blob/main/README.md
- Zero-to-first-recall onboarding: https://github.com/Marsmanleo/MarsNMe/blob/main/docs/onboarding-a-mcp-zero-to-recall.md
來源:marsnme-supabase/README.md,提交 cf67212
工具
0版本歷史
2- v0.3.2最新Oct 18, 2026
- v0.3.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分