原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SAME - Stateless Agent Memory Engine

作者:sgx-labs版本 0.12.1i★ 24i在你的电脑上运行
注册名称io.github.sgx-labs/same

安装方法

What it does

Persistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.

  • Connects 在你的电脑上运行
  • Account or key Needs VAULT_PATH
  • Category 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

通过 2/2 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 SAME - Stateless Agent Memory Engine 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 SAME - Stateless Agent Memory Engine 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "same": {
          "command": "npx",
          "args": [
            "-y",
            "@sgx-labs/same",
            "mcp"
          ],
          "env": {
            "VAULT_PATH": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 SAME - Stateless Agent Memory Engine 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 SAME - Stateless Agent Memory Engine,或回答中出现 SAME - Stateless Agent Memory Engine 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 SAME - Stateless Agent Memory Engine

SAME - Stateless Agent Memory Engine 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 SAME - Stateless Agent Memory Engine 的应用

  • 需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 搜索与 AI 记忆 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 SAME - Stateless Agent Memory Engine 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 SAME - Stateless Agent Memory Engine 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user same --env VAULT_PATH=your-value -- npx -y @sgx-labs/same mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 SAME - Stateless Agent Memory Engine 在列表中并显示已连接

  6. 试一试

    用 SAME - Stateless Agent Memory Engine 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 SAME - Stateless Agent Memory Engine,或回答中出现 SAME - Stateless Agent Memory Engine 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 SAME - Stateless Agent Memory Engine 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 SAME - Stateless Agent Memory Engine 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 SAME - Stateless Agent Memory Engine 的设置中,VAULT_PATH 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 SAME - Stateless Agent Memory Engine 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 SAME - Stateless Agent Memory Engine,或回答中出现 SAME - Stateless Agent Memory Engine 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 SAME - Stateless Agent Memory Engine 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

  1. 安装 Node.js

    只需一次,所有需要 Node.js 的服务器都能用

    打开 Node.js 下载页 ↗

  2. 注册并创建 SAME - Stateless Agent Memory Engine 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 SAME - Stateless Agent Memory Engine 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 SAME - Stateless Agent Memory Engine 的设置中,VAULT_PATH 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 SAME - Stateless Agent Memory Engine 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 SAME - Stateless Agent Memory Engine,或回答中出现 SAME - Stateless Agent Memory Engine 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 SAME - Stateless Agent Memory Engine 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user same --env VAULT_PATH=your-value -- npx -y @sgx-labs/same mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "same": {
      "command": "npx",
      "args": [
        "-y",
        "@sgx-labs/same",
        "mcp"
      ],
      "env": {
        "VAULT_PATH": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "same": {
      "command": "npx",
      "args": [
        "-y",
        "@sgx-labs/same",
        "mcp"
      ],
      "env": {
        "VAULT_PATH": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "same": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sgx-labs/same",
        "mcp"
      ],
      "env": {
        "VAULT_PATH": "your-value"
      }
    }
  }
}

需要你填写的值

  • VAULT_PATH 必填 env
    Path to your markdown notes directory

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
83/周
许可证i
未注明许可证
连接方式
在你的电脑上运行
最新版本i
0.12.1
发布到注册中心i
2026年3月20日
代码最后更新i
2026年10月16日
作者
sgx-labs
软件包
npm: @sgx-labs/same
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 sgx-labs 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于27天前

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5998 个服务器的 95%
  • 发布到注册中心的时间比此分类中其他 5998 个服务器的 6% 更新
  • 基础检查结果等于或优于此分类中其他 5998 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

SAME - Stateless Agent Memory Engine 安全吗?

它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:VAULT_PATH

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于27天前,最新版本(0.12.1)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Ruflo

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

Up-to-date docs for AI agents

作者:upstash广泛使用↓ 125万/周★ 6.5万今天更新

电脑或云端

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

作者:DeusData广泛使用↓ 1.7万/周★ 4.9万26天前更新

在你的电脑上运行

Ruflo

Agent teams, swarms, memory and hooks for Claude Code and Codex, served over MCP.

作者:ruvnet广泛使用↓ 7.4万/周★ 8.1万 整个仓库的星标昨天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

SAME — Persistent Memory for AI Coding Agents

Your AI forgets everything between sessions. SAME fixes that.

SAME gives every AI coding tool persistent memory. Claude Code, Cursor, Windsurf, Codex CLI, Gemini CLI — one memory layer that works everywhere. It indexes your markdown notes, surfaces relevant context automatically, and records decisions and handoffs so your AI picks up where it left off.

One binary. Fully local. No cloud. No telemetry. Mac, Linux, Windows, Raspberry Pi.

Install

# macOS / Linux

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

Windows (PowerShell)

irm https://statelessagent.com/install.ps1 | iex

Or via npm (all platforms): npm install -g @sgx-labs/same

Installed via npm? Update with npx same@latest or npm update -g @sgx-labs/same.

See It Work

same demo
Indexing 5 sample notes...

Searching: "authentication decision"

  1. decisions/auth-strategy.md (score: 0.94) "We chose JWT with refresh tokens for..."
  1. notes/api-security.md (score: 0.87) "Auth middleware validates tokens at..."

Asking: "what did we decide about authentication?"

Based on your notes, you decided to use JWT with refresh tokens (decisions/auth-strategy.md). The API middleware validates tokens at the gateway level (notes/api-security.md).

No accounts. No API keys. Everything runs locally.

Quickstart

# 1. Point SAME at your project

cd ~/my-project && same init

2. Test search

same search "authentication decision"

3. Done. Your AI now has memory.

Start Claude Code, Cursor, or any MCP client.

same init sets up hooks and MCP tools automatically. Your AI gets relevant context on every session start.

Key Features

  • Your AI remembers everything -- Decisions, handoffs, and context survive across sessions. Close your terminal, switch projects, come back tomorrow. Nothing gets lost.
  • Memory integrity -- Tracks provenance (where notes came from), detects when source files change, and flags stale knowledge. Stale notes rank lower in search automatically. same health shows trust state across your vault.
  • Dual-layer memory -- Extracts atomic facts from your notes via LLM. Facts are independently searchable and boost source notes in search results. The right answer surfaces even when the fact is buried in an unrelated conversation.
  • Streamable HTTP transport -- same web --mcp enables an HTTP MCP endpoint with Bearer token auth. Connect from Open WebUI, LobeChat, or any HTTP MCP client — no stdio required.
  • Works with your tools -- 19 MCP tools for Claude Code, Cursor, Windsurf, or any MCP client. Search, save decisions, create handoffs without leaving your editor.
  • Safe for teams -- Multiple AI agents on the same codebase won't step on each other. File claims, push protection, and attribution built in.
  • Instant expertise -- 17 pre-built knowledge vaults with 870+ curated notes. One command to install. Your AI gets domain knowledge in seconds.
  • Connected knowledge -- See how decisions, files, and notes relate to each other. Ask "what depends on this?" and get real answers. Powered by SQLite.

Security & Teams

SAME includes built-in PII scanning and push protection:

  • PII scanning -- Pre-commit hooks detect emails, API keys, secrets, and personal data before they reach git. Configurable blocklists with false-positive review workflow.
  • Push protection -- Multi-agent file claims prevent AI agents from overwriting each other's work. Advisory locks with attribution.
  • Audit logging -- Every guard scan, every allow decision, every override is logged.
  • Privacy tiers -- _PRIVATE/ is never indexed. research/ is indexed but never committed. Your notes, your rules.
same guard settings set push-protect on    # enable push protection

same guard scan # run PII scan manually

How It Works

Your Notes (.md)  -->  Embeddings  -->  SQLite  -->  Your AI Tool

(local or (search (Claude Code, cloud) + rank) Cursor, etc.)

Your markdown notes get embedded and stored in SQLite. When your AI starts a session, SAME surfaces relevant context via hooks or MCP. Decisions get extracted. Handoffs get generated. The next session picks up where the last one stopped.

No Ollama? No problem. SAME runs with zero external dependencies using keyword search (SQLite FTS5). Add Ollama later for semantic search -- same reindex upgrades instantly.

Why SAME

Without SAMEWith SAME
Re-explain everything each sessionAI picks up where you left off
"Didn't we decide to use JWT?"Decision surfaces automatically
"Is this note still accurate?"Trust state flags stale knowledge
Close terminal = context lostHandoff recovers the session
Copy-paste notes into chatsame ask with source citations
Context compacted mid-taskPinned notes survive compaction

The Numbers

MetricValue
Recall@5100% keyword, 84% semantic on internal eval (68 cases). Held-out: 90% Recall@5 on 30 blind cases (see eval/METHODOLOGY.md)
MRR0.65 keyword, 0.62 semantic
Prompt overhead<200ms
Binary size~14MB
Setup timeUnder 2 minutes

Add to Your AI Tool

Claude Code (recommended)
same init    # installs 6 hooks + MCP automatically
Cursor / Windsurf / Any MCP Client

Add to your MCP config (.mcp.json, Cursor settings, etc.):

{

"mcpServers": { "same": { "command": "npx", "args": ["-y", "@sgx-labs/same", "mcp", "--vault", "/path/to/your/notes"] } } }

19 MCP tools available instantly. Works without Ollama (keyword fallback).

Switch between Claude Code and Cursor without losing context. Your memory travels with you.

Tool Compatibility

Claude Code gets full automatic handoffs via hooks. Cursor, Windsurf, Codex CLI, Gemini CLI get full MCP tool access (search, save, decisions, graph) but handoffs need to be triggered manually. We're working on automatic handoff support for more editors.

MCP Server

ToolWhat it does
search_notesSemantic search across your knowledge base
search_notes_filteredSearch with domain/tag/agent filters
search_across_vaultsFederated search across multiple vaults
get_noteRead full note content by path
find_similar_notesDiscover related notes
get_session_contextPinned notes + latest handoff + git state
recent_activityRecently modified notes
save_noteCreate or update a note
save_decisionLog a structured project decision
create_handoffWrite a session handoff
reindexRe-scan and re-index the vault
index_statsIndex health and statistics
mem_consolidateConsolidate related notes via LLM
mem_briefGenerate orientation briefing
mem_healthVault health with trust analysis
mem_forgetSuppress a note from search results
mem_restoreUndo mem_forget (unsuppress a note)
mem_list_suppressedList suppressed notes
save_kaizenLog improvement items with provenance

SeedVaults

Pre-built knowledge vaults. One command to install.

same seed list                              # browse available seeds

same seed install claude-code-power-user # install one

SeedNotesWhat you get
same-getting-started18Learn SAME itself — the universal on-ramp
claude-code-power-user50Claude Code workflows and operational patterns
ai-agent-architecture56Agent design, orchestration, memory strategies
api-design-patterns56REST, GraphQL, auth, rate limiting, and more
typescript-fullstack-patterns55Full-stack TypeScript patterns and best practices
engineering-management-playbook59Engineering leadership and team management
personal-productivity-os117GTD, time blocking, habit systems
security-audit-framework61Security review checklists and frameworks

Plus 9 more. Browse all 17 seeds on GitHub.

Privacy

All data stays on your machine. SAME creates a three-tier privacy structure:

DirectoryIndexedCommittedUse for
Your notesYesYour choiceDocs, decisions, research
_PRIVATE/NoNoAPI keys, credentials
research/YesNoStrategy, analysis

No telemetry. No cloud. Path traversal blocked. Config files written with owner-only permissions.

More

Full CLI Reference

CommandDescription
same initSet up SAME for your project
same demoSee SAME in action with sample notes
same tutorial7 hands-on lessons
same ask Ask a question, get cited answers
same search Search your notes
same search --all Search across all vaults
same statusSee what SAME is tracking
same doctorRun diagnostic checks
same claim --agent Advisory file ownership for multi-agent
same pin Always include a note in sessions
same graph statsKnowledge graph diagnostics
same webLocal web dashboard
same seed listBrowse available seed vaults
same seed install Install a seed vault
`same vault list\add\remove\default`Manage multiple vaults
same guard settings set push-protect onEnable push protection
same consolidateMerge related notes into knowledge summaries
same briefAI-generated orientation briefing
same healthVault health score with trust/provenance analysis
same staleList all stale notes in your vault
same search --trust staleFilter search by trust state
same search --type decisionFilter search by content type
same ignoreView/manage .sameignore patterns
same factsView, search, and manage extracted facts
same config set Set config values from CLI
same brief --no-llmStructured briefing without LLM
same tipsBest practices for vault hygiene and security
same reindex [--force]Rebuild search index
same repairBack up and rebuild database
same updateUpdate to latest version
`same completion [bash\zsh\fish]`Shell completions

Configuration

SAME uses .same/config.toml, generated by same init:

[vault]

path = "/home/user/notes" handoff_dir = "sessions" decision_log = "decisions.md"

[embedding] provider = "ollama" # "ollama", "openai", "openai-compatible", or "none" model = "nomic-embed-text"

[memory] max_token_budget = 800 max_results = 2

Supported embedding models: nomic-embed-text (default), snowflake-arctic-embed2, mxbai-embed-large, all-minilm, text-embedding-3-small (OpenAI), and more.

Configuration priority (hi

只显示了开头部分;其余内容请在仓库中阅读