ProductivityOAuth2Official MCP
Notion API MCP Server
Create and manage Notion pages, databases, and blocks through your AI agent.
Quick Setup
Transport: STDIO
Command: npx -y @modelcontextprotocol/server-notion
Environment Variables
NOTION_TOKENExample: ntn_...
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y","@modelcontextprotocol/server-notion"],
"env": {
"NOTION_TOKEN": "ntn_..."
}
}
}
}Endpoints
POST
/v1/pagesCreate a page
POST
/v1/databases/{database_id}/queryQuery a database
GET
/v1/blocks/{block_id}/childrenGet block children