NotionMCP Light
Provides bidirectional conversion between Markdown format and Notion's block structure, with support for elements like headers, allowing seamless content transfer between Markdown files and Notion.
Allows synchronization between Markdown files and Notion pages/databases, supporting both uploading Markdown content to create or update Notion pages and downloading Notion pages as Markdown files.
Click on "Install 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 Lightupload my meeting notes from meeting-notes.md to the project database"
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 Light
NotionMCP Light is a Model Context Protocol (MCP) server that uses the Notion API to sync Markdown files with Notion pages.
overview
This project was developed to address the inefficiencies of Notion's official Model Context Protocol (MCP) server (which reads and writes Markdown in blocks and consumes LLM tokens). It provides an unofficial MCP server that does not consume tokens and can sync Markdown files directly with Notion's pages/database via API.
Related MCP server: Notion MCP Server
function
Markdown → Notion
Recognize H1 as page title
Create Markdown content as a Notion page or a database page
Database ID can be specified
Using the Notion API directly (no tokens)
Notion → Markdown
Converts a given page or a page in a database to Markdown format.
Output title as H1
Convert block structure to Markdown
Save to File
MCP server support
Model Context Protocol (MCP) compliant
Provides endpoints that can be called from AI tools such as Cursor and Cline
JSON-RPC over stdio based
install
Installing dependencies
# uvがインストールされていない場合は先にインストール
# pip install uv
# 依存関係のインストール
uv syncSetting up Notion API Token
Create an account on Notion Developers and get an API token.
You can set it in an environment variable or create a
.envfile and set the token.
# .envファイルの例
NOTION_TOKEN=your_notion_api_tokenHow to use
Starting the MCP Server
When using UV (recommended)
uv run python -m src.mainOr, if you want to specify the token directly:
uv run python -m src.main --token your_notion_api_tokenIf you use regular Python
python -m src.mainOr, if you want to specify the token directly:
python -m src.main --token your_notion_api_tokenSetting in Cline/Cursor
To use NotionMCP Light with AI tools such as Cline/Cursor, add the following settings to your mcp_settings.json file:
"notion-mcp-light": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/notion-mcp-light",
"python",
"-m",
"src.main"
],
"env": {
"NOTION_TOKEN": "your_notion_api_token"
},
"disabled": false,
"alwaysAllow": []
}Replace /path/to/notion-mcp-light with the installation directory of NotionMCP Light.
How to use MCP Tools
NotionMCP Light offers the following MCP tools:
uploadMarkdown
Upload your Markdown file and create it as a Notion page.
{
"jsonrpc": "2.0",
"method": "uploadMarkdown",
"params": {
"filepath": "path/to/markdown.md",
"database_id": "optional_database_id",
"page_id": "optional_parent_page_id"
},
"id": 1
}downloadMarkdown
Download your Notion page and save it as a Markdown file.
{
"jsonrpc": "2.0",
"method": "downloadMarkdown",
"params": {
"page_id": "notion_page_id",
"output_path": "path/to/output.md"
},
"id": 2
}license
This project is released under the MIT License, see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.108373MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.111MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.128371MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for AI models to access, query, and modify content in Notion workspaces.8374MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/karaage0703/notion-mcp-light'
If you have feedback or need assistance with the MCP directory API, please join our Discord server