Notion MCP Server is a production-ready implementation of the Model Context Protocol (MCP) that enables AI assistants to interact with Notion's API. This server provides a comprehensive set of tools for reading, creating, and modifying Notion content through natural language interactions.

Copy your API key.
Enable Integration for Your Pages:
Click the "..." menu → "Connections" → Enable your integration.
Choose Your Integration Method:
Follow the integration options below based on your preferred MCP client.
Interact with Notion:
mcp.json.cursor/mcp.json:json
{
"mcpServers": {
"notion-mcp-server": {
"command": "env NOTION_TOKEN=YOUR_KEY NOTION_PAGE_ID=YOUR_PAGE_ID npx",
"args": ["-y", "notion-mcp-server"]
}
}
}YOUR_KEY and YOUR_PAGE_ID with your Notion API key and page ID.env NOTION_TOKEN=YOUR_KEY NOTION_PAGE_ID=YOUR_PAGE_ID npx -y notion-mcp-servermcp.json:json
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": ["-y", "notion-mcp-server"],
"env": {
"NOTION_TOKEN": "YOUR_KEY",
"NOTION_PAGE_ID": "YOUR_PAGE_ID"
}
}
}
}create_page: Create a new page.update_page_properties: Update page properties.archive_page: Archive a page.restore_page: Restore an archived page.search_pages: Search pages by title.create_database: Create a new database.query_database: Query a database.update_database: Update database properties.retrieve_block: Retrieve a block.retrieve_block_children: Retrieve block children.append_block_children: Append child blocks.update_block: Update a block.delete_block: Delete a block.batch_append_block_children: Append children to multiple blocks.batch_update_blocks: Update multiple blocks.batch_delete_blocks: Delete multiple blocks.batch_mixed_operations: Perform mixed operations in a single request.bash
git clone https://github.com/awkoy/notion-mcp-server.git
cd notion-mcp-serverbash
npm install.env:NOTION_TOKEN=your_notion_api_key
NOTION_PAGE_ID=your_notion_page_idbash
npm run build
npm run inspectorContributions are welcome! Submit a Pull Request:
1. Fork the repository.
2. Create your feature branch (git checkout -b feature/amazing-feature).
3. Commit your changes (git commit -m 'Add some amazing feature').
4. Push to the branch (git push origin feature/amazing-feature).
5. Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.