Session Collab MCP
Session Collab MCP
プロバイダー非依存のMCPサーバーで、マルチエージェント/マルチセッション作業をサポートします: ファイルのクレーム、短期作業メモリ、パスの保護、競合の検出。
stdioまたはHTTP JSON-RPCで、Claude Code、Codex、Cursor、その他のMCPクライアントと連携します。オプションのClaude Codeパッケージング: plugin/。
Why
同一マシンのみ — これはリモートGitロックではありません。1つのOSユーザーで複数のコーディングセッションを並行して行うと、共有の「作業意図」がないため、互いに上書きしてしまいます。このサーバーはローカルWIPレジストリです: ファイルを宣言し、競合をチェックし、短いメモを保持し、重要なパスを保護し、そして解放します。
Related MCP server: samskriti-project
Install
任意のMCPクライアント
{
"mcpServers": {
"session-collab": {
"command": "npx",
"args": ["-y", "session-collab-mcp@latest"]
}
}
}HTTP + CLI
session-collab-http --host 127.0.0.1 --port 8765
session-collab doctor --base-url http://127.0.0.1:8765MCP-over-HTTP: POST /mcp。便利なREST: /v1/*(MCPツールと1:1対応)。localhostではトークン不要。非ローカルバインドではSESSION_COLLAB_HTTP_TOKENおよびSESSION_COLLAB_ALLOWED_HOSTS(または--allowed-hosts)が必要です。Origin検証を実施。/healthエンドポイントはトークン設定時に同じチェックを行います。
Claude Code plugin
/plugin marketplace add leaf76/session-collab-mcp
/plugin install session-collab@session-collab-pluginsグローバル: npm install -g session-collab-mcp
ローカルリポジトリ: npm run install:local を実行し、MCP設定を dist/cli.js にポイントします。
Workflow
並行作業が複雑な場合にのみ使用してください。
collab_session_start— 同じname+プロジェクトは再利用されます。restore_contextはデフォルトfalsecollab_claimaction=create— ファイルを一括でクレーム。原子的なクレームまたはブロック。パスはproject_rootに正規化されます。checkはオプションのプローブのみcollab_memory_save— 短いメモのみ(それ以上は拒否され、長すぎる場合は保存されません。ボールトではありません)collab_claimaction=release、その後collab_session_end
list / status / クレームの通常パスはdetail=trueでない限り簡潔です。
モード ( | 動作 |
| 重複クレームをブロック |
| 安全なファイル/シンボルをクレームし、ブロックされたものはキューに |
| 重複は |
ファイル共有時はシンボルレベルでのクレームを推奨します。重複時はwaiting_for_coordinationまたはpartial_claim_createdを返します。
Tools
ツール | 目的 |
| セッションの登録、終了、一覧表示、ハートビート更新 |
| 競合モードと自動リリースオプションの設定 |
| スナップショット ( |
|
|
| 作業メモリ ( |
|
|
v2.0 の破壊的変更: MIGRATION.md。完全な履歴: CHANGELOG.md。セキュリティ報告: SECURITY.md。
Data
SQLiteはマシンごと(WAL, オフライン)です。パスの優先順位:
SESSION_COLLAB_DBが設定されている場合既存の
~/.session-collab/collab.db既存のレガシー
~/.claude/session-collab/collab.dbそれ以外は
~/.session-collab/collab.dbを作成
collab_session_startはscope: "local-machine"とdb_pathを返します。Claude Code pluginのPreToolUseは、別セッションが書き込むファイルに対してWrite/Editを拒否します(SESSION_COLLAB_HOOK_DISABLE=1でスキップ)。
Development
Node.js 18+。npm install && npm run build
npm run typecheck
npm run lint
npm run test
npm run test:http # needs a local listen port
npm run test:releaseオプションのレガシーサポート: SESSION_COLLAB_INCLUDE_LEGACY=true npm run build (v2ツールリストには含まれません)。
Related
License
MIT © leaf76
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server for coordinating parallel AI coding sessions with tools like Claude Code and Codex in a single repository.2MIT
- AlicenseAqualityBmaintenanceA local MCP server that enables multiple AI coding tools to share structured project state (decisions, tasks, bugs) so they coordinate without re-explaining.5MIT
- AlicenseNot gradedqualityCmaintenanceA zero-dependency MCP server that allows multiple coding agents to coordinate work on the same repository using file locks, task claims, and status messages.1MIT
- AlicenseAqualityDmaintenanceA filesystem-based MCP server for AI coding agents to coordinate work across git worktrees by claiming files, checking for conflicts, and logging progress without affecting the repository's git history.5MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for JFrog, providing tools for development and artifact management.
An MCP server for deep research or task groups
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leaf76/session-collab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server