Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Shared memory for coding agents. Stop re-explaining your codebase every session.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://teamshared.com/mcpพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http teamshared https://teamshared.com/mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"teamshared": {
"url": "https://teamshared.com/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"teamshared": {
"type": "http",
"url": "https://teamshared.com/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://teamshared.com/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ผู้ลงทะเบียน (xhad) ไม่ใช่เจ้าของ repo (teamshared-ai) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.9.1) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Registers the teamshared MCP server. The Cursor plugin also ships the recall-first memory rule and Cursor hooks that capture Agent Chat into TeamShared (sessionStart, beforeSubmitPrompt, afterAgentResponse, stop, sessionEnd) plus postToolUse (failed test/lint/shell), postToolUseFailure (read-only recall), and preCompact. The Cursor plugin still has no skills, slash commands, or extra agents.
This repo also ships a Claude Code marketplace plugin under claude/ (remote MCP via Claude Code's native /mcp OAuth, TEAMSHARED_TOKEN for the optional capture hooks, protocol 1.31.0, SessionStart injection, and official Claude Code capture hooks).
The native Codex package under plugins/teamshared/ uses the server's MCP OAuth discovery flow and treats Codex as a first-class client: protocol 1.31.0, SessionStart injection, and official Codex capture hooks. A manual Codex TOML setup remains available under install/codex/ (TEAMSHARED_TOKEN; do not mix).
Hosted install is teamshared.com/#connect. The public plugin / marketplace source is this repo (teamshared-ai/teamshared-plugin). The remote MCP endpoint is https://teamshared.com/mcp.
One Connect, one org per repo. Install the plugin once and connect once. From chat, call org_list / org_bind(slug=...). CLI teamshared org bind is an optional fallback that writes .teamshared/org. Do not add a second TeamShared server. Unbound /mcp keeps working — it stays on the org chosen at Connect time. Agent-facing copy: AGENTS.md.
| Component | Purpose |
|---|---|
mcp.json | Registers https://teamshared.com/mcp (URL only; Cursor OAuth Connect) |
rules/teamshared.mdc | Lean always-on fetch/store loop (alwaysApply); tool encyclopedia lives in memory_tools_catalog |
hooks/ | Cursor hooks: Agent Chat capture plus postToolUse (failed test/lint/shell), postToolUseFailure (read-only recall), and preCompact |
claude/ | Claude Code plugin (remote MCP via native /mcp OAuth + protocol 1.31.0 + capture hooks needing TEAMSHARED_TOKEN) |
.claude-plugin/marketplace.json | Claude Code marketplace catalog (/plugin marketplace add teamshared-ai/teamshared-plugin) |
.agents/plugins/marketplace.json | Codex marketplace catalog (codex plugin marketplace add teamshared-ai/teamshared-plugin) |
plugins/teamshared/ | Native Codex plugin (OAuth MCP + protocol 1.31.0 + official capture hooks) |
clients/ | Copy-paste protocol + MCP examples for non-Cursor harnesses (not loaded by Cursor) |
https://github.com/teamshared-ai/teamshared-pluginCloud and Grok Bot agents inherit that account-level Connect. Installing the plugin registers https://teamshared.com/mcp — you only click Connect. Do not paste a URL or token into the plugin mcp.json. Then bind the repo (teamshared org bind ); do not add a second TeamShared server.
See MARKETPLACE.md for the official Marketplace publish checklist.
/plugin marketplace add teamshared-ai/teamshared-plugin
/plugin install teamshared@teamshared /reload-plugins /mcp
In /mcp, select teamshared and choose Authenticate — Claude Code's own native OAuth flow, same email/OTP login as the web console, token stored in your system keychain. Confirm tools appear under /mcp as plugin:teamshared:teamshared connected.
The chat-capture hooks are a separate subprocess with no access to that keychain, so if you also want them capturing chat automatically, mint a tsk_ org key and export it — never commit it:
export TEAMSHARED_TOKEN=tsk_... # mint under https://teamshared.com/app/keys
Without it the hooks just no-op; the MCP connection and every-turn workflow work fine either way. From chat, call org_bind(slug=...) (CLI teamshared org bind is optional) so capture follows the org; do not add a project .mcp.json TeamShared server. Unbound /mcp keeps working. SessionStart injects protocol 1.31.0; /teamshared:status checks health + version. Details: claude/README.md.
The native Codex package uses TeamShared's MCP OAuth discovery flow, so it does not require TEAMSHARED_TOKEN or store an authorization header. The first browser open is the Codex host (system default browser). TeamShared only serves /oauth/authorize and the redirect; the post-OTP finish page uses a single handoff. ChatGPT’s in-app @Browser is Computer Use, not MCP Authenticate — there is no API to force Connect there. To skip the browser, use install/codex/ + TEAMSHARED_TOKEN instead of this plugin. Details: #46 and plugins/teamshared/README.md.
codex plugin marketplace add teamshared-ai/teamshared-plugin
codex plugin add teamshared@teamshared
Restart the Codex app, start a new task, and connect TeamShared when prompted. Then review and trust plugin hooks with /hooks so capture writes run. From chat, call org_bind(slug=...) (CLI teamshared org bind is optional); do not add a second [mcp_servers.teamshared] next to the plugin. Unbound /mcp keeps working. SessionStart injects protocol 1.31.0; $status checks health + version. The package lives under plugins/teamshared/ and is cataloged by .agents/plugins/marketplace.json. Details: plugins/teamshared/README.md.
Submit this repo at cursor.directory/plugins/new:
https://github.com/teamshared-ai/teamshared-plugin
Do not submit the old xhad/teamshared-cursor redirect. Root plugin.json and .mcp.json are the Open Plugins / directory discovery files; Cursor install still uses .cursor-plugin/ and mcp.json.
Ready-to-paste listing description:
TeamShared is hosted MCP plus the recall-first memory rule and Cursor
hooks that capture Agent Chat (plus failed test/lint/shell + preCompact). No skills, slash commands, or extra agents.
Install in Cursor:
Cloud and Grok Bot agents inherit that Connect. Bind each repo with teamshared org bind; do not add a second server.
Add plugins from folder needs a marketplace catalog in the selected directory. Select this repo root (it ships .cursor-plugin/marketplace.json with "source": "./").
Then enable the plugin, reload the window, and Connect.
For local iteration without the folder picker:
ln -sf "$(pwd)" ~/.cursor/plugins/local/teamshared
/app). The plugin already shipped the server URL; do not add headers or a tsk_* token to the plugin mcp.json.teamshared org bind writes .teamshared/org ({"v":1,"slug"}). Commit that file. Capture follows it. Do not add a second TeamShared server in .cursor/mcp.json, project .mcp.json, or Codex config.toml..teamshared/org); Cloud does not take a second MCP URL from repo config. Unbound /mcp keeps working (Connect-time org).teamshared enabled.If you previously added https://teamshared.com/mcp by hand, remove that manual entry so you do not get two teamshared servers.
Bots that must stay in one org use a seat key — teamshared token mint scoped to that org, or mint under /app/keys — on the MCP headers (Authorization: Bearer tsk_…). Not in the plugin mcp.json. Unbound /mcp keeps working for interactive Connect.
memory_recall, memory_remember, memory_session_*, etc. (registered by mcp.json when the plugin is installed)./app) for human actions.memory_session_ensure / context_commit. sessionStart maps conversation_id onto a working session and, after a successful ensure with auto_recall=true, injects a capped Cursor additional_context block (linked soul, a short playbook header when present, and compact auto_recall bullets — not full memory bodies or transcripts). Explicit memory_recall remains preferred for keyword work. Fail-open on MCP/auth errors. beforeSubmitPrompt and afterAgentResponse append redacted user/assistant text; sessionEnd closes and distills. stop only notes aborted/error loops (it fires after every turn, so it does not distill). postToolUse still appends a short episodic fact when a Shell test/lint/command fails (command + error tail, secrets stripped). On Cursor postToolUseFailure and on that failed postToolUse, hooks also call remote memory_recall with a tight query (tool name + truncated error, k=3, verbose=false) and inject compact hits as additional_context — same pattern as SessionStart auto_recall. Skip when recall is empty or MCP has no token. That recall path never writes (context_commit). Fail-open if MCP is unreachable. preCompact writes a short session summary. All reuse the existing Connect session — no tsk_ in mcp.json. Cloud agents may skip sessionStart / sessionEnd; prompt/response hooks still capture turns. Agents still recall first and may commit curated facts; hooks store the transcript.One TeamShared server stays on https://teamshared.com/mcp. The repo file chooses the org; capture follows it. Do not add a second TeamShared server.
teamshared org bind sapien --token "$TEAMSHARED_TOKEN"
teamshared org status teamshared org unbind
bind checks membership, then writes only .teamshared/org:
{"v":1,"slug":"sapien"}
The derived URL https://teamshared.com/o/{slug}/mcp is never stored. Commit the file so every harness in the checkout sees the same org. status and unbind work offline. Missing or invalid file → unbound /mcp (Connect-time org). That is supported; binding is not required.
| Harness | Connect once | Bind | Do not |
|---|---|---|---|
| Cursor | Settings → Tools & MCP → teamshared → Connect | .teamshared/org; hooks POST to the org URL with the same Connect token | .cursor/mcp.json / project MCP twin |
| Cursor Cloud | Inherited account Connect | Same checkout file; hooks follow it | Repo MCP URL as a Cloud bind path |
| Claude Code | /mcp → Authenticate | Same file; hooks use an org-scoped TEAMSHARED_TOKEN | Project .mcp.json TeamShared server |
| Codex | Plugin OAuth (or manual tsk_ — not both) | Same file | [mcp_servers.teamshared] next to the plugi
ตัดมาแค่ช่วงต้น อ่านต่อใน repo