Org MCP Serverのロゴ

Org MCP Server

コミュニティ
szaffarano

MCP server for org-mode and org-roam knowledge base management

公開者szaffarano
リポジトリorg-mcp-server
言語Rust
フォーク
9
スター
42
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Org MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには42件のスターと9件のフォークがあります。

org-mcp-server

CI Coverage codecov License: MIT Rust Dependency Status

🚧 Work in Progress: This project is under active development.

A Model Context Protocol (MCP) server for org-mode knowledge management. Provides search, content access, and note linking capabilities for your org-mode files through the MCP protocol.

Features

MCP Resources

  • org:// — List all org-mode files in configured directories
  • org://{file} — Access raw content of {file}
  • org-outline://{file} — Get hierarchical structure of {file} as JSON
  • org-heading://{file}#{heading} — Access specific headings by path
  • org-id://{id} — Find content by org-mode ID properties
  • org-agenda:// — List all agenda items and tasks
  • org-agenda://today — Today's scheduled agenda items
  • org-agenda://week — This week's scheduled agenda items
  • org-agenda://day/{YYYY-MM-DD} — Agenda for a specific day
  • org-agenda://week/{N} — Agenda for week number N
  • org-agenda://month/{N} — Agenda for month number N
  • org-agenda://query/from/{YYYY-MM-DD}/to/{YYYY-MM-DD} — Custom date range

MCP Tools

  • org-file-list — List all org files in configured directories
  • org-search — Full-text fuzzy search across all org files
  • org-agenda — Query agenda items with filtering by dates, states, tags, and priorities
  • org-capture — Append a heading to an org file. Supports TODO state, priority, tags, body, SCHEDULED/DEADLINE/CLOSED timestamps (with repeater and warning suffixes), property drawer entries, and datetree expansion.
  • org-update-todo — Update an existing heading in place. Set or clear todo_state, priority, tags, planning timestamps, heading title, body text, and property drawer entries (per-key upsert/remove).

Agent Skills Plugin

This repository ships skills for Claude Code, Codex, Cursor, and OpenCode that guide agents to use the MCP server effectively.

SkillPurpose
org-agendaQuery agenda items by date, state, priority, and tags
org-searchSearch and browse org files and headings
org-captureCreate new headings, tasks, and journal entries
org-update-todoUpdate TODO state, title, body, properties, and timestamps

Claude Code

bash
claude plugin install github:szaffarano/org-mcp-server

Or add to .claude/settings.json:

json
{ "plugins": ["github:szaffarano/org-mcp-server"] }

Codex / Cursor

Add to your plugin configuration using .codex-plugin/plugin.json or .cursor-plugin/plugin.json from this repository.

OpenCode

json
{ "plugin": ["org-mcp-server@git+https://github.com/szaffarano/org-mcp-server.git"] }

See .opencode/INSTALL.md for full setup instructions.

Setup

Pre-built Binaries

Download the latest pre-built binaries from GitHub Releases:

bash
curl -LO https://github.com/szaffarano/org-mcp-server/releases/latest/download/org-mcp-server-x86_64-unknown-linux-gnu.tar.gz
tar xzf org-mcp-server-x86_64-unknown-linux-gnu.tar.gz
sudo mv org-mcp-server /usr/local/bin/

Binaries are available for Linux, macOS, and Windows. Check the releases page for all targets.

Cargo

bash
cargo install org-mcp-server --locked
cargo install org-cli --locked

Nix

bash
nix run github:szaffarano/org-mcp-server       # run directly
nix profile install github:szaffarano/org-mcp-server  # install to profile
nix develop github:szaffarano/org-mcp-server   # development shell

From Source

bash
git clone https://github.com/szaffarano/org-mcp-server
cd org-mcp-server
cargo build --release

MCP Server Integration

Add to your AI agent configuration (e.g., ~/.claude.json, opencode.json):

json
{
  "mcpServers": {
    "org-mode": {
      "command": "/path/to/org-mcp-server",
      "args": [],
      "env": {
        "ORG_ORG__ORG_DIRECTORY": "/path/to/your/org/files"
      }
    }
  }
}

Or via Nix:

json
{
  "mcpServers": {
    "org-mode": {
      "command": "nix",
      "args": ["run", "github:szaffarano/org-mcp-server"]
    }
  }
}

Configuration

Config file: ~/.config/org-mcp/config.toml (or $XDG_CONFIG_HOME/org-mcp/config.toml).

toml
[org]
org_directory = "~/org/"
org_default_notes_file = "notes.org"
org_agenda_files = ["agenda.org", "projects.org"]
org_todo_keywords = ["TODO", "|", "DONE"]
# Auto-prepend :CREATED: property on capture (default: true)
org_auto_created_property = true
# Auto-stamp CLOSED on done transitions (default: true)
org_auto_closed_timestamp = true

[logging]
level = "info"
file = "~/.local/share/org-mcp-server/logs/server.log"

[cli]
default_format = "plain"  # plain | json

Configuration is resolved in order: CLI flags → environment variables (ORG_ prefix, __ separator, e.g. ORG_ORG__ORG_DIRECTORY) → config file → defaults.

bash
org-cli config init   # create default config file
org-cli config show   # display current resolved config
org-cli config path   # show config file location

CLI Tool

org-cli mirrors the MCP server's capabilities for scripting and testing. Run org-cli --help or org-cli <subcommand> --help for full usage.

Quick examples:

bash
# Search across all org files
org-cli search "project planning"

# Agenda
org-cli agenda today
org-cli agenda list --states TODO,IN_PROGRESS --tags work

# Capture a TODO with planning
org-cli capture "Fix login bug" --todo-state TODO --priority A \
    --scheduled "2026-05-15" --deadline "2026-05-20 -3d"

# Capture under a datetree
org-cli capture "Standup notes" --file journal.org --target-heading Logs --datetree

# Update an existing heading
org-cli update-todo --id abc123 --todo-state DONE
org-cli update-todo --file projects.org --heading-path "Work/Task" \
    --title "Renamed task" --property "EFFORT=2h"

Timestamp grammar for --scheduled, --deadline, --closed: YYYY-MM-DD [HH:MM] [+N{h|d|w|m|y} | ++N{u} | .+N{u}] [-N{u}]

Architecture

Multi-crate Rust workspace:

  • org-core — Business logic and org-mode parsing
  • org-mcp-server — MCP protocol implementation
  • org-cli — CLI interface for testing and direct usage

Built with orgize (org-mode parsing), rmcp (MCP protocol), tokio (async runtime), and nucleo-matcher (fuzzy search).

Development

bash
cargo test                                              # run all tests
cargo test -p org-core                                  # test specific crate
cargo fmt && cargo clippy --all-targets --all-features  # format and lint
cargo run --bin org-cli -- --help                       # run CLI

Roadmap

Phase 1: Core Functionality ✅

  • File discovery and listing
  • Basic content access via MCP resources
  • Org-mode parsing with orgize
  • ID-based element lookup
  • CLI tool for testing
  • Full-text search across org files

Phase 2: Advanced Features 🚧

  • Configuration file support with TOML format
  • Environment variable configuration
  • Unified CLI interface with global configuration
  • Tag-based filtering and querying
  • Agenda-related Functionality
  • Link following and backlink discovery (org-roam support)
  • Metadata caching for performance

Phase 3: Extended Capabilities 🚧

  • Content creation via org-capture (heading + planning + properties + datetree)
  • Content modification: TODO state, priority, tags, and planning updates via org-update-todo / org-cli update-todo
  • Content modification: property drawer updates (upsert/remove individual keys)
  • Content modification: CLOCK / LOGBOOK entries
  • org-promote / org-demote — relative heading level change
  • org-clock — clock in / clock out / cancel clock
  • org-refile — move heading to different file or location
  • org-archive — archive heading to archive file or toggle ARCHIVE tag
  • Media file reference handling
  • Integration with org-roam databases
  • Real-time file watching and updates
  • Advanced query language

License

MIT License - see LICENSE file for details.

Org MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Org MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Org MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Org MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "org-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてOrg MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Org MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Org MCP Serverを使ってこのタスクを手伝ってもらえますか?
Org MCP Server
はい、読みました。
Org MCP Serverで調べた結果をお伝えします。

よくある質問

Org MCP Server MCPサーバーは何に使いますか?

Org MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでOrg MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでOrg MCP Serverを利用できます。

TypingMindでOrg MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Org MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Org MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Org MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでOrg MCP Server MCPのどのようなツールを利用できますか?

Org MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Org MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Org MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇