Shared memory for coding agents. Stop re-explaining your codebase every session.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Registers the teamshared MCP server. The Cursor plugin also ships the
recall-first memory rule and two Cursor hooks (postToolUse for failed
test/lint/shell, preCompact for a short session summary). The Cursor
plugin still has no skills, slash commands, extra hooks, or extra agents.
This repo also ships a Claude Code marketplace plugin under claude/
(remote MCP + TEAMSHARED_TOKEN auth). Claude Code does not inherit Cursor Connect.
The native Codex package under plugins/teamshared/ uses the server's MCP
OAuth discovery flow and includes a recall-first teamshared-memory skill. A
manual Codex TOML setup remains available under install/codex/.
The MCP server itself lives in xhad/teamshared
and is hosted at teamshared.com.
| 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/ | Two Cursor hooks only: postToolUse (failed test/lint/shell) and preCompact |
claude/ | Claude Code plugin (remote MCP + TEAMSHARED_TOKEN; no Cursor hooks) |
.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 connection + recall-first skill) |
clients/ | Copy-paste protocol + MCP examples for non-Cursor harnesses (not loaded by Cursor) |
https://github.com/teamshared-ai/teamshared-plugin/add-plugin teamshared or enable teamshared under Settings β PluginsCloud 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.
See MARKETPLACE.md for the official Marketplace publish checklist.
Claude Code does not inherit Cursor Connect. Use a tsk_ org key in
TEAMSHARED_TOKEN β never commit it.
Then export the key in the environment that launches Claude Code:
The Claude package registers https://teamshared.com/mcp with
Authorization: Bearer ${TEAMSHARED_TOKEN} (same placeholder idea as
install/claude/mcp.json). Confirm tools appear under /mcp as
plugin:teamshared:teamshared. 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.
Restart the Codex app, start a new task, and connect TeamShared when prompted.
The package lives under plugins/teamshared/ and is
cataloged by .agents/plugins/marketplace.json.
Submit this repo at cursor.directory/plugins/new:
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:
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:
/app). The plugin already shipped the server URL; do not add
headers or a tsk_* token to the plugin mcp.json.teamshared enabled.If you previously added https://teamshared.com/mcp by hand, remove that
manual entry so you do not get two teamshared servers.
Durable backup: one org tsk_ on the MCP headers (Authorization: Bearer tsk_β¦)
for CI and other harnesses β not in the plugin mcp.json. Mint keys under
/app/keys.
memory_recall, memory_remember, memory_session_*, etc.
(registered by mcp.json when the plugin is installed)./app) for human actions.postToolUse appends a short episodic fact when a
Shell test/lint/command fails (command + error tail, secrets stripped).
preCompact writes a short session summary through context_commit.
Both reuse the existing Connect session β no tsk_ in mcp.json.The Cursor plugin still has no skills, slash commands, extra agents, or extra
hooks. The Claude Code and Codex packages each add a thin
teamshared-memory skill.
See clients/ for Hermes, Claude Desktop, and protocol markdown.
Claude Code and Codex should use their marketplace plugins above unless you are
debugging a manual client configuration.
For manual MCP registration without the native plugin, Codex uses TOML rather
than Cursor's JSON mcp.json. Mint a tsk_ key at
teamshared.com/app/keys, export it, then
register the hosted MCP (Codex sends Authorization: Bearer tsk_β¦):
Or merge install/codex/mcp.toml into project-local
.codex/config.toml and run Codex from that trusted repo root. Full steps:
install/codex/README.md.
Use either the native marketplace plugin or the manual TOML entry, not both.
Cursor desktop, Cloud, and Grok Bot still use Connect β do not add this
tsk_ block to the plugin mcp.json.
MIT β see LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/teamshared)<a href="https://allmcps.com/mcp/teamshared"><img src="https://allmcps.com/api/badge/teamshared?style=directory" alt="TeamShared on AllMCPs" /></a>