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.4/5.0

Scored across 3 tools

Disambiguation4/5

The three tools have clearly distinct roles: read-only operations, mutating operations, and schema introspection. Within each tool many operations share one entry point, so an agent must rely on operation names in the descriptions; read/write boundaries are explicit but operation selection within a tool is less guided.

Naming Consistency5/5

All three names follow the same notion_<verb> pattern: notion_read, notion_write, notion_describe. The convention is predictable and immediately communicates intent and risk level.

Tool Count4/5

Three tools is small, but this is a deliberate operation-dispatch design where each tool multiplexes many Notion operations. The count is appropriate for the consolidated interface, though the hidden operation surface makes discovery less obvious than a larger explicit tool set.

Completeness4/5

The set covers the core Notion lifecycle: search/read pages and databases, query databases, read blocks, create/update content, append blocks, archive/trash/delete, plus schema description. Some Notion domains such as comments, users, and workspace administration are not mentioned, leaving minor gaps.

Maintenance

ActivityActive
ResponsivenessUsually handled