notion-full-mcp
v0.5.1Notion MCP server: deep reads, block editing, safe snapshot/restore, file uploads, page move/copy
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_pages Search Pages
Search Notion pages by title. Returns page IDs, titles, and URLs.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
max_results | integer |
search Search
Search Notion pages and/or databases.
| Parameter | Type | Description |
|---|---|---|
query * | string | Text to search for. |
filter_type | string | Restrict results to "page", "database", or "" for both. |
max_results | integer | Maximum number of results to return. |
get_page_info Get Page Info
Get metadata for a Notion page (title, parent, dates, URL).
| Parameter | Type | Description |
|---|---|---|
page_id * | string |
read_page_deep Read Page Deep
Read a Notion page with all nested children recursively.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The Notion page ID. |
format | string | Output format - 'markdown' for readable text, 'json' for full block tree. |
max_depth | integer | Maximum nesting depth to fetch (default 5). |
list_block_children List Block Children
List direct children of a block or page (shallow, no recursion). Returns block IDs, types, and optionally their text content. Useful for finding specific block IDs before surgical edits.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | |
include_text | boolean |
update_block_text Update Block Text
Replace all text in a specific block with new plain text. Preserves the block type but replaces all rich text content. Use find_replace_in_block for targeted text changes that preserve formatting.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | |
new_text * | string |
find_replace_in_block Find Replace In Block
Find and replace text within a block, preserving all formatting. Replaces occurrences of old_text with new_text in each rich text segment while keeping bold, italic, links, and other annotations intact. Returns an error (not a silent no-op) if old_text does not appear in the block. The error message includes the block's current plain text so the caller can diagnose Unicode / whitespace / formatting mismatches (e.g., en-dash U+2013 vs hyphen-minus U+002D, curly vs straight quotes, non-breaking space U+00A0 vs regular space). Use update_block_text or update_table_cell for full-text replacement…
| Parameter | Type | Description |
|---|---|---|
block_id * | string | |
new_text * | string | |
old_text * | string |
update_block_rich_text Update Block Rich Text
Update a block's rich text with fully specified formatting. rich_text_json should be a JSON array of rich text objects, e.g.: [{"type":"text","text":{"content":"Bold text"},"annotations":{"bold":true}}]
| Parameter | Type | Description |
|---|---|---|
block_id * | string | |
rich_text_json * | string |
insert_blocks_after Insert Blocks After
Insert new blocks after a specific block. blocks_json should be a JSON array of block objects. Use make_block format: [{"type":"paragraph","paragraph":{"rich_text":[{"type":"text","text":{"content":"Hello"}}]}}] For simple cases, use insert_text_after instead.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | |
blocks_json * | string |
insert_text_after Insert Text After
Insert a simple text block after a specific block.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | The block to insert after. |
text * | string | The text content. |
block_type | string | Block type (paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, quote, etc.) |
append_blocks_to_page Append Blocks To Page
Append blocks to the end of a page. blocks_json should be a JSON array of block objects.
| Parameter | Type | Description |
|---|---|---|
blocks_json * | string | |
page_id * | string |
upload_file Upload File
Upload a file to Notion's own storage. Returns a ``file_upload_id`` that can be referenced in image, file, pdf, or video blocks via ``{"type": "file_upload", "file_upload": {"id": ...}}``. For the common case of uploading an image and creating a block in one step, use ``upload_image_as_block`` instead.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Local path to the file (PNG, JPEG, GIF, SVG, PDF, etc.), up to 20 MiB. |
upload_image_as_block Upload Image As Block
Upload an image file to Notion and insert it as a new image block. The image is stored in Notion's own workspace storage, so no external image host is needed.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Local path to the image (PNG, JPEG, GIF, SVG, WEBP, etc.) |
after_block_id | string | If provided, insert immediately after this block (siblings). |
caption | string | Optional caption text for the image. |
parent_id | string | If after_block_id is empty, append to this page/block instead. |
replace_image_block Replace Image Block
Replace an existing image block's content with a newly uploaded image. Preserves the block's position in the parent: the new image is inserted where the old one was and the old block is deleted. The block ID changes.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | The existing image block to replace. |
file_path * | string | Local path to the new image. |
caption | string | Optional caption for the new image (omit to drop the old one). |
download_image_block Download Image Block
Download the image file from an image block to a local path. Works for all three image source types: external URL, Notion-hosted file, and file_upload references. Notion-hosted URLs are signed and short-lived, so this tool re-fetches them at call time.
| Parameter | Type | Description |
|---|---|---|
block_id * | string | The image block to download from. |
output_path * | string | Local path to write the image to. |
upload_file_as_block Upload File As Block
Upload a file (PDF, doc, any attachment) to Notion and insert as a file block. Analogous to upload_image_as_block but for non-image files. Use this for PDFs, spreadsheets, archives, etc.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Local path to the file. |
after_block_id | string | If provided, insert after this block (siblings). |
caption | string | Optional caption. |
name | string | Optional display name override (defaults to the filename). |
parent_id | string | If after_block_id is empty, append to this page/block. |
insert_table_row Insert Table Row
Insert a new row into an existing table. The number of cells must match the table's existing width.
| Parameter | Type | Description |
|---|---|---|
cells_json * | string | JSON array. Each element is either: - a plain string (single text segment) - a list of strings (multi-segment plain text in one cell) Example for a 3-column table: '["Widget", "In stock", "42"]' |
table_id * | string | The table block ID. |
after_row_id | string | Optional row ID to insert after. If empty, append to end. |
update_table_cell Update Table Cell
Replace the text of a single cell in a table row.
| Parameter | Type | Description |
|---|---|---|
cell_index * | integer | Zero-based index of the cell within the row. |
new_text * | string | New plain-text content for the cell. Overwrites all existing rich text segments in that cell. |
row_id * | string | The table_row block ID. |
delete_block Delete Block
Delete a specific block by ID.
| Parameter | Type | Description |
|---|---|---|
block_id * | string |
snapshot_page Snapshot Page
Create a complete snapshot of a page with all nested children. Saves to a JSON file if output_path is provided. The snapshot includes the full block tree with recursive children, suitable for restore. Subpages and inline databases are recorded as blocks but their own content is not captured. Set include_files to also download Notion-hosted images and files into a ``<snapshot name>.files`` folder beside the JSON. A restore can then upload them again even after they have left Notion's trash. Without it, the snapshot holds only links that expire within the hour. Default path: ~/notion-snapshot…
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
include_files | boolean | |
output_path | string |
restore_page_from_snapshot Restore Page From Snapshot
Restore a page from a previously saved snapshot. Replaces the page's content with the snapshot. The snapshot is written first and the previous blocks are removed only after that succeeds, so a failed restore leaves the page as it was. Blocks the API cannot recreate (subpages, inline databases, Notion-hosted files) are never deleted. For each one in the snapshot: - Still on the page: left untouched, with the restored content written around it in snapshot order (``preserved``). If it was moved so the order cannot be kept, it stays put (``out_of_order``). - Saved with the snapshot (include…
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The page to restore into. |
snapshot_path * | string | Path to the snapshot JSON file. |
create_page Create Page
Create a new Notion page under a parent page or database.
| Parameter | Type | Description |
|---|---|---|
parent_id * | string | ID of the parent page or database. |
title * | string | Title for the new page. |
children_json | string | Optional JSON array of block objects for initial content. |
icon_emoji | string | Optional emoji character to use as the page icon. |
parent_type | string | "page_id" (default) or "database_id". |
properties_json | string | Optional JSON object of additional database properties to set. Example for setting Status: {"Status": {"status": {"name": "Done"}}} Example for setting Date: {"Due date": {"date": {"start": "2026-04-1… |
update_page Update Page
Update a page's title, icon, or archive status. Only fields with non-default values are sent in the PATCH body. This tool can archive a page (archived=True) but never unarchives one; use restore_page to bring a page back from trash.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The page to update. |
archived | boolean | Pass True to archive the page. Defaults to False (no change sent). |
icon_emoji | string | New icon emoji. Omit or pass "" to leave unchanged. |
properties_json | string | Optional JSON object of database properties to set. Example: {"Status": {"status": {"name": "Done"}}} Example: {"Due date": {"date": {"start": "2026-04-15"}}} Can be combined with title — both will… |
title | string | New title text. Omit or pass "" to leave unchanged. |
move_page Move Page
Move a page under a new parent page. The page keeps its ID, content, comments and subpages. Only page parents are supported; to place a page in a database use copy_page_to_parent.
| Parameter | Type | Description |
|---|---|---|
new_parent_id * | string | The page that becomes the new parent. |
page_id * | string | The page to move. |
parent_type | string | Must be "page_id". |
restore_page Restore Page
Restore a page (and its children) from trash. This is the explicit counterpart to delete_block on a page. ``update_page`` has a safety guard that blocks archived=False; this dedicated tool is the supported way to unarchive. When called on a page that was archived via a cascade (for example, a section container that was deleted along with its subpages), restoring the parent container automatically restores the cascaded descendants.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | The page to restore from trash. |
copy_page_to_parent Copy Page To Parent
Recreate a page under a new parent. Prefer move_page for plain moves. Creates a new page at the target with the same title, emoji icon and content, then archives the original. Use it to duplicate a page or to place a page in a database. LIMITATIONS (read carefully): * Block IDs of the new page differ from the original, so links to the original blocks will point at the archived page. * Notion-hosted images and files are copied as external references to signed URLs that expire within about an hour. Re-upload the source files for a permanent copy. * Nested subpages…
| Parameter | Type | Description |
|---|---|---|
new_parent_id * | string | The target parent page or database ID. |
page_id * | string | The source page to copy. |
archive_original | boolean | If True (default), archive the source page after the copy completes. Set False to keep both copies side-by-side. |
parent_type | string | "page_id" (default) or "database_id". |
create_comment Create Comment
Add a comment to a Notion page.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
text * | string |
list_comments List Comments
List all comments on a page or block.
| Parameter | Type | Description |
|---|---|---|
block_id * | string |
get_database Get Database
Get metadata and schema for a Notion database.
| Parameter | Type | Description |
|---|---|---|
database_id * | string |
query_database Query Database
Query a Notion database with optional filters and sorts.
| Parameter | Type | Description |
|---|---|---|
database_id * | string | The database to query. |
filter_json | string | JSON string for a Notion filter object. Leave empty for no filter. |
page_size | integer | Maximum rows per page fetch (max 100). |
sorts_json | string | JSON string for a Notion sorts array. Leave empty for no sorting. |
get_self Get Self
Get the current authenticated Notion user or bot info.
list_users List Users
List all users in the workspace.
get_block Get Block
Get a single block by ID, including its type, content, and metadata.
| Parameter | Type | Description |
|---|---|---|
block_id * | string |