Skip to main content
Glama
kirvigen

notion-private-api-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NOTION_TOKEN_V2YesYour Notion session cookie (token_v2)
NOTION_PRIVATE_API_BASENoAPI base URL (default: https://www.notion.so)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_pageC

Read a Notion page through the Notion private API.

get_blockB

Read a single Notion block through the private API.

get_block_childrenB

Read direct child blocks for a page or block through the private API.

get_style_documentationA

Return the catalog of supported block types, inline annotations (bold/italic/code/link/color/mention), Markdown-to-Notion mapping and block format hints used by this MCP server. Call this before composing complex pages to know what styles you can produce.

markdown_to_blocksB

Convert Markdown into the simplified block JSON format.

create_pageB

Create a child page under another page from blocks or Markdown.

append_blocksB

Append simplified blocks or Markdown to a page. Inserts at the end by default; pass after_block_id to insert immediately after a specific direct child block.

replace_page_contentB

Replace direct child blocks of a page with blocks or Markdown.

delete_blocksA

Remove direct child blocks from a page and archive those blocks.

update_block_textA

Replace the plain text content of a block (e.g. code block). Inline markdown is NOT parsed — text is stored verbatim.

sync_markdown_fileB

Create a new page or replace an existing page from a local Markdown file.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/kirvigen/notion-private-api-mcp'

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