
一个用Rust制作的MCP服务器,用于创建带有LLM 🦀的Notion页面和mdBooks。
概览
Jotdown 是一个模型上下文协议(MCP)服务器,允许大型语言模型(LLM)与 交互并生成 。它为 LLM 提供了两个主要工具: - 👉 : 创建或更新由大型语言模型生成内容的页面。- 👉 : 从内容生成页面并管理结构。 Jotdown 使大型语言模型能够无缝集成这些系统,实现各种内容管理和发布工作流程。 - 🌿 : 自动创建或更新由大型语言模型生成内容的 Notion 页面。- 🌿 : 直接从内容创建和管理,包括生成必要的文件,如 SUMMARY.md、README.md 和单个章节标记文件。- 🌿 : 利用模型上下文协议(Model Context Protocol)维护交互上下文,实现更智能且一致的内容创建和更新。 LLM可以使用Notion工具在Notion内创建或更新页面,从而直接在Notion中存储结构化内容,如文章或其他类型的文档。
概述(AI 翻译)
Jotdown 是一个模型上下文协议(MCP)服务器,允许大型语言模型(LLM)与 Notion** 交互,并生成 Markdown 书籍。它为 LLM 提供两个主要工具:
- 👉 Notion 集成:在 Notion 中创建或更新由 LLM 生成内容的页面。
- 👉 Mdbook 生成:从内容生成 mdbook 并管理结构。
Jotdown 使大型语言模型能够无缝集成这些系统,实现各种内容管理和发布工作流程。
由MCPHub认证
- 👉 JotDown
特色
- 🌿 Notion 集成:自动创建或更新由 LLM 生成内容的 Notion 页面。
- 🌿 Mdbook 生成:直接从内容创建和管理 mdbooks,包括生成必要文件如
SUMMARY.md、README.md以及单独章节的标记文件。 - 🌿 MCP 支持:利用模型上下文协议(Model Context Protocol)维护交互上下文,实现更智能且一致的内容创建和更新。
工具由 Jotdown 提供
1.Notion页面工具
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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.
Certified by MCPHub
- 👉 JotDown
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
-
Clone the repository:
git clone https://github.com/Harry-027/JotDown cd jotdown -
Install dependencies:
cargo build --release -
Install mdbook cli (required for the book generation to work):
cargo install mdbook
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
"mcpServers": {
"Jotdown": {
"command": "/path_to_repo/Jotdown/target/release/Jotdown",
"args": [],
"env": {
"NOTION_TOKEN": "your_notion_intergration_token"
}
}
}