Skip to main content
Glama
notion-mcp-server

notion-mcp-server

by awkoy

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NOTION_TOKENYesYour Notion API key from Notion Developers
NOTION_PAGE_IDYesThe ID of your Notion page where the integration is enabled

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Notion MCP server. notion_read(operation, payload) runs one read operation and notion_write(operation, payload) one write operation; each tool's operation enum is its complete menu. notion_describe(operation) returns an operation's JSON Schema and a working example; the notion://operations resource lists every operation with a one-line summary.

How to work:

  • Find things with search_pages (title search across pages and databases) or query_database. Results are slimmed to id, title, url and a few fields. Every id field also accepts a Notion URL, so paste links as-is.

  • Read a page with get_page_markdown for prose, or get_page with include_properties:true for a database row's fields.

  • Write prose as markdown: create_page and append_blocks take a markdown field (GFM: headings, lists, checkboxes, tables, code). Use raw children blocks only for what markdown cannot express.

  • A database has one or more data sources. query_database resolves single-source databases itself and filters with where { Status: "Done" }; to create a row use parent { type: "data_source_id", data_source_id } from search results or list_data_sources. Row properties take plain values: { Status: "Done", Due: "2026-01-01", Tags: ["a"] }.

  • Batchable operations take payload { items: [...], atomic?, concurrency?, idempotency_key? } and run in one call with per-item results.

  • Errors carry code, message and fix plus the slice of the schema you got wrong: correct and retry. A result's warnings list fields that were ignored. Call notion_describe only for complex shapes (property definitions, block trees).

  • Archive and delete operations cannot be undone through the API; confirm with the user before running them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
notion_readA

Run one Notion read operation by name. Nothing is modified.

Call: { operation, payload } — payload carries that operation's fields. Common: search_pages { query }, get_page { page_id }, get_page_markdown { page_id }, query_database { database_id, where? }, get_block_children { block_id }.

Responses are slimmed; pass verbose:true in payload for the raw Notion object. Every id field (page_id, block_id, database_id, view_id, …) also accepts a Notion URL, as copied from Share → Copy link. A block link's #fragment is used for block_id fields and a database link's ?v= for view_id fields.

If the payload is malformed, the error response includes the schema + a working example so you can correct and retry in one round-trip. Call notion_describe(operation) ahead of time only for complex shapes (query_database filters).

notion_writeA

Run one Notion write operation by name. Archive, trash and delete operations remove content — confirm with the user before running them.

Two ways to call: • Single: { operation: "set_page_title", payload: { page_id, title } } • Batch: { operation: "set_page_title", payload: { items: [{page_id, title}, ...], atomic?: false, idempotency_key?: "...", concurrency?: 3 } } create_page, append_blocks, update_block and update_page_markdown also take a markdown string.

Responses are slimmed; pass verbose:true inside payload (single) or per item (batch) for the raw Notion object. Every id field (page_id, block_id, database_id, view_id, …) also accepts a Notion URL, as copied from Share → Copy link.

If the payload is malformed, the error response includes the schema + a working example so you can correct and retry in one round-trip. Call notion_describe(operation) ahead of time only for complex shapes (block trees, database property definitions, batch_mixed_blocks).

notion_describeA

Return the JSON Schema and a working example for one operation, plus which tool runs it (notion_read or notion_write). Use this BEFORE calling the operation when the payload shape is non-trivial (query filters, structured block trees, database property definitions). For simple ops, just call it — errors carry the schema.

Prompts

Interactive templates invoked by user choice

NameDescription
create_taskCreate a new task page in Notion with optional status and due date.
weekly_reviewSummarize tasks marked Done in the last 7 days from a Notion database.
find_pagesSearch Notion and show the top 5 matching pages.
daily_logAppend a timestamped paragraph to a daily-log page in Notion.

Resources

Contextual data attached and managed by the client

NameDescription
operations-indexMarkdown table of every supported operation, batchability, and one-line description.

TDQS

A4.7/5.0

Scored across 3 tools

Disambiguation5/5

The three tools have clearly distinct roles: read-only operations, mutating operations, and schema/example introspection. There is no overlap between tool purposes, and the read/write separation gives a predictable safety boundary. The many underlying operations are namespaced under one tool rather than exposed as competing tools, which avoids misselection.

Naming Consistency5/5

All three names follow the same exact pattern: a consistent server prefix plus a clear verb, in snake_case (notion_read, notion_write, notion_describe). No mixed conventions or variant naming styles are present.

Tool Count5/5

Three tools are well-suited to a dispatcher-style server over a very large API surface. Each tool earns its place by separating read, write, and schema-discovery concerns, and the count stays lean without fragmenting into dozens of operation-specific tools.

Completeness5/5

The surface covers the full lifecycle through operations: search and get for pages, query databases, block children, plus create, append, update, archive/trash/delete, with batching and markdown support. notion_describe fills the discovery gap for complex payloads, and error responses carry schemas for self-correction. This is a coherent, complete dispatcher surface with no obvious dead ends.

Maintenance

ActivityActive
ResponsivenessUsually handled