MCP Server for the Notion API, enabling Claude to interact with Notion workspaces.
MCP Server for the Notion API, enabling Claude to interact with Notion workspaces.
Here is a detailed explanation of the steps mentioned above in the following articles:
Create a Notion Integration:
Retrieve the Secret Key:
Add the Integration to Your Workspace:
Configure Claude Desktop:
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "@suekou/mcp-notion-server"],
"env": {
"NOTION_API_TOKEN": "your-integration-token"
}
}
}
}
or
{
"mcpServers": {
"notion": {
"command": "node",
"args": ["your-built-file-path"],
"env": {
"NOTION_API_TOKEN": "your-integration-token"
}
}
}
}
If you encounter permission errors:
claude_desktop_config.json
.notion_append_block_children
block_id
(string): The ID of the parent block.children
(array): Array of block objects to append.notion_retrieve_block
block_id
(string): The ID of the block to retrieve.notion_retrieve_block_children
block_id
(string): The ID of the parent block.start_cursor
(string): Cursor for the next page of results.page_size
(number, default: 100, max: 100): Number of blocks to retrieve.notion_delete_block
block_id
(string): The ID of the block to delete.notion_retrieve_page
page_id
(string): The ID of the page to retrieve.notion_update_page_properties
page_id
(string): The ID of the page to update.properties
(object): Properties to update.notion_create_database
parent
(object): Parent object of the database.title
(array): Title of the database as a rich text array.properties
(object): Property schema of the database.notion_query_database
database_id
(string): The ID of the database to query.filter
(object): Filter conditions.sorts
(array): Sorting conditions.start_cursor
(string): Cursor for the next page of results.page_size
(number, default: 100, max: 100): Number of results to retrieve.notion_retrieve_database
database_id
(string): The ID of the database to retrieve.notion_update_database
database_id
(string): The ID of the database to update.title
(array): New title for the database.description
(array): New description for the database.properties
(object): Updated property schema.notion_create_database_item
database_id
(string): The ID of the database to add the item to.properties
(object): The properties of the new item. These should match the database schema.notion_search
query
(string): Text to search for in page or database titles.filter
(object): Criteria to limit results to either only pages or only databases.sort
(object): Criteria to sort the resultsstart_cursor
(string): Pagination start cursor.page_size
(number, default: 100, max: 100): Number of results to retrieve.notion_list_all_users
notion_retrieve_user
notion_retrieve_bot_user
notion_create_comment
parent
object with a page_id
or a discussion_id
, but not both.rich_text
(array): Array of rich text objects representing the comment content.parent
(object): Must include page_id
if used.discussion_id
(string): An existing discussion thread ID.notion_retrieve_comments
block_id
(string): The ID of the block or page whose comments you want to retrieve.start_cursor
(string): Pagination start cursor.page_size
(number, max: 100): Number of comments to retrieve.This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.