Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local memory for AI models: store, retrieve and verify records on your own hardware.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"surstor-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/surstor/surstor-memory:0.2.0-alpha.3-mcp.1"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add surstor-memory -- docker run -i --rm ghcr.io/surstor/surstor-memory:0.2.0-alpha.3-mcp.1วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"surstor-memory": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/surstor/surstor-memory:0.2.0-alpha.3-mcp.1"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"surstor-memory": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/surstor/surstor-memory:0.2.0-alpha.3-mcp.1"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub SurStor ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0-alpha.3-mcp.1) เข้า registry 6 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Website: [www.surstor.net](https://www.surstor.net)
v0.2.0-alpha.3-mcp.1 · Developer Preview
Current install version: 0.2.0-alpha.3-mcp.1, matching the Official MCP Registry listing. This is the MCP packaging revision of the alpha.3 application; the bundled JARs still report 0.2.0-alpha.3. It adds registry ownership metadata without changing application behavior. See release notes.
Early software for testing and feedback. Features and interfaces may change; review the limitations below before storing important information.
Licensed under the Apache License 2.0. Third-party dependencies and bundled assets remain subject to their respective licenses.
Keep project decisions, useful answers and work history on your own hardware, then let your local AI retrieve them across conversations. SurStor Node (v0.2.0-alpha.3) provides persistent, inspectable external memory through MCP. Your model stays in your chosen inference application; SurStor stores and retrieves its memories.
[Start here: install alongside a local model and connect MCP](docs/local-models.md) — includes an LM Studio setup, a save-and-recall example, and Ollama integration requirements. For container packaging, see Run with Docker. Keep using your tools as always.
Local model <-> MCP-capable chat or agent application
| SurStor MCP (localhost:8484) | Local records + optional search index
SurStor is a single-user node built on Covia venues, Convex lattice and CAD3 content addressing, without running Convex consensus. It binds to 127.0.0.1:8484. It does not train your model, automatically capture every conversation, or automatically resolve conflicting memories. The host must call its tools. Retrieving a few relevant records can avoid repeating entire histories; token savings and answer quality need measurement for your workload.
For a fresh encrypted venue, use the encrypted-storage guide and config/surstor-encrypted.toml. This opt-in profile encrypts Etch records and its index, requires an external key, and disables the separate plaintext semantic search index. Existing configurations do not automatically become encrypted.
This checkout includes opt-in bidirectional sync of selected signed memories between trusted nodes, including relaying through a server. Each node retains its own identity and encryption key. See setup, security and limits. Available in alpha.3, with an optional Docker sync overlay. Whole-venue replication and deletion propagation are not enabled.
Memory has an evidence trail: you can retrieve the original saved content and check its integrity. A valid signature does not establish that a saved claim is true. Save concise, useful context rather than treating all generated text as fact.
Every AI work artifact (draft, tool result, patch, model output) is stored as a two-cell CAD3 record:
branch-ref (Cell 1 hash, the Merkle binding), session ID, agent ID, model version, timestamp, token usage, versioned billing breakdown + estimated cost + cited price schedule, prev-event (session hash chain), and the node's Ed25519 signature over the unsigned cell hashSessions form append-only hash chains (prev-event links), so a rewritten or dropped event is detectable. Costs are computed at capture time against a versioned price schedule and frozen into the record — historical artifacts are never repriced. Verification replays the original calculation and schedule.
Cost warning: SurStor estimates API costs from a dated snapshot of public provider prices and caller-supplied usage. These are not provider invoices. Unreported charges, taxes, credits, subscriptions and negotiated discounts are excluded. Unpriced records are excluded from totals and counted separately; legacy sessions may have unknown coverage. Verification proves integrity and arithmetic, not billing accuracy. The session budget is not a provider spending cap.
The September 10, 2026 snapshot covers 31 major OpenAI, Anthropic, Kimi, Gemini, DeepSeek and Grok model entries. New billing supports cache writes, cache storage, tool charges, service tiers, context thresholds and time-dependent rates. See [Billing and pricing documentation](docs/billing.md) for official sources, rates, caller examples, exclusions, migration and verification behavior.
A public Linux amd64 image is available at ghcr.io/surstor/surstor-memory:0.2.0-alpha.3-mcp.1. From this checkout:
docker compose -f compose.registry.yaml pull
docker compose -f compose.registry.yaml up -d
Connect MCP at http://127.0.0.1:8484/mcp. This default profile uses unencrypted storage with local semantic search. For encrypted storage and backup guidance, see the Docker guide. The container needs no Java or Maven installation on the host. Docker Desktop and ARM64 remain untested.
Requires Java 21+ and Maven 3.7+. Covia `0.9.6-SNAPSHOT` is the default installation dependency, configured by covia.version in the root pom.xml. No Maven version override is needed.
Before building SurStor on a fresh machine, build and install a compatible Covia source checkout that produces ai.covia:covia-core:0.9.6-SNAPSHOT and ai.covia:venue:0.9.6-SNAPSHOT into the local Maven repository:
# Run inside the compatible Covia source checkout first.
mvn clean install -DskipTests
Then run the commands below from the SurStor repository root. The snapshot version is the default, but does not identify an immutable upstream revision; record the Covia commit used and run SurStor's tests against that build. See integration notes for dependency compatibility.
Prompt-and-response capture now has a local review screen at /capture, built-in secret detection, organisation exclusions and fail-closed filtering. Only the filtered version is recorded. Automated detection can miss sensitive data; review every field before saving. See [Prompt capture and privacy](docs/prompt-capture.md) for configuration, API usage, compatibility changes and protection limits.
mvn package
java -jar surstor-node/target/surstor-node.jar start --config config/surstor.toml
The example above uses the unencrypted profile. For encrypted installation, follow the encrypted-storage guide. The node persists to ~/.surstor-node/ with the example profile (etch store + Ed25519 identity keypair, auto-generated on first run).
Other commands:
java -jar surstor-node.jar status # config, identity, budget
java -jar surstor-node.jar verify # offline verification of an export bundle
All twelve operations are exposed as MCP tools at http://127.0.0.1:8484/mcp (tools/list), plus the venue's built-in tool set:
| Tool | Purpose |
|---|---|
surstor_store | Store an artifact (content, sessionId, agentId, modelVersion, usage) |
surstor_retrieve | Fetch content + full provenance metadata |
surstor_verify | Check branch-ref, session chain (deep), schedule, signature |
surstor_list | List artifacts, optionally by session |
surstor_diff | Unified diff between two text artifacts |
surstor_cost | Cost rollup for one session or all local sessions |
surstor_sessions | List sessions with chain head, counts, totals |
surstor_export | Export a session as a portable, offline-verifiable JSON bundle |
surstor_prices_get | Show the active price schedule |
surstor_prices_put | Install a new price schedule (future costs only) |
surstor_search | Local semantic search: ranked artifact IDs + snippets for a natural-language query |
surstor_reindex | Rebuild the search index from the etch store (wipe + replay) |
The node binds loopback only; anonymous local callers get full access (auth.public.caps: unrestricted). Loopback limits network exposure, but other local processes can still access the node. Use only trusted clients and keep the bind local. See MCP setup for client configuration.
branchRef check failsSee docs/tamper-demo.md for a walkthrough. Offline bundles (surstor_export) verify with no venue: surstor-node verify bundle.json recomputes every hash and signature from the file alone (exit 0 = valid).
mvn test
Tests cover cell/unit semantics, JSON round-trip hash stability, engine-backed tamper scenarios, budget enforcement, real server-restart persistence, versioned billing and tariff boundaries, offline export verification, embedding determinism/similarity, Lucene index behaviour, and engine-backed semantic search (store→search→reindex).
surstor_search ranks stored artifacts by meaning, not just by ID — e.g. "when is the project due" finds the client-deadline email. Everything runs on-node: a bundled multilingual MiniLM model (ONNX, via DJL + ONNX Runtime) embeds text on CPU, and a Lucene HNSW vector index under the data dir answers queries. The embedding/search path makes no external API calls. Retrieved content is returned to the client: keeping inference local also requires a local model and no cloud fallback or external forwarding by the host.
Only string-content records are indexed. Save concise memories as contentType: "text" with a string content; structured prompt/response objects are not semantically indexed. The encrypted-storage profile disables semantic search; use session listing and retrieval by ID instead.
The two-cell CAD3 record remains the only source of truth. Embeddings and the index are derived, unsigned, disposable data: if search-index/ is deleted, surstor_reindex rebuilds it from the etch store with zero information loss. Indexing failure never fails a store.
Config (defaults shown):
[search]
enabled = "true" k_default = "10"
Note: the adapter module jar grows by ~190 MB (ONNX native binaries + bundled model). Accepted for v0.2.
session-budget-usd in adapter config, default 5.00)signature check. Use a separate fresh data directory for a new installation; preserve any existing records you need.ตัดมาแค่ช่วงต้น อ่านต่อใน repo