Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mcp-notion

БесплатноБез исполняемых скриптовНе проверен

Operates a Notion workspace through the official Notion MCP over Code Mode, filling its API gaps with direct Notion API calls.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

mcp-notion Skill

Notion workspace operations via the official Notion MCP (@notionhq/notion-mcp-server, 24 tools) over Code Mode, plus direct Notion API calls for the five capabilities the MCP does not expose. It knows Notion's data model at the schema layer — data sources, 22 property types, relations, rollups, Formulas 2.0 — so an agent can create, query, and extend a workspace without guessing.


1. MARKDOWN + DATA-SOURCE CONTRACT: READ BEFORE ANY NOTION WRITE

Two shape rules cause most Notion write failures:

  1. Page bodies vs page properties are different surfaces. A page's content is a tree of blocks (append/update via block tools, or the markdown round-trip tools). A page's metadata is properties typed by its parent data source's schema. Writing prose into a property, or a property value into a block, fails or silently truncates.
  2. API 2.0 replaced "databases" with "data sources" (API version 2025-09-03). A database is now a container of one or more data sources; queries, schema, relations, and rollups all target a data source id, not a database id. Using a database id where a data-source id is required is the most common 400.

Markdown round-trip tools (retrieve-page-markdown / update-page-markdown) require API version 2026-03-11 and are the token-efficient path for AI. Full detail: references/database-model.md and references/mcp-tools.md.

Failure symptom: a validation_error naming data_source_id, or property writes that vanish, means a database id was used where a data-source id was required, or content was routed to the wrong surface.


2. WHEN TO USE

Activation Triggers (explicit user phrases)

  • "notion", "notion mcp", "notion api", "mcp-notion"
  • "notion page", "notion database", "notion data source", "query notion"
  • "create a notion page", "add a row", "notion property", "notion relation", "notion rollup", "notion formula"
  • "notion token", "notion integration", "ntn_", "notion search"
  • "upload a file to notion", "notion view", "notion async task"

Automatic Triggers (keyword patterns)

  • notion + any action verb (create, read, update, query, search, append, archive)
  • "data source" / "property" / "rollup" / "relation" in a Notion context
  • MCP tool names: create-a-page, query-data-source, retrieve-a-page (namespaced notion.notion_<name>)

When NOT to Use

  • Community Notion MCP servers (suekou/mcp-notion-server, awkoy/notion-mcp-server) — this mode uses the official @notionhq/notion-mcp-server only.
  • Notion→Obsidian migration mechanics (running the importer itself) — the importer runs inside the Obsidian desktop app, not here; this mode is the read-side inventory enabler (references/migration-inventory.md), not the importer.
  • Generic markdown authoring with no Notion workspace — use @markdown / sk-doc.
  • Non-Notion knowledge apps (Obsidian, ClickUp docs) — wrong surface (mcp-obsidian, mcp-click-up).

3. SMART ROUTING

The mcp-tooling hub routes a Notion request here when the prompt names Notion or one of its surfaces (a page, a database or data source, a property, a relation, a token) and the hub's mcp-notion signal selects this packet. The router makes two decisions: the official 24-tool MCP carries page, block, data-source, comment, user and search work while direct Notion API calls fill the five gaps, and the backend is the headless local stdio server, with the remote OAuth server only for an interactive session.

references/mcp-tools.md is the default reference and the fallback suggestion, references/database-model.md and references/property-types.md load for schema intent, references/api-gap-tools.md for a gap, references/troubleshooting.md for install or an error, and references/migration-inventory.md for a migration inventory.

A request that scores no intent returns UNKNOWN_FALLBACK with its disambiguation checklist, never a silent default. Read ROUTER.md before selecting skill-local resources; open only the matched files.


4. HOW IT WORKS

Backend Comparison

Dimension Local stdio (default, headless) Remote MCP (interactive)
Transport stdio via npx -y @notionhq/notion-mcp-server Streamable HTTP at https://mcp.notion.com/mcp
Auth NOTION_TOKEN (ntn_… internal-integration token) OAuth (browser)
Headless? Yes — the only Code-Mode-capable backend No — interactive only
Tool names create-a-page, retrieve-a-page, … notion-create-pages, … + async tasks
Status Deprecated by Notion, still functional Recommended by Notion
Used by Code Mode / automation Human-in-the-lo
Полный SKILL.md на GitHub

Установить mcp-notion в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Edit
Glob
Grep
mcp__code_mode__call_tool_chain
Read
Write

Вложенные файлы

INSTALL-GUIDE.mdREADME.mdROUTER.mdchangelog/v0.1.0.0.mdchangelog/v0.1.1.0.mdchangelog/v0.1.2.0.mdchangelog/v0.1.3.0.mdchangelog/v0.1.4.0.mdchangelog/v0.1.5.0.mdexamples/README.mdfeature-catalog/FEATURE-CATALOG.mdfeature-catalog/api-gap-fills/async-task-polling.mdfeature-catalog/api-gap-fills/daily-notes.mdfeature-catalog/api-gap-fills/file-uploads.mdfeature-catalog/api-gap-fills/page-property-items.mdfeature-catalog/api-gap-fills/views.mdfeature-catalog/blocks/append-block-children.mdfeature-catalog/blocks/delete-a-block.mdfeature-catalog/blocks/retrieve-a-block.mdfeature-catalog/blocks/retrieve-block-children.mdfeature-catalog/blocks/update-a-block.mdfeature-catalog/comments/create-a-comment.mdfeature-catalog/comments/list-comments.mdfeature-catalog/data-sources/create-a-data-source.mdfeature-catalog/data-sources/list-data-source-templates.mdfeature-catalog/data-sources/query-data-source.mdfeature-catalog/data-sources/retrieve-a-data-source.mdfeature-catalog/data-sources/retrieve-a-database.mdfeature-catalog/data-sources/update-a-data-source.mdfeature-catalog/pages/archive-a-page.mdfeature-catalog/pages/create-a-page.mdfeature-catalog/pages/move-page.mdfeature-catalog/pages/retrieve-a-page.mdfeature-catalog/pages/retrieve-page-markdown.mdfeature-catalog/pages/update-page-markdown.mdfeature-catalog/pages/update-page-properties.mdfeature-catalog/search/search.mdfeature-catalog/users/list-all-users.mdfeature-catalog/users/retrieve-a-user.mdfeature-catalog/users/retrieve-bot-user.md

FAQ

Что делает скилл mcp-notion?

Operates a Notion workspace through the official Notion MCP over Code Mode, filling its API gaps with direct Notion API calls.

Как установить скилл mcp-notion?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mcp-notion запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mcp-notion с