DatabasesAuto-generated
Notion API MCP Server
Hello and welcome! To make use of this API collection collection as it's written, please duplicate [this database template](https://www.notion.so/8e2c2b769e1d47d287b9ed3035d607ae?v=dc1b92875fb94f10834ba8d36549bd2a). [Create an integration](https://www.notion.so/my-integrations) to retrieve an API
Quick Setup
Transport: STDIO
Command: npx -y @mcp/notion-com
Environment Variables
NOTION_API_API_KEYExample: your_notion_api_api_key
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"notion-com": {
"command": "npx",
"args": ["-y","@mcp/notion-com"],
"env": {
"NOTION_API_API_KEY": "your_notion_api_api_key"
}
}
}
}Endpoints
GET
/v1/blocks/{id}Retrieve a block
DELETE
/v1/blocks/{id}Delete a block
PATCH
/v1/blocks/{id}Update a block
GET
/v1/blocks/{id}/childrenRetrieve block children
PATCH
/v1/blocks/{id}/childrenAppend block children
GET
/v1/commentsRetrieve comments
GET
/v1/databases/{id}Retrieve a database
PATCH
/v1/databases/{id}Update a database
POST
/v1/databases/{id}/queryQuery a database
GET
/v1/pages/{id}Retrieve a Page