Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Free-to-start portable memory for AI agents: encrypted, shareable, provably erased. Join SAIHM.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SAIHM_ENDPOINT_URL, SAIHM_SELF_JOIN, SAIHM_MASTER_SECRET_FILE, SAIHM_IDENTITY, SAIHM_IDENTITY_PASSPHRASE, SAIHM_TIER, SAIHM_PAYMENT_METHOD, SAIHM_EPHEMERAL_HOME, SAIHM_HOMEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"saihm-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "ใส่ค่าของคุณ",
"SAIHM_SELF_JOIN": "ใส่ค่าของคุณ",
"SAIHM_MASTER_SECRET_FILE": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY_PASSPHRASE": "ใส่ค่าของคุณ",
"SAIHM_TIER": "ใส่ค่าของคุณ",
"SAIHM_PAYMENT_METHOD": "ใส่ค่าของคุณ",
"SAIHM_EPHEMERAL_HOME": "ใส่ค่าของคุณ",
"SAIHM_HOME": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add saihm-pro --env SAIHM_ENDPOINT_URL='ใส่ค่าของคุณ' --env SAIHM_SELF_JOIN='ใส่ค่าของคุณ' --env SAIHM_MASTER_SECRET_FILE='ใส่ค่าของคุณ' --env SAIHM_IDENTITY='ใส่ค่าของคุณ' --env SAIHM_IDENTITY_PASSPHRASE='ใส่ค่าของคุณ' --env SAIHM_TIER='ใส่ค่าของคุณ' --env SAIHM_PAYMENT_METHOD='ใส่ค่าของคุณ' --env SAIHM_EPHEMERAL_HOME='ใส่ค่าของคุณ' --env SAIHM_HOME='ใส่ค่าของคุณ' -- npx -y @saihm/mcp-server-proเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"saihm-pro": {
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "ใส่ค่าของคุณ",
"SAIHM_SELF_JOIN": "ใส่ค่าของคุณ",
"SAIHM_MASTER_SECRET_FILE": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY_PASSPHRASE": "ใส่ค่าของคุณ",
"SAIHM_TIER": "ใส่ค่าของคุณ",
"SAIHM_PAYMENT_METHOD": "ใส่ค่าของคุณ",
"SAIHM_EPHEMERAL_HOME": "ใส่ค่าของคุณ",
"SAIHM_HOME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"saihm-pro": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@saihm/mcp-server-pro"
],
"env": {
"SAIHM_ENDPOINT_URL": "ใส่ค่าของคุณ",
"SAIHM_SELF_JOIN": "ใส่ค่าของคุณ",
"SAIHM_MASTER_SECRET_FILE": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY": "ใส่ค่าของคุณ",
"SAIHM_IDENTITY_PASSPHRASE": "ใส่ค่าของคุณ",
"SAIHM_TIER": "ใส่ค่าของคุณ",
"SAIHM_PAYMENT_METHOD": "ใส่ค่าของคุณ",
"SAIHM_EPHEMERAL_HOME": "ใส่ค่าของคุณ",
"SAIHM_HOME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SAIHM_ENDPOINT_URL envSAIHM_SELF_JOIN envSAIHM_TIER envSAIHM_PAYMENT_METHOD envSAIHM_EPHEMERAL_HOME envSAIHM_HOME envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub SAIHM-Admin ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: SAIHM_MASTER_SECRET_FILE, SAIHM_IDENTITY, SAIHM_IDENTITY_PASSPHRASE
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.14.3) เข้า registry 10 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Portable memory for AI agents. Your assistant remembers what matters — across sessions, across models, across vendors. Share a memory with someone else's agent, take it back, or erase it for good.
▶ SAIHM Short Overview 6 minutes ▶ SAIHM Detailed Overview 30 minutes
Enjoyed them? Like the videos, subscribe to the SAIHM channel, and turn on notifications with the bell 🔔 to hear about new videos and updates.
Prefer to read? The SAIHM manual (PDF) is a decision-maker's guide to SAIHM and SHM.
AI assistants forget everything when the session ends. SAIHM gives yours a memory that doesn't — one that follows you to a different assistant, a different model, or a different company's product.
Encrypted before it leaves your machine. Nobody else can read your memories — not the storage, not SAIHM. There is nothing to switch on. With your key in a file, as in the standard setup, SAIHM also keeps an unencrypted copy of your memories on your own device for fast recall. Only your account can read it, and one setting turns it off.
npx -y @saihm/mcp-server-pro free-join
No card and no wallet. You need a browser and a GitHub account once, for a quick sign-in that confirms you're a real person:
Then add SAIHM to your AI client, restart it, and say "Recall my SAIHM memories." You're running.
No GitHub account? Start at https://saihm.net/free instead: you sign in with Google or Microsoft, and the page gives you your key and the steps to connect your assistant. Follow them, then say "Recall my SAIHM memories." Keep your key safe: it is the only key to your memory. Your key is already active, so skip *"Join SAIHM"*: there is nothing to join, and saying it anyway makes no new key.
Rather let your assistant set it up? Install SAIHM in your AI client first: for Claude Code that is the one command under Claude Code, and the other clients are below. Restart the client, then say "Join SAIHM" to your assistant. It asks whether you already have a SAIHM identity, then runs the same setup and gives you the same link and code to approve.
If a join is interrupted, join again on the same machine: it reuses the key it already created, so you keep the same identity. To cancel a join, stop it and don't enter the code; the code expires on its own. Keep the key file either way. Joining in detail.
The configurations below for Claude Code, Gemini CLI and the OpenAI Agents SDK are presented as tested (which clients are checked); the others are documented from each vendor's own documentation. Every configuration is subject to change at the vendor's discretion.
SAIHM runs on your machine as a local MCP server that your AI client starts with npx, so you need Node.js 20.19 or later. The package is @saihm/mcp-server-pro on npm, and the official MCP Registry lists it as io.github.SAIHM-Admin/saihm-mcp-server-pro.
Find your client below, add its block, and restart the client. Three tips:
npx -y @saihm/mcp-server-pro --version in a terminal. It downloads the package, prints its version and exits, so the client's first start is quick.Each block follows that client's own documentation. Before every release, the server is started from these blocks in Claude Code, Gemini CLI and the OpenAI Agents SDK to confirm it connects. Each client's fine print is in the reference.
Adding another AI client on this computer? It uses the key already in ~/.saihm by itself, so don't join again there: add its block, restart it and say *"Recall my SAIHM memories."* Give it the same settings as your first client:
SAIHM_HOME, or the same SAIHM_MASTER_SECRET_FILE, in its block.SAIHM_TIER and SAIHM_PAYMENT_METHOD to its block, wherever your key is, ~/.saihm included. Without them the new client signs in on the free plan.One command adds SAIHM for all your projects:
claude mcp add --env SAIHM_ENDPOINT_URL=https://saihm.net/mcp --transport stdio --scope user saihm -- npx -y @saihm/mcp-server-pro
If the tools don't appear after the first start, give the server more time: MCP_TIMEOUT=60000 claude, or run npx -y @saihm/mcp-server-pro --version once in a terminal and start Claude Code again. claude mcp list shows whether it connected. For Claude Code on the web, see Hosted agent environments.
Open Settings > Developer > Edit Config, add the "saihm" entry inside mcpServers, then quit and reopen Claude Desktop:
{
"mcpServers": { "saihm": { "command": "npx", "args": ["-y", "@saihm/mcp-server-pro"], "env": { "SAIHM_ENDPOINT_URL": "https://saihm.net/mcp" } } } }
Claude Desktop starts the server with the Node.js installed on your machine, so install Node.js first. If the tools don't appear the first time, run npx -y @saihm/mcp-server-pro --version in a terminal, then quit and reopen Claude Desktop.
Add this to ~/.codex/config.toml, or to a project's .codex/config.toml:
[mcp_servers.saihm]
command = "npx" args = ["-y", "@saihm/mcp-server-pro"] env = { SAIHM_ENDPOINT_URL = "https://saihm.net/mcp" } startup_timeout_sec = 60
Check it with codex mcp list, or /mcp inside Codex.
import asyncio
from agents import Agent, Runner from agents.mcp import MCPServerStdio
async def main(): async with MCPServerStdio( name="saihm", params={ "command": "npx", "args": ["-y", "@saihm/mcp-server-pro"], "env": {"SAIHM_ENDPOINT_URL": "https://saihm.net/mcp"}, }, client_session_timeout_seconds=60, ) as saihm: agent = Agent(name="Assistant", mcp_servers=[saihm]) result = await Runner.run(agent, "Recall my SAIHM memories.") print(result.final_output)
asyncio.run(main())
The 60-second timeout gives the first npx download time to finish. Pass secrets from the environment, never as literals in your code.
Add this to ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project):
{
"mcpServers": { "saihm": { "command": "npx", "args": ["-y", "@saihm/mcp-server-pro"], "env": { "SAIHM_ENDPOINT_URL": "https://saihm.net/mcp" } } } }
Or install the Gemini CLI extension, which carries the same entry: gemini extensions install https://github.com/SAIHM-Admin/saihm-mcp-server-pro.
Run Gemini CLI in a folder you trust, since it starts local servers only there. Check with gemini mcp list, or /mcp inside Gemini CLI.
Since 2026-06-18, Google no longer serves personal Google accounts in the Gemini CLI: signing in with one answers "This client is no longer supported for Gemini Code Assist for individuals". As of October 2026 the Gemini CLI still works with a Gemini API key, or with a Gemini Code Assist Standard or Enterprise licence.
Add this to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json in a project:
{
"mcpServers": { "saihm": { "command": "npx", "args": ["-y", "@saihm/mcp-server-pro"], "env": { "SAIHM_ENDPOINT_URL": "https://saihm.net/mcp" } } } }
Type /mcp inside Antigravity CLI to see whether it connected. If the tools don't appear the first time, run npx -y @saihm/mcp-server-pro --version in a terminal, then reload the server there.
Add this to ~/.grok/config.toml, or to a project's .grok/config.toml:
[mcp_servers.saihm]
command = "npx" args = ["-y", "@saihm/mcp-server-pro"] env = { SAIHM_ENDPOINT_URL = "https://saihm.net/mcp" } startup_timeout_sec = 60
Grok Build also picks up an existing saihm entry from ~/.claude.json or a project's .mcp.json, so if you already added it for another client you may not need this step. Check it with grok mcp list, or grok mcp doctor saihm.
Add this to .vscode/mcp.json in a workspace, or to your user mcp.json (run MCP: Open User Configuration). VS Code uses servers here, not mcpServers:
{
"servers": { "saihm": { "type": "stdio", "command": "npx", "args": ["-y", "@saihm/mcp-server-pro"], "env": { "SAIHM_ENDPOINT_URL": "https://saihm.net/mcp" } } } }
Or add it to your user profile from a terminal (bash, zsh or Command Prompt):
code --add-mcp "{\"name\":\"saihm\",\"command\":\"npx\",\"args\":[\"-y\",\"@saihm/mcp-server-pro\"],\"env\":{\"SAIHM_ENDPOINT_URL\":\"https://saihm.net/mcp\"}}"
MCP: List Servers shows the server, and its Show Output action shows the log. If the tools don't appear the first time, run npx -y @saihm/mcp-server-pro --version in a terminal, then restart the server from MCP: List Servers. For the GitHub Copilot cloud agent, see Hosted agent environments.
If your company decides which MCP servers GitHub Copilot may run, an enterprise owner can allow SAIHM:
ตัดมาแค่ช่วงต้น อ่านต่อใน repo