Overview
Advanced Notion integration with database queries, page creation, and block manipulation.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-notionConfiguration
NOTION_INTEGRATION_TOKEN environment variableDocumentation
Notion MCP (Enhanced)
Overview
Notion MCP provides deep integration with Notion's workspace, enabling AI agents to read, write, and manage pages, databases, and blocks. This enhanced version adds support for database queries, page creation, and block manipulation.
Features
- Database queries with filtering and sorting
- Page creation and editing
- Block-level manipulation
- Full-text search across workspace
- Real-time collaboration support
Installation
npx -y @modelcontextprotocol/server-notion
Configuration
Set the NOTION_INTEGRATION_TOKEN environment variable:
export NOTION_INTEGRATION_TOKEN=secret_your_token_here
Get your token from https://www.notion.so/my-integrations.
Available Tools
| Tool | Description |
|---|---|
search | Search pages and databases |
read_page | Read a specific page |
create_page | Create a new page |
update_page | Update page properties |
query_database | Query a database with filters |
list_databases | List all databases |
Usage Examples
Query a Database
{
"database_id": "your-database-id",
"filter": {
"property": "Status",
"select": {
"equals": "In Progress"
}
}
}
Create a Page
{
"parent": { "database_id": "your-database-id" },
"properties": {
"Name": { "title": [{ "text": { "content": "New Task" } }] },
"Status": { "select": { "name": "To Do" } }
}
}
Pros
- ✅ Deep Notion integration
- ✅ Database query support
- ✅ Block-level editing
- ✅ Real-time updates
Cons
- ❌ Requires Notion integration setup
- ❌ Rate limits on API calls
- ❌ Complex database schemas can be challenging
