OCD - Organized Context Datastore (MCP)
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ocd_list_context_rootsA | [OCD] Context Root 一覧を取得(cwd から設定を探索) 重要: 返却される id を以下のツールで使用してください:
⚠️ 注意: path フィールドは実際のファイルシステムパスです。 ツール引数には使用しないでください。id を使用してください。 | |||||||||||||||
| ocd_get_contextsA | [OCD] Organized Context Datastore - 階層構造を持つコンテキストを LLM と人間が共同で読み書きする MCP サーバー。 パターンとフィルタでコンテキストを取得します。 パラメータ
jq フィルタ例
| |||||||||||||||
| ocd_get_context_treeA | [OCD] コンテキストツリー(目次)を取得 パラメータ
重要: list_context_roots で返却された id を使用してください。 path フィールド(実際のファイルシステムパス)は使用しないでください。 例:
フォーマット
表示フォーマット (treeTextFormat)デフォルト: "$path: $title $summary" 使用可能な変数: $path, $title, $summary
| |||||||||||||||
| ocd_search_contextsA | [OCD] キーワードでコンテキストを検索(cwd から設定を探索) | |||||||||||||||
| ocd_mutate_contextA | [OCD] コンテキストを変更 (create/update/delete/move 一括実行) 全ての書き込み操作を単一のツールで実行可能。 複数の操作を配列で渡すことで一括処理できます。
重要: path は Context Root の id で始まる完全なパスを指定してください。 例: "knowledge-base/new-doc", "src/plugins/MyPlugin/README" 操作タイプ
title + summary の書き方「ひとつづきのサマリ」として連結して読める形式で記述する
例: contentUpdates の操作タイプwhole_replace - コンテンツ全置換{ type: 'whole_replace', content: '新しいコンテンツ全体' } replace - 部分置換(search / replacement / isRegex / flags)search: '$', replacement: '\n\n追記内容', isRegex: true, flags: 'm' | |||||||||||||||
| ocd_commitA | [OCD] 変更をコミット (git: 'manual' モード用)(cwd から設定を探索) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a distinctly defined responsibility: listing roots, retrieving contexts via patterns/filters, searching by keyword, getting a tree view, mutating (create/update/delete/move), and committing. The overlapping retrieval tools (get_contexts vs search_contexts) are differentiated by mechanism and purpose, and all descriptions include clear usage guidance.
All tool names follow a uniform pattern: 'ocd_' prefix + verb_noun in lowercase snake_case (list_context_roots, get_contexts, search_contexts, get_context_tree, mutate_context, commit). The only slight deviation is 'commit' without a noun, but it is still clear and consistent in style.
Six tools is a well-scoped set for a context datastore server. Each tool covers a distinct aspect (roots, retrieval, search, tree, mutation, git commit) without redundancy or bloat, fitting the typical 3-15 range comfortably.
The surface covers the full lifecycle: list/get/search/tree for reading, mutate_context for create/update/delete/move, and commit for persistence in manual git mode. There are no obvious dead ends or missing operations for the stated purpose.