openhandoff-mcp
OpenHandoff
AIコーディングエージェント間の、ポータブルでローカルファーストなコンテキスト引き継ぎ。
OpenHandoff は、プロジェクトの永続的な真実を2つの小さなファイルに保持します:
人と Obsidian のための
CONTEXT.md;エージェント、MCP アダプター、自動化のための
context.json。
最初の MVP は意図的にシンプルで検査可能です: クラウドアカウントも隠れたデータベースもなく、秘匿化はハンドオフが書き込まれる前に行われます。将来のアダプターは、ベンダー固有のメモリ形式を強制することなく、Codex、Claude Code、Cursor、Windsurf のトランスクリプトを読み取ることができます。
OpenHandoff は公開リポジトリとチームのハンドオフ向けに設計されています: ファイルはプレーンテキストで、MCP サーバーは依存関係がなく、シークレットの形をした値は永続化前に秘匿化されます。
スキルパック
リポジトリには skills/ の下に3つのポータブルスキルが含まれています:
openhandoff-context— エージェント間のコンテキストのキャプチャ、復元、パッキング。openhandoff-privacy— 共有前にハンドオフとトランスクリプトを監査。openhandoff-release— テスト済みで文書化された再現可能なリリースを準備。
スキルディレクトリを Codex スキルディレクトリにコピーするか、この GitHub リポジトリを使用して Codex スキルインストーラーでインストールします。スキルは意図的に狭い範囲に絞られているため、独立して使用できます。
Related MCP server: ai-cortex
クイックスタート
python -m venv .venv
source .venv/bin/activate
pip install -e .
openhandoff init .context --title "My project"
openhandoff capture .context \
--title "My project" \
--decision "Use SQLite" \
--todo "Add the MCP adapter" \
--notes "The next agent should run the test suite first."
openhandoff show .context通常のユーザーインストールでは、リリース公開後に pipx install openhandoff を使用します。開発用の依存関係とチェックは CONTRIBUTING.md に文書化されています。
特定のタスク用にコンパクトなコンテキストスライスを構築します。一致する決定事項、TODO、ノート行が最初に保持され、その後、結果は要求された予算に合わせて決定的にトリミングされます:
openhandoff pack .context --task "MCP adapter" --max-chars 4000MCP サーバー
依存関係のない MCP サーバーは、stdio 経由で load_handoff、save_checkpoint、search_handoff、pack_context を公開します:
openhandoff-mcpローカルエージェント設定では、ネットワークアクセスなしで openhandoff-mcp コマンドを使用します。サーバーはエージェントから提供されたハンドオフパスのみを読み書きします。
Codex 設定の例:
[mcp_servers.openhandoff]
command = "openhandoff-mcp"
args = []Claude Desktop 設定の例:
{
"mcpServers": {
"openhandoff": {
"command": "openhandoff-mcp",
"args": []
}
}
}エージェントイベントのキャプチャ
openhandoff-hook は stdin で JSON イベント(またはプレーンテキスト)を受け取り、資格情報の形をした値を秘匿化し、結果を .context/events.jsonl に追記します:
printf '%s\n' '{"type":"agent_message","message":"finished"}' \
| openhandoff-hook --path .contextCodex は notify ペイロードをフックに直接送信できます。これを Codex 設定に追加します(コマンドは stdin で JSON ペイロードを受け取ります):
notify = ["openhandoff-hook", "--path", ".context"]Claude Code の場合は、同じ実行可能ファイルを設定のコマンドフックに配線します。正確な設定ファイルは Claude Code のバージョンによって異なる場合があります。これは説明用の例です:
{
"hooks": {
"afterTurn": [
{"command": "openhandoff-hook --path .context"}
]
}
}トランスクリプトのインポート
Codex と Claude Code の JSONL イベントストリームは、同じ形式にインポートできます:
openhandoff import-transcript ./rollout.jsonl .context --title "Project handoff"ロードマップ
Cursor と Windsurf のトランスクリプトアダプター。
タスク固有のコンテキストパックにおけるファイルとコミットの引用。
シークレットスキャンとレビューゲートを備えた Obsidian と GitHub の同期。
プロジェクトの健全性
ライセンス: MIT。LICENSE を参照。
セキュリティ報告: SECURITY.md を参照。
コントリビューション: CONTRIBUTING.md を参照。
リリースノート: CHANGELOG.md を参照。
アーキテクチャ: docs/architecture.md を参照。
リリースプロセス: docs/releasing.md を参照。
このプロジェクトは初期段階であり、実際のフィードバック、統合、ドキュメントの改善を歓迎します。チャットのトランスクリプト、資格情報、プライベートな Obsidian データをコミットしないでください。
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 gradedqualityCmaintenanceProvides AI coding assistants with persistent project memory to retain architectural decisions, code patterns, and domain knowledge across sessions. It stores data locally in a SQLite database, allowing agents to remember, recall, and manage project-specific context using full-text search.8Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides durable project context for coding agents, including project maps, session history, and explicit memories, all stored locally.746MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to persist structured long-term memory (gotchas, architecture, API notes) in a .context folder and sync across devices and agents via Git.1020MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding assistants to store and retrieve project-aware context as plain Markdown files locally, with no cloud or vector database required.2MIT
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
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/StoneReaper/openhandoff'
If you have feedback or need assistance with the MCP directory API, please join our Discord server