Sponsored by Deepsite.site

Jotdown - MCP Server for Notion Page Creation and mdBook Generation

Created By
Harry-0278 months ago
An MCP Server in Rust for creating Notion pages & mdBooks with LLMs 🦀
Content

Jotdown - MCP Server for Notion Page Creation and mdBook Generation

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.


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:

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

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

    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):

      "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.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Amap Maps高德地图官方 MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
WindsurfThe new purpose-built IDE to harness magic
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server