pageworkspace

v0.1.0
io.github.CloudCorpRecords/pageworkspace Checked 18 hours ago Published 1 month ago

Notion pages, databases and blocks via the REST API, as MCP tools.

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

list_users

List all users in the Notion workspace.

get_page

Retrieve a Notion page by its ID.

ParameterTypeDescription
page_id *stringThe ID of the Notion page to retrieve.

create_page

Create a new Notion page under a parent page with a title.

ParameterTypeDescription
parent_id *stringThe ID of the parent page under which to create the new page.
title *stringThe title text of the new page.

update_page

Update a Notion page, for example to archive or restore it.

ParameterTypeDescription
page_id *stringThe ID of the Notion page to update.
archivedbooleanOptional archived state to set: true archives the page, false restores it.

get_database

Retrieve a Notion database by its ID.

ParameterTypeDescription
database_id *stringThe ID of the Notion database to retrieve.

query_database

Query a Notion database and return its rows.

ParameterTypeDescription
database_id *stringThe ID of the Notion database to query.
page_sizenumberOptional maximum number of rows to return in one page.

create_database

Create a new Notion database under a parent page.

ParameterTypeDescription
parent_id *stringThe ID of the parent page under which to create the new database.
title *stringThe title text of the new database.
propertiesobjectOptional Notion property schema object defining the database columns; when omitted, a single Name title property is used.

get_block

Retrieve a Notion block by its ID.

ParameterTypeDescription
block_id *stringThe ID of the Notion block to retrieve.

get_block_children

List the child blocks of a Notion block or page.

ParameterTypeDescription
block_id *stringThe ID of the block or page whose child blocks to list.
page_sizenumberOptional maximum number of child blocks to return in one page.

append_block_children

Append child blocks to a Notion block or page.

ParameterTypeDescription
block_id *stringThe ID of the block or page to append child blocks to.
children *arrayArray of Notion block objects to append as children, in order.

delete_block

Delete (archive) a Notion block by its ID.

ParameterTypeDescription
block_id *stringThe ID of the Notion block to delete (archive).