Labsco
v-3 logo

Notion

โ˜… 119

from v-3

Search, read, create, and update pages and databases in your Notion workspace.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

Notion MCP Server

A Model Context Protocol (MCP) server that provides seamless integration with Notion. This server enables Language Models to interact with your Notion workspace through standardized tools for searching, reading, creating, and updating pages and databases.

๐ŸŒŸ Key Features

Page Operations

  • ๐Ÿ” Search through your Notion workspace
  • ๐Ÿ“ Create new pages with rich markdown content
  • ๐Ÿ“– Read page content with clean formatting
  • ๐Ÿ”„ Update existing pages
  • ๐Ÿ’ฌ Add and retrieve comments
  • ๐Ÿงฑ Block-level operations (update, delete)

Enhanced Markdown Support

  • Multiple heading levels (H1-H3)
  • Code blocks with language support
  • Interactive todo items with checkbox states
  • Blockquotes with multi-line support
  • Horizontal dividers
  • Images with captions
  • Nested bullet points

Database Operations

  • Create and manage databases
  • Add and update database items
  • Query with filters and sorting
  • Support for various property types:
    • Title, Rich text, Number
    • Select, Multi-select
    • Date, Checkbox
    • And more!

๐Ÿ› ๏ธ Available Tools

Page Operations

Copy & paste โ€” that's it
// Search pages
{
    query: string // Search query
}

// Read page
{
    pageId: string // ID of the page to read
}

// Create page
{
    title?: string,      // Page title
    content?: string,    // Page content in markdown
    parentPageId: string // Parent page ID
    properties?: object  // For database items
}

// Update page
{
    pageId: string,   // Page ID to update
    content: string,  // New content
    type?: string    // Content type
}

Database Operations

Copy & paste โ€” that's it
// Create database
{
    parentPageId: string,
    title: string,
    properties: object
}

// Query database
{
    databaseId: string,
    filter?: object,
    sort?: object
}

๐Ÿ” Setting Up Notion Access

Creating an Integration

  1. Visit Notion Integrations
  2. Click "New integration"
  3. Configure permissions:
    • Content: Read, Update, Insert
    • Comments: Read, Create
    • User Information: Read

Connecting Pages

  1. Open your Notion page
  2. Click "..." menu โ†’ "Connections"
  3. Add your integration
  4. Repeat for other pages as needed

๐Ÿค Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a Pull Request

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

This project has been significantly improved by sweir1/notion-server, who has made following updates:

  • Enhanced markdown support with more block types
  • Comprehensive database operations
  • Improved error handling and debugging
  • Better property handling for database items
  • Cleaner page output formatting

To use sweir1's version, you can clone their repository:

Copy & paste โ€” that's it
git clone https://github.com/sweir1/notion-server.git