Skip to main content
Glama

Notion MCP

понятие-mcp

Простой сервер Model Context Protocol (MCP), который интегрируется с API Notion для управления моим личным списком дел.

Демо

Демо

Визуальное руководство

Запрос MCP Notion 1

Запрос MCP Notion 1

Запрос Notion MCP 2

Запрос MCP Notion 1

Запрос Notion MCP 3

Запрос MCP Notion 1

Предпосылки

  • Python 3.11 или выше
  • Учетная запись Notion с доступом к API
  • Интеграционный токен Notion
  • Страница Notion, на которой вы можете управлять своим списком дел
  • Клод Настольный клинт

Настраивать

Установка через Smithery

Чтобы автоматически установить Notion MCP для Claude Desktop через Smithery :

npx -y @smithery/cli install @Badhansen/notion-mcp --client claude
  1. Клонируйте репозиторий:
git clone https://github.com/Badhansen/notion-mcp.git cd notion-mcp
  1. Настройте среду Python:
uv venv source .venv/bin/activate uv pip install -e .
  1. Создайте интеграцию Notion:
  2. Поделитесь своей базой данных/страницей с интеграцией:
    • Откройте рабочее пространство с базой данных/таблицей или страницей.
    • Нажмите меню «...» → «Добавить соединения».
    • Выберите вашу интеграцию (поиск по имени)

Конфигурация

  1. Создайте файл .env :
cp .env.example .env
  1. Настройте учетные данные Notion в .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"
  1. Чтобы использовать его с Claude Desktop, как задумано, вам нужно настроить файл claude_desktop_config.json . Перейдите в Claude Desktop -> Settings -> Developer -> Edit Config . Теперь добавьте конфигурацию сервера Notion .
{ "mcpServers": { "notion-mcp": { "command": "uv", "args": [ "--directory", "/Users/username/Projects/Python/notion-mcp/src" /* Path to your project */, "run", "server.py" ] } } }

Разработка

Структура проекта:

notion-mcp/ ├── docs/ ├── src/ │ └── server.py ├── .env ├── .python-version ├── README.md ├── pyproject.toml └── uv.lock

Функции поддержки

Показать задачи

Чтобы отобразить все задачи из вашего рабочего пространства Notion, используйте функцию show_all_todos :

{ "name": "show_all_todos", "arguments": {} }
Добавить задачу

Чтобы добавить новую задачу в рабочее пространство Notion, используйте функцию add_todo :

{ "name": "add_todo", "arguments": { "task": "Your task description" } }
Задача обновления

Чтобы обновить существующую задачу в рабочей области Notion, используйте функцию complete_todo :

{ "name": "complete_todo", "arguments": { "task_id": "your-task-id" } }

Внося вклад

  1. Форк репозитория
  2. Создать ветку функций
  3. Отправить запрос на извлечение

Лицензия

Лицензия MIT. Подробности см. в файле LICENSE.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Сервер Model Context Protocol, который интегрируется с API Notion для управления личными списками дел, позволяя пользователям просматривать, добавлять и обновлять задачи непосредственно из Claude.

  1. Демо
    1. Визуальное руководство
      1. Запрос MCP Notion 1
      2. Запрос Notion MCP 2
      3. Запрос Notion MCP 3
    2. Предпосылки
      1. Настраивать
        1. Установка через Smithery
      2. Конфигурация
        1. Разработка
          1. Функции поддержки
            1. Показать задачи
            2. Добавить задачу
            3. Задача обновления
          2. Внося вклад
            1. Лицензия

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list through Claude.
                Last updated -
                117
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A 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.
                Last updated -
                95
                Python
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                A Model Context Profile server that enables Claude to interact with Todoist, allowing users to create, retrieve, update, and manage tasks through natural language commands.
                Last updated -
                1
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that bridges Claude with Google Tasks, allowing users to manage task lists and tasks directly through Claude interface.
                Last updated -
                5
                TypeScript
                MIT License
                • Apple

              View all related MCP servers

              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/Badhansen/notion-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server