This MCP server integrates with Notion's API to manage your personal todo list. It allows you to view, add, and update tasks in your Notion workspace directly through Claude Desktop with Model Context Protocol (MCP).
To install Notion MCP for Claude Desktop automatically:
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:
Share your database/page with the integration:
cp .env.example .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"
{
"mcpServers": {
"notion-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/username/Projects/Python/notion-mcp/src", /* Path to your project */
"run",
"server.py"
]
}
}
}
To show all tasks from your Notion workspace:
{
"name": "show_all_todos",
"arguments": {}
}
To add a new task to your Notion workspace:
{
"name": "add_todo",
"arguments": {
"task": "Your task description"
}
}
To mark a task as complete in your Notion workspace:
{
"name": "complete_todo",
"arguments": {
"task_id": "your-task-id"
}
}
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.