Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Shared memory for coding agents. Stop re-explaining your codebase every session.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://teamshared.com/mcp在终端中运行这条命令
claude mcp add --transport http teamshared https://teamshared.com/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"teamshared": {
"url": "https://teamshared.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"teamshared": {
"type": "http",
"url": "https://teamshared.com/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://teamshared.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
发布者(xhad)不是仓库所有者(teamshared-ai);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.9.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
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.
按原文从作者的仓库复制。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
只显示了开头部分;其余内容请在仓库中阅读