You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
Badhansen / notion-mcp Public
A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list.
3 stars
1 fork
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
master
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
Badhansen
Merge pull request
#1
from smithery-ai/smithery/config-akw5
Mar 15, 2025
3375dc0
· Mar 15, 2025
History
-------
13 Commits
| | |
| docs/assets | | docs/assets | docs(readme): update image display section and add demo video | Feb 3, 2025 |
| src | | src | fix: fixed task completion API call | Feb 2, 2025 |
| .env.example | | .env.example | feat(server): implement basic MCP server | Feb 2, 2025 |
| .gitignore | | .gitignore | feat(server): implement basic MCP server | Feb 2, 2025 |
| .python-version | | .python-version | feat(server): implement basic MCP server | Feb 2, 2025 |
| Dockerfile | | Dockerfile | Add Dockerfile | Mar 13, 2025 |
| LICENSE | | LICENSE | Added LICENSE | Feb 2, 2025 |
| README.md | | README.md | Update README | Mar 13, 2025 |
| pyproject.toml | | pyproject.toml | feat(server): implement basic MCP server | Feb 2, 2025 |
| smithery.yaml | | smithery.yaml | Add Smithery configuration | Mar 13, 2025 |
| uv.lock | | uv.lock | feat(server): implement basic MCP server | Feb 2, 2025 |
| View all files | | |
A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list.
To install Notion MCP for Claude Desktop automatically via Smithery
:
npx -y @smithery/cli install @Badhansen/notion-mcp --client claude
git clone https://github.com/Badhansen/notion-mcp.git
cd notion-mcp
uv venv
source .venv/bin/activate
uv pip install -e .
Create a Notion integration:
Create new integration
.env
file:cp .env.example .env
.env
:NOTION_TOKEN=<your-notion-api-token>
PAGE_ID=<your-notion-page-id>
NOTION_VERSION="2022-06-28"
NOTION_BASE_URL="https://api.notion.com/v1"
claude_desktop_config.json
file. Go to Claude Desktop -> Settings -> Developer -> Edit Config
. Now add the Notion
server configuration.{
"mcpServers": {
"notion-mcp": {
"command": "uv",
"args": [\
"--directory",\
"/Users/username/Projects/Python/notion-mcp/src" /* Path to your project */,\
"run",\
"server.py"\
]
}
}
}
Project structure:
notion-mcp/
├── docs/
├── src/
│ └── server.py
├── .env
├── .python-version
├── README.md
├── pyproject.toml
└── uv.lock
To show all tasks from your Notion workspace, use the show_all_todos
function:
{
"name": "show_all_todos",
"arguments": {}
}
To add a new task to your Notion workspace, use the add_todo
function:
{
"name": "add_todo",
"arguments": {
"task": "Your task description"
}
}
To update an existing task in your Notion workspace, use the complete_todo
function:
{
"name": "complete_todo",
"arguments": {
"task_id": "your-task-id"
}
}
MIT License. See LICENSE file for details.
A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list.
No releases published
No packages published
You can’t perform that action at this time.