notion-mcp-server

v2.6.1
@notionhq/notion-mcp-server Checked 3 hours ago Published 1 month ago

Official MCP server for Notion API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

API-get-user

Notion | Retrieve a user Error Responses: 400: 400

ParameterTypeDescription
user_id *string

API-get-users

Notion | List all users Error Responses: 400: 400

ParameterTypeDescription
page_sizeintegerThe number of items from the full list desired in the response. Maximum: 100
start_cursorstringIf supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.

API-get-self

Notion | Retrieve your token's bot user Error Responses: 400: Bad request

API-post-search

Notion | Search by title Error Responses: 400: Bad request

ParameterTypeDescription
filter
page_sizeintegerThe number of items from the full list to include in the response. Maximum: `100`.
querystringThe text that the API compares page and database titles against.
sort
start_cursorstringA `cursor` value returned in a previous response that If supplied, limits the response to results starting after the `cursor`. If not supplied, then the first page of results is returned. Refer to [pa…

API-get-block-children

Notion | Retrieve block children Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a [block](ref:block)
page_sizeintegerThe number of items from the full list desired in the response. Maximum: 100
start_cursorstringIf supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.

API-patch-block-children

Notion | Append block children Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a [block](ref:block). Also accepts a [page](ref:page) ID.
children *arrayChild content to append to a container block as an array of [block objects](ref:block)
afterstringThe ID of the existing block that the new block should be appended after.

API-retrieve-a-block

Notion | Retrieve a block Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a Notion block

API-update-a-block

Notion | Update a block Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a Notion block
archivedbooleanSet to true to archive (delete) a block. Set to false to un-archive (restore) a block.
type

API-delete-a-block

Notion | Delete a block Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a Notion block

API-retrieve-a-page

Notion | Retrieve a page Error Responses: 400: Bad request

ParameterTypeDescription
page_id *stringIdentifier for a Notion page
filter_propertiesstringA list of page property value IDs associated with the page. Use this param to limit the response to a specific page property value or values. To retrieve multiple properties, specify each page propert…

API-patch-page

Notion | Update page properties Error Responses: 400: Bad request

ParameterTypeDescription
page_id *stringThe identifier for the Notion page to be updated.
archivedboolean
cover
icon
in_trashbooleanSet to true to delete a block. Set to false to restore a block.
properties

API-post-page

Notion | Create a page Error Responses: 400: Bad request

ParameterTypeDescription
parent *
properties *
childrenarrayThe content to be rendered on the new page, represented as an array of [block objects](https://developers.notion.com/reference/block).
coverstringThe cover image of the new page, represented as a [file object](https://developers.notion.com/reference/file-object).
iconstringThe icon of the new page. Either an [emoji object](https://developers.notion.com/reference/emoji-object) or an [external file object](https://developers.notion.com/reference/file-object)..

API-retrieve-a-page-property

Notion | Retrieve a page property item Error Responses: 400: Bad request

ParameterTypeDescription
page_id *stringIdentifier for a Notion page
property_id *stringIdentifier for a page [property](https://developers.notion.com/reference/page#all-property-values)
page_sizeintegerFor paginated properties. The max number of property item objects on a page. The default size is 100
start_cursorstringFor paginated properties.

API-retrieve-a-comment

Notion | Retrieve comments Error Responses: 400: Bad request

ParameterTypeDescription
block_id *stringIdentifier for a Notion block or page
page_sizeintegerThe number of items from the full list desired in the response. Maximum: 100
start_cursorstringIf supplied, this endpoint will return a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results.

API-create-a-comment

Notion | Create comment Error Responses: 400: Bad request

ParameterTypeDescription
parent *
rich_text *array

API-query-data-source

Notion | Query a data source Error Responses: 400: Bad request

ParameterTypeDescription
data_source_id *stringIdentifier for a Notion data source (database)
archivedboolean
filter
filter_propertiesarrayA list of page property value IDs to limit the response
in_trashboolean
page_sizeinteger
sortsarray
start_cursorstring

API-retrieve-a-data-source

Notion | Retrieve a data source Error Responses: 400: Bad request

ParameterTypeDescription
data_source_id *stringIdentifier for a Notion data source

API-update-a-data-source

Notion | Update a data source Error Responses: 400: Bad request

ParameterTypeDescription
data_source_id *stringIdentifier for a Notion data source
descriptionarray
properties
titlearray

API-create-a-data-source

Notion | Create a data source Error Responses: 400: Bad request

ParameterTypeDescription
parent *
properties *
titlearray

API-list-data-source-templates

Notion | List templates in a data source Error Responses: 400: Bad request

ParameterTypeDescription
data_source_id *stringIdentifier for a Notion data source
page_sizeinteger
start_cursorstring

API-retrieve-a-database

Notion | Retrieve a database Error Responses: 400: Bad request

ParameterTypeDescription
database_id *stringIdentifier for a Notion database

API-move-page

Notion | Move a page Error Responses: 400: Bad request

ParameterTypeDescription
page_id *stringIdentifier for a Notion page
parent *

API-retrieve-page-markdown

Notion | Retrieve a page as Markdown Error Responses: 400: Bad request 403: The integration lacks the read/update content capability required for this page. 404: Page not found or not shared with the integration. 429: Rate limited.

ParameterTypeDescription
page_id *stringIdentifier for a Notion page (or block) to read or update as markdown.
include_transcriptbooleanWhether to include meeting note transcripts. When false (default), a placeholder with the meeting note URL is shown instead of the full transcript.

API-update-page-markdown

Notion | Update a page's content as Markdown Error Responses: 400: Bad request 403: The integration lacks the read/update content capability required for this page. 404: Page not found or not shared with the integration. 409: Conflict (e.g. row limit exceeded). 429: Rate limited.

ParameterTypeDescription
page_id *stringIdentifier for a Notion page (or block) to read or update as markdown.
type *stringThe kind of edit to apply. Prefer `replace_content` (overwrite the whole page) or `update_content` (targeted find-and-replace). `insert_content` and `replace_content_range` are deprecated.
insert_content
replace_content
replace_content_range
update_content