cursor-cortex
Cursor-Cortex: AIアシスタントのための構造化メモリ
Cursor、Claude Code、およびMCP互換のAIアシスタントで動作します。
AIアシスタントのメモリ喪失とコンテキスト混乱を解決します。 Cursor-Cortexは、あなたのAIに、ソフトウェア開発を実際に支援するために必要な構造化された思考と長期メモリを提供します。
🧠 AIアシスタントの問題点
LLMベースのAIアシスタントは、コード生成や概念の説明には優れていますが、以下の点に課題があります:
❌ メモリ喪失: 「昨日は何をやっていたっけ?」
❌ コンテキストスイッチング: 「待って、このプロジェクトは何についてのものだっけ?」
❌ エージェントの失敗: 迷子になる、幻覚を起こす、目標を見失う
❌ 構造の欠如: 体系的な思考なしにアイデアを行き来する
❌ 知識のギャップ: 企業固有またはプロジェクト固有の洞察にアクセスできない
結果: 問題を実際に解決するよりも、コンテキストの説明に多くの時間を費やしてしまいます。
Related MCP server: BuildAutomata Memory MCP Server
🎯 Cursor-Cortexのソリューション
Cursor-Cortexは、あなたのAIに構造化された外部メモリを提供します:
📋 コンテキストファイル → 「このプロジェクトは何についてのもの?」
あなたのAIは、プロジェクトの目標、アーキテクチャ上の決定、現在の焦点を常に把握しています。
📝 ブランチノート → 「これまで何に取り組んできた?」
継続的な開発ログにより、あなたのAIは中断したところから正確に再開できます。
🧠 暗黙知 → 「この種の問題はどう解決する?」
LLMが知らない、企業固有のソリューション、パターン、苦労して得た洞察。
✅ チェックリスト → 「私たちの体系的なアプローチは?」
AI(とあなた)を整理整頓し、徹底させる構造化思考フレームワーク。
💡 導入前と導入後
❌ Cursor-Cortexなし:
You: "Help me continue the authentication work"
AI: "I need more context. What authentication system? What issues were you facing?"
You: "Ugh, let me explain everything again..."✅ Cursor-Cortexあり:
You: "Help me continue the authentication work"
AI: *reads context + branch notes + knowledge base*
"I see you're implementing JWT refresh tokens and hit CORS issues yesterday.
Based on our company knowledge doc about API security, let's check the middleware..."🚀 中核となる利点
あなたのAIを、賢いインターンから経験豊富なチームメイトに変えます。 すべてを記憶し、構造化された思考に従い、組織の知識にアクセスできます。
⚡ 完全セットアップガイド
1. 依存関係のインストール
npm install --legacy-peer-deps注記: TensorFlow.jsのv3.xとv4.xバージョン間のピア依存関係の競合のため、
--legacy-peer-depsフラグが必要です。
2. フルパスを取得
pwd
# Copy the output - you'll need it for configuration3. ベクトル検索のセットアップ(オプション)
AIを活用したセマンティック検索機能の場合:
システム要件:
Node.js 18以上
ベクトルモデル用に2GBのRAM
500MBのディスク容量
セットアップ手順:
# Step 1: Generate embeddings for all knowledge files
node generate-all-embeddings-cpu.js
# This creates vector embeddings for:
# - All tacit knowledge documents
# - All branch notes
# - All context files
# Duration varies by document count and system specs
# Step 2 (Optional): Force regenerate if content changes
node generate-all-embeddings-cpu.js --force
# Step 3 (Optional): View progress during generation
node generate-all-embeddings-cpu.js --verboseこれが重要な理由:
埋め込みがない場合、セマンティック検索はテキスト検索にフォールバックします
事前計算された埋め込みにより、検索が100倍高速になります
一度生成すれば、すべてのセマンティッククエリに使用できます
埋め込みは
~/.cursor-cortex/embeddings/に保存されます
4. Cursor MCPの設定
~/.cursor/mcp.jsonを作成または編集します:
"cursor-cortex": {
"command": "node",
"args": ["/YOUR/FULL/PATH/TO/cursor-cortex/index.js"],
"tools": [
"update_branch_note",
"add_commit_separator",
"read_branch_notes",
"update_context_file",
"read_project_context",
"read_branch_context",
"list_context_files",
"generate_commit_message",
"generate_jira_comment",
"create_tacit_knowledge",
"read_tacit_knowledge",
"search_branch_notes",
"generate_embeddings",
"create_completion_checklist",
"read_checklist",
"update_checklist",
"sign_off_checklist",
"archive_branch_note",
"clear_branch_note",
"list_all_branch_notes",
"enhanced_branch_survey",
"comprehensive_knowledge_search",
"construct_project_narrative",
"timeline_reconstruction",
"context_sync_guidance",
"analyze_documentation_gaps",
"migrate_context_files",
"request_critical_thinking_space",
"check_critical_thinking_status",
"request_thinking_guidance",
"add_perspective",
"request_synthesis_space",
"request_synthesis_step_guidance",
"complete_synthesis_step",
"generate_context_zip",
"unpack_context"
],
"stdio": true,
"env": {
"DEBUG": "true"
}
},/YOUR/FULL/PATH/TO/cursor-cortex/を手順2の出力に置き換えます
注: この設定はCursor-Cortex v1.2.0以降用です。古いバージョンを使用している場合、一部のツールが利用できない可能性があります。
package.jsonのバージョンを確認し、アップデートを検討してください。
5. Cursorを再起動
Cursorを完全に閉じて再度開きます。
Claude Codeのインストール
プロジェクトルート(またはグローバルに~/.claude/settings.json)に.claude/settings.jsonを作成または編集します:
{
"mcpServers": {
"cursor-cortex": {
"command": "node",
"args": ["/YOUR/FULL/PATH/TO/cursor-cortex/index.js"]
}
}
}/YOUR/FULL/PATH/TO/cursor-cortex/を手順2の出力に置き換えて、Claude Codeを再起動します。
6. MCPサーバーを有効化
Cursor設定に移動します(Cmd/Ctrl + ,)
Features → Model Context Protocolに移動します
cursor-cortexを見つけてONに切り替えます
Storage directory created at /Users/yourname/.cursor-cortexという表示が確認できます
7. テスト
Cursorの任意のチャットで、次を試します:
"Update my branch notes: Testing Cursor-Cortex setup"動作すれば、Successfully updated branch note with: "Testing Cursor-Cortex setup"という表示が確認できます
8. ナレッジエクスプローラー(ビジュアルグラフ)
すべてのセットアップが完了したら、ナレッジベースをインタラクティブなネットワークグラフとして探索できます:
npm run explorer次に、ブラウザで**http://localhost:4000**を開きます。
機能:
3層ビジュアライゼーション: プロジェクト、ブランチノート、暗黙知が相互接続されたノードとして表示されます
類似性に基づくレイアウト: 埋め込みコサイン類似度を使用して、意味的に類似したプロジェクトがクラスタリングされます
ニューラルパルスアニメーション: 信号が知識ネットワークをリアルタイムで伝播する様子を確認できます
アクティビティベースの色: 明るいノード = 最近更新されたプロジェクト
クリックして探索: 任意のノードをクリックして、詳細、類似プロジェクト、タグを表示します
深さの切り替え: コンパクト(プロジェクトのみ)、ブランチ、フルビューを切り替えます
🔧 トラブルシューティング
一般的な問題:
❌ 「Tool not found」エラー
設定後にCursorを完全に再起動します
MCPサーバーが設定で有効になっていることを確認します
mcp.jsonのファイルパスが正しいことを確認します(タイプミスがないか)
❌ MCP設定が機能しない
jsonlint.comでJSON構文を検証します
カンマと引用符が正しいことを確認します
mcp.jsonのファイル権限を確認します
❌ ベクトル検索が機能しない
npm installを実行してTensorFlow.jsがインストールされていることを確認しますシステムに2GB以上のRAMがあることを確認します
ベクトル検索が失敗する場合は、テキスト検索モードを試します
ヘルプが必要ですか? エラーメッセージを添えて問題を作成してください。迅速なサポートを提供します。
9. 使用を開始
「未コミットの作業を表示」 - 取り組んできた内容を確認します
「コミットメッセージを生成」 - ノートからコミットを作成します
「暗黙知ドキュメントを作成」 - 後で使用するための解決策を保存します
📖 基本的な使い方
思考を記録する
コードを書くときに、AIアシスタントに伝えます:
"Update branch notes: Fixed the login validation bug by adding proper error handling
for expired tokens. Had to modify the JWT middleware."方向性を維持
作業に戻るとき:
"Show me my uncommitted work"スマートコミット
コミットする準備ができたら:
"Generate a commit message"AIがすべてのノートを読み取り、「Fix JWT token validation and error handling」を作成します
🏗️ プロジェクト構造
Cursor-Cortexは、あなたの知識を次のように整理します:
📝 ブランチノート: 現在取り組んでいる内容
📋 コンテキストファイル: プロジェクトのドキュメントと決定事項
🧠 ナレッジベース: 将来の参照用の解決策と洞察
✅ チェックリスト: プロジェクトの完了状況を追跡
すべて~/.cursor-cortex/に保存され、AIからアクセスできます。
🎓 パワーユーザー機能
基本に慣れたら、これらの高度な機能を探索してください:
クロスプロジェクト知識検索
"Search all my projects for JWT authentication solutions"自動コミット追跡
node setup-hooks.js # Auto-separates pre/post commit workプロジェクトチェックリスト
要件、テスト、承認を追跡します:
"Create a completion checklist for the user auth feature"チーム知識共有
再利用可能なソリューションドキュメントを作成します:
"Create tacit knowledge document about our JWT implementation approach"知識考古学とプロジェクトインテリジェンス
プロジェクト知識を分析して統合します:
"Survey all my branch documentation and show completeness scores"
"Construct a project narrative for the user authentication system"
"Show me a timeline of all development across projects"
"Analyze this folder structure for documentation gaps"🛠️ 利用可能なすべてのツール
update_branch_note- 開発ログにエントリを追加しますread_branch_notes- デフォルトはファイル全体(COMMITセパレータを含む)です。mode=uncommittedまたはuncommittedOnly=trueで最後のコミット以降の作業を表示します。オプションでbeforeDate、afterDate、またはcommitHashでフィルタリングできますadd_commit_separator- コミット境界をマークします(gitフックで自動)generate_commit_message- AIがノートからコミットを作成します
update_context_file- プロジェクトの目標と決定事項をドキュメント化しますread_project_context- ブランチに依存しないプロジェクトコンテキストのみを読み取りますread_branch_context- ブランチ固有のコンテキストのみを読み取りますlist_context_files- クロスプロジェクト警告付きで、すべてのプロジェクトドキュメントを閲覧します
create_tacit_knowledge- 将来の参照用に解決策をドキュメント化しますread_tacit_knowledge- タグとコンテンツ検索で、すべてのプロジェクトの知識を検索しますsearch_branch_notes- セマンティック検索で、プロジェクト間のブランチノートを検索しますgenerate_embeddings- セマンティック検索用のベクトル埋め込みを生成または再生成しますcomprehensive_knowledge_search- すべてのCursor-Cortex知識を横断するグローバルなセマンティック検索
create_completion_checklist- 要件と成果物を追跡しますread_checklist- 進捗状況を表示しますupdate_checklist- 項目を完了としてマークします(手動または自動検出)sign_off_checklist- 署名付きの正式な承認
archive_branch_note- 完了した作業をアーカイブしますclear_branch_note- ブランチドキュメントをリセットしますmigrate_context_files- 既存のコンテキストファイルをSmart Hybrid Context Systemに移行します
list_all_branch_notes- 優先順位付けされた順序で、すべてのプロジェクトのすべてのブランチノートを表示しますenhanced_branch_survey- 完全性スコアリングと関係マッピングによるドキュメントの包括的な分析construct_project_narrative- 散在する技術的詳細を一貫した本番ストーリーに織り込みますtimeline_reconstruction- ブランチノートとコミットセパレータから時系列データを抽出しますcontext_sync_guidance- タイムラインデータに基づいて、プロジェクトコンテキストを同期するためのコンテキストガイダンスを取得しますanalyze_documentation_gaps- フォルダ構造を分析してドキュメントのニーズを特定し、チェックリストを自動作成します
request_critical_thinking_space- シックスシンキングハットの方法論を使用して体系的な分析ワークスペースを作成しますcheck_critical_thinking_status- 批判的思考分析の完了ステータスを確認しますrequest_thinking_guidance- 特定のシックスシンキングハットの視点に関するガイダンスを取得しますadd_perspective- 批判的思考ワークスペースに特定の視点分析を追加しますrequest_synthesis_space- 統合のために視点をシンセシスワークスペースにロードしますrequest_synthesis_step_guidance- シンセシスステップの詳細なガイダンスを取得しますcomplete_synthesis_step- 特定のシンセシスステップを完了し、プロセスを更新します
generate_context_zip- ユーザー/環境間で共有するための知識をポータブルなZIPアーカイブにパッケージ化しますunpack_context- 安全な競合解決で共有コンテキストパッケージをインポートします
🎛️ 高度な設定
Git統合
自動コミットセパレータには、MCPサーバーが実行されている必要があります:
node setup-hooks.js # Install git hooksCLIインターフェース
AIなしで直接アクセス:
node cursor-cortex-cli.js # Interactive menu🤝 貢献
バグを見つけた、またはアイデアがありますか? 問題を開くか、プルリクエストを送信してください。貢献を歓迎します!
著者: Manuel Flores-Ramirez
📄 ライセンス
このプロジェクトは、Parachute Public License (PPL) v1.0の下でライセンスされています。
PPLは、政府、軍、監視、その他の有害なエンティティによる使用に対する制限を含む倫理的なライセンスです。詳細と根拠については、parachute.pubを参照してください。
© 2025 Manuel Flores-Ramirez.
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
- AlicenseBqualityCmaintenanceProvides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.16612MIT
- Flicense-qualityDmaintenanceProvides AI agents with persistent, searchable memory that survives across conversations using semantic search, temporal versioning, and smart organization. Enables long-term context retention and cross-session continuity for AI assistants.14
- AlicenseCqualityAmaintenanceProvides AI assistants with persistent memory and code intelligence across all tools and conversations. Features semantic search, knowledge graphs, decision tracking, and impact analysis with 60+ tools for universal context preservation.3680239MIT
- Alicense-qualityBmaintenanceGives AI assistants persistent, queryable project memory for decisions, patterns, and rules, reducing the need to re-explain context in every prompt.11Apache 2.0
Related MCP Connectors
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Long-term memory for AI assistants. Hybrid retrieval, query expansion, auto-topics.
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/flores-ac/cursor-cortex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server