NotionMCP Server
Supports conversion of markdown-like content into Notion blocks, enabling seamless transformation of formatted text into Notion's native format.
Provides tools for creating, updating, and searching Notion pages, converting plain text and markdown-like content into Notion blocks, and supporting append/replace operations on existing Notion content.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NotionMCP Servercreate a new page titled 'Project Meeting Notes' with today's date"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NotionMCP Server
A Python server that integrates MCP with Notion to automate documentation workflows and manage Notion via LLMs.
Features
Exposes MCP tools for creating, updating, and searching Notion pages
Converts plain text and markdown-like content into Notion blocks
Supports appending and replacing content in Notion pages
Provides debug information for troubleshooting
Related MCP server: Notion MCP Server
Requirements
Python 3.10+
Notion integration token and parent page ID
MCP server and CLI
See requirements.txt for Python dependencies
Setup
Clone the repository and navigate to the project directory.
Install dependencies:
pip install -r requirements.txtConfigure environment variables:
Find the related API key and parent page ID from your Notion
API key is the integration key
Parent page ID is the target page we use to interact with LLMs prompt
Set
NOTION_API_KEYandNOTION_PARENT_IDin.envfile
Run the server:
python notionMCP_server.pyEdit LLMs config file to recognize MCP server:
In this project, I used Claude desktop, here is how to edit the config
Find
claude_desktop_config.jsonand edit as follows:
{ "mcpServers": { "NotionMCP": { "command": "path_to_the_exe_python_file_running_your_server", "args": ["path_to_python_server_file(notionMCP_server.py)"], "env": {} } } }Use
which pythonto find the executable python file running your server
License
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for generating rough-draft project plans from natural-language prompts.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseAqualityDmaintenanceA high-performance MCP server that integrates Notion into AI workflows, enabling interaction with Notion pages, databases, and comments through a standardized protocol.813 npm27Apache 2.0
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables natural language interaction with the Notion API, allowing users to search, comment, create pages, and access content within their Notion workspace.122,532 npm-
- -licenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that enables AI assistants to interact with Notion's API for reading, creating, and modifying Notion content through natural language interactions.-
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to interact with Notion workspaces via the Notion API, supporting page creation, database management, and content retrieval. It features markdown conversion to optimize token usage and enhanced error handling for more reliable workspace interactions.199 npm1MIT