brian3814
MCP Serverbrian3814public

notion_fastmcp

一个基于 Notion API 的任务管理工具,支持通过 Cursor IDE 查询任务。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

一个基于 Notion API 的任务管理工具,支持通过 Cursor IDE 查询任务。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Prerequisites

  • Python 3.10 or higher
  • A Notion account with an API integration set up
  • Notion database with tasks (required properties: "Task", "Checkbox", "Deadline")
  • Cursor IDE

Installation

  1. Create a virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    uv pip install -e .
    
  2. Set up .env file in the project root:

    NOTION_API_KEY=your_notion_api_key
    NOTION_DATABASE_ID=your_database_id
    NOTION_BASE_URL=https://api.notion.com/v1
    NOTION_VERSION=2022-06-28
    

Setting Up Notion Integration

  1. Go to Notion Integrations
  2. Create a new integration and note the API key
  3. Share your database with the integration
  4. Get your database ID from the URL (it's the part after the workspace name and before the question mark)

Adding to Cursor Settings

  1. Open Cursor IDE
  2. Open Settings (⌘+shift+p), navigate to "MCP" tab
  3. Click "Add new global MCP server"
  4. Configure the Notion MCP with the following settings:
  {
    "mcpServers": {
      "myNotionMcp":{
        "command": "{path-to-venv-python}",
        "args": ["-m", "notion_mcp"]
      }
    }
  }
  1. Save the settings

Usage

Once configured, you can use the Notion MCP in Cursor by asking the AI assistant questions like:

  • "What tasks should I complete this week?"
  • "Show me my todos for today"
  • "What are all my pending tasks?"

Troubleshooting

  • Ensure your .env file is properly configured with the correct Notion API key and database ID
  • Check that your Notion database has the required properties: "Task", "Checkbox", and "Deadline"
  • Make sure your Notion integration has been granted access to your database
  • If you encounter any issues, try restarting Cursor

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/brian3814/notion_fastmcp
2

Install dependencies

cd notion_fastmcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerbrian3814
Reponotion_fastmcp
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation