ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Stashpad

โดย laaielichterรุ่น 0.3.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.laaielichter/stashpad

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Local memory for any AI agent: Markdown files with sources, a review queue and search.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: STASHPAD_PASSPHRASE

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "stashpad": {
      "command": "npx",
      "args": [
        "-y",
        "stashpad",
        "mcp"
      ],
      "env": {
        "STASHPAD_DIR": "ใส่ค่าของคุณ",
        "STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add stashpad --env STASHPAD_DIR='ใส่ค่าของคุณ' --env STASHPAD_PASSPHRASE='ใส่ค่าของคุณ' -- npx -y stashpad mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "stashpad": {
      "command": "npx",
      "args": [
        "-y",
        "stashpad",
        "mcp"
      ],
      "env": {
        "STASHPAD_DIR": "ใส่ค่าของคุณ",
        "STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "stashpad": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "stashpad",
        "mcp"
      ],
      "env": {
        "STASHPAD_DIR": "ใส่ค่าของคุณ",
        "STASHPAD_PASSPHRASE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • STASHPAD_DIR env
    Folder where the memories live (default: ./.stashpad/memories in the working folder)
  • STASHPAD_PASSPHRASE ความลับ env
    Only for a store encrypted with 'stashpad encrypt'

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub laaielichter ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7286 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 92% ของอีก 7286 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7286 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Stashpad ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: STASHPAD_PASSPHRASE

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 3 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

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

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Stashpad Good work. Worth remembering. Project website · Get started · Connect your agent · Contribute

Local memory for any AI coding agent: an MCP server and CLI that keep plain Markdown notes with sources, a review queue and search.

Works with Claude Code, Codex, Cursor, VS Code, Gemini CLI and any other MCP client, or with no MCP at all (plain commands and an AGENTS.md block). No model, no cloud, no dependencies: Node 20 or newer.

Quickstart

npm install -g stashpad

stashpad setup # prints the MCP settings for your agent app (generic, claude-code, vscode, codex) stashpad doctor --client # starts the server the way your agent app does and checks it answers

Expected: client start: the server answered with 8 tools in ... ms and Nothing is broken.

Claude Code users can install the plugin instead, which also adds the hooks below: /plugin marketplace add laaielichter/stashpad, then /plugin install stashpad@stashpad (or stashpad@reverseport from the ReversePort marketplace).

Why Stashpad?

  • Your agent stops forgetting after compaction. Pinned rules and the latest handoff come back at the start of every session and right after /compact.
  • Rules you set stay in front of the agent. stashpad pin keeps the few rules that matter in every brief; each prompt gets only the memories that clearly match it, once per session.
  • Memory that knows when the code moved on. Anchor a memory to its files and recall says "changed since saved", follows a renamed file and skips a memory whose files are gone. Decisions keep why they were made and what lost (stashpad decide).
  • Nothing ends up in memory behind your back. Agent, tool and web notes wait for a person; near-copies, secrets and hidden text are refused.
  • You can read, fix and keep it. Memories are Markdown files with a source and dates, in your project, in git if you want. Old facts are ended, never overwritten.
  • You see what the agent got. stashpad shown lists which memories were put in front of the agent and how many characters, and a status line keeps the review queue in view.
  • It keeps working. One store per project (worktrees share it), a lock for parallel writers, snapshots before changes, doctor that says what to fix.

How it compares

Stashpadmem0 (open source)MCP reference memory serverCLAUDE.md / AGENTS.md by hand
NeedsNode 20an LLM and an embedding/vector storeNodenothing
Networknone: no network calls, no telemetrycalls an LLM and embedding provider (a hosted API by default; local models can be configured)nonenone
Accountnono for the open-source library (the hosted platform needs one)nono
StorageMarkdown files, one per memoryvector store (+ history DB)one JSON Lines graph fileone Markdown file
What gets savedwhat a person writes, or an agent proposes and a person acceptsfacts an LLM extracts from conversationswhat the agent writeswhat you write
Agent writeswait for a person to accept themstored directlystored directlythe agent can edit the file if it may write files
Searchwords (BM25) + synonyms; misses some rewordingssemantic (embeddings)substring matchthe agent reads all of it
Old factsended with dates and a supersede chainupdated or deletededited in placeedited by hand
Compactionbrief and pins come back right after it; an automatic handoff is left before it; per-prompt recall starts overdepends on the clientdepends on the clientyes (always loaded)
Safetyreview queue, secret and hidden-text checks, fenced and defused output, optional encryptiondepends on setupnone built innone
LicenseMITApache-2.0MIT / Apache-2.0–

What Stashpad does not do: semantic search (word search finds about 2 of 3 reworded questions in our eval), automatic extraction of memories from chats (by design), sync between computers (use git), or a shared server for a team.

Start and end of a session

stashpad brief                  # short summary: pinned rules, newest memories, open handoff

stashpad recall "add a postgres migration" # the few memories that clearly match a request stashpad decide "We use Postgres" --why "several workers write at once" --rejected SQLite # a decision with its reason stashpad handoff leave --text "Half done: auth. Next: tests." # a note the next session reads once stashpad sync-agents AGENTS.md # put the brief in a file agents already read (no MCP needed)

With the Claude Code plugin these run as hooks: at session start and after compaction, on each prompt (each memory once per session), and before compaction and at session end (an automatic handoff with the branch and uncommitted files; a session that crashed is noticed at the next start). Pause them per project with stashpad hooks off; add stashpad setup claude-code --status-line for a status bar line. See docs/HOOKS.md. Agents: read AGENT-GUIDE.md.

Develop

Requires Node 20 or newer. No other dependencies.

npm test                 # run the tests

npm run build # build dist/ node bin/stashpad.mjs --help

Memories live in .stashpad/memories of the project: the nearest folder above that has one, else the git root, so subfolders and git worktrees share one store. stashpad where shows which store a folder uses and why. Set STASHPAD_DIR or pass --dir to choose yourself. What is true in every project (your language, your commit style) goes in the global store: add --global (or -g).

Use it

stashpad save db-choice --kind decision --source-type user --source-ref "statement in chat" --text "We keep data in SQLite."

stashpad search "sqlite" --json stashpad save db-choice-v2 --kind decision --source-type user --source-ref "later statement" --text "We keep data in Postgres." --supersedes db-choice stashpad history db-choice-v2 stashpad search database --kind decision --as-of 2026-03-01 --explain # what was decided on that day, and why it matched stashpad entities # names, tools and files the memories talk about stashpad about Postgres # every memory about it, and what is mentioned with it stashpad confirm db-choice-v2 # still true; doctor flags agent memories nobody confirmed for 180 days stashpad anchor tax-rules src/billing/tax.ts # recall and lint say when that file changes; confirm re-anchors stashpad anchors --changed # anchored memories whose files changed, moved or are gone stashpad shown # what was put in front of the agent: memory ids and sizes, never text stashpad handoff leave --text "Half done: auth. Next: tests." # a note the next session reads once stashpad handoff claim # take it (a person's notes first); listing never takes one stashpad feedback db-choice --signal stale # helpful, stale or wrong; wrong also asks for it to end stashpad feedback --last --signal wrong # about the memory the prompt hook gave last stashpad lint # what deserves a look; changes nothing

The command line, the MCP server and the review page can run at the same time: every write takes a short lock on the store.

Writes from agents, tools and the web wait in review:

stashpad review

stashpad accept stashpad reject --reason "not verified" stashpad audit

Use it from an MCP client

stashpad setup prints the right block for your client, with the full path to Node (a bare node is the most common reason a server does not connect). It looks like this:

{

"mcpServers": { "stashpad": { "command": "/full/path/to/node", "args": ["/full/path/to/stashpad/bin/stashpad.mjs", "mcp"] } } }

Eight tools: stashpad_search, stashpad_get, stashpad_recent, stashpad_about, stashpad_save, stashpad_forget, stashpad_handoff, stashpad_feedback. stashpad_save takes optional files (read when a person accepts) and, for decisions, why and rejected.

Check it, import into it

stashpad eval                          # 40 notes, 33 queries (English and Dutch), safety checks; no language model is called. Paraphrased questions are measured too (about 2 of 3 found): word search misses some rewordings, and that is reported openly.

stashpad import notes.jsonl # queue memories from an export; they wait for review stashpad export --out memories.jsonl # back up current memories as JSON Lines (--all adds ended ones) stashpad save --kind fact --source-type user --source-file notes.txt --text "..." # keeps a copy of the raw source

stashpad review also shows when a waiting memory may conflict with a current one, and whether accepting it would end that one.

Review in a page

stashpad ui            # opens http://127.0.0.1:4317/ to review, search and read the audit log

stashpad ui --open # the same, and opens the page in your browser

Only this computer can reach the page. It is a small local page with no outside resources. See the decision.

Imports come in as JSON Lines (id, kind, text, optional valid_from, source_ref) or as plain text, one fact per paragraph.

Principles

  • Plain files first. The files are the source of truth.
  • Nothing from an agent, tool or web page is stored until a person accepts it.
  • Secrets are refused at write time: provider keys and tokens (OpenAI, Anthropic, GitHub, GitLab, AWS, Google, Stripe, Slack, npm, Hugging Face, SendGrid and more), JWTs, Bearer tokens, passwords in connection strings, on command lines and in sentences, and the values of this computer's own secret-named environment variables and .env files (compared in memory, never stored). The automatic handoff masks a secret as [REDACTED] instead of dropping the request.
  • Invisible characters are refused, and look-alike or split-up words cannot hide an instruction or a secret.
  • Instruction-like text (English and Dutch) is flagged for the reviewer.
  • A gatekeeper refuses agent notes that are too short or near-copies of an existing or waiting memory, and logs the refusal in the audit log. Notes a person writes are never blocked.
  • Limits: 4000 characters per memory, 200 writes waiting for review.
  • Recalled text is labelled as data, not instructions, and comes inside one block; tags that could pass for the agent app's own text ( , , …) are defused.
  • Paths a memory is anchored to sta

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx