Jotdownのロゴ

Jotdown

コミュニティ
Harry-027

An MCP Server in Rust for creating Notion pages & mdBooks with LLMs 🦀

公開者Harry-027
リポジトリJotDown
言語Rust
フォーク
8
スター
23
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

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

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

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

  • コピーして使える設定

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

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

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

Jotdown - MCP Server for Notion Page Creation and mdBook Generation

Trust Score

Jotdown is a Model Context Protocol (MCP) server that allows large language models (LLMs) to interact with Notion and also generate Markdown Books. It provides two primary tools for LLMs:

  • 👉 Notion Integration: Create or update pages in Notion with content generated by the LLM.
  • 👉 Mdbook Generation: Generate a mdbook from content and manage the structure.

Jotdown enables LLMs to seamlessly integrate with these systems for various content management and publishing workflows.


Certified by MCPHub


Features

  • 🌿 Notion Integration: Automatically create or update Notion pages with content generated by the LLM.
  • 🌿 Mdbook Generation: Create and manage mdbooks directly from content, including generating necessary files like SUMMARY.md, README.md, and individual chapter markdown files.
  • 🌿 MCP Support: Leverages the Model Context Protocol to maintain context over interactions, enabling more intelligent and consistent content creation and updates.

Tools Provided by Jotdown

1. Notion Page Tool

LLMs can use the Notion tool to create or update pages within Notion, allowing them to store structured content like articles or any other type of document directly in Notion.

Example:

  • Create a new page in Notion with content that the LLM has generated.
  • Update an existing Notion page with new information.

2. mdbook Tool

With the mdbook tool, LLMs can automatically generate markdown books, handling the creation of multiple chapters, managing the structure, and adding a SUMMARY.md file for navigation.

Example:

  • Generate a new book based on LLM-generated content.
  • Automatically generate chapters with proper links in SUMMARY.md.

Installation

Prerequisites

  • Rust: Make sure you have Rust installed. You can install it from rust-lang.org.
  • Notion API Token: You will need a Notion API token (internal integration secret) to integrate with Notion.
  • Claude Desktop: Make sure you have Claude desktop or any other MCP client (Cline, Continue etc) installed and configured with a Notion integration token.

Steps to Install

  1. Clone the repository:

    bash
    git clone https://github.com/Harry-027/JotDown
    cd jotdown
  2. Install dependencies:

    bash
    cargo build --release
  3. Install mdbook cli (required for the book generation to work):

    bash
    cargo install mdbook
  4. Notion setup:

    • Setup Notion connection (internal intergation with access to Notion workspace) & copy the internal intergration secret for later use.
    • Setup a page with title Jot It Down in your workspace and share it with your connection. This is required for the integration to work.
  5. Set up Claude desktop (or any other MCP client) configuration file (for Notion integration):

    json
      "mcpServers": {
            "Jotdown": {
                "command": "/path_to_repo/Jotdown/target/release/Jotdown",
                "args": [],
                "env": {
                    "NOTION_TOKEN": "your_notion_intergration_token"
                }
            }
      }
  6. Restart Claude desktop and try it out!


Notion Integration Example:

  • To create or update a Notion page, the LLM sends a request to the server specifying the content and page details. The server then interacts with the Notion API to either create a new page or update an existing one.

Mdbook Integration Example:

  • LLMs can send structured content to the server to create an entire mdbook, including chapter creation, README.md, and SUMMARY.md management. The server compiles the content into a complete book.

🧑‍💻 Demo

Notion Demo -

Demo Notion

MdBook Demo -

Demo mdbook

MdBook Screenshots -

Demo mdbook screenshot 1 Demo mdbook screenshot 2


🧑‍💻 Contributing

Feel free to open issues or submit pull requests.


📜 License

Jotdown is licensed under the MIT License. See the LICENSE file for details.


📧 Contact

For support or inquiries, reach out at harishmmp@gmail.com.

インストール

TypingMind
{
  "mcpServers": {
    "jotdown": {
      "command": "./target/release/Jotdown",
      "args": [],
      "env": {
        "NOTION_TOKEN": "<NOTION_TOKEN>"
      }
    }
  }
}

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

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Jotdownに接続すれば、モデルごとに個別に設定することなく、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

Jotdownをサーバーとして追加

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

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

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

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

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

よくある質問

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

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

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

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

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

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

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

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

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

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

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

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

関連するMCPサーバー

すべて見る

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

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