Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

systemprompt-mcp-notion

MCP.Pizza Chef: Ejb503

systemprompt-mcp-notion is a high-performance Model Context Protocol (MCP) server that integrates Notion into AI workflows. It enables AI agents to seamlessly access and interact with Notion pages, databases, and comments, facilitating real-time, structured context exchange between Notion and LLMs. This server supports enhanced productivity by bridging AI capabilities with Notion's collaborative workspace environment.

Use This MCP server To

Access and query Notion pages via AI agents Interact with Notion databases for dynamic data retrieval Manage and read Notion comments through AI workflows Integrate Notion content into multi-step AI reasoning Automate Notion data extraction for reporting Enable AI-driven updates to Notion workspace content

README

systemprompt-mcp-notion

npm version Coverage Status Twitter Follow Discord smithery badge

Website | Documentation

SystemPrompt MCP Notion Server

A high-performance Model Context Protocol (MCP) server that seamlessly integrates Notion into your AI workflows. This server enables AI agents to interact with Notion pages and databases through a standardized protocol. This server supports and requires MCP Sampling, which is required to the MCP to create and update Notion pages.

A compatible MCP client is available here.

SystemPrompt Notion Server MCP server

Server Capabilities

const serverCapabilities: { capabilities: ServerCapabilities } = {
  capabilities: {
    resources: {
      listChanged: true,
    },
    tools: {},
    prompts: {
      listChanged: true,
    },
    sampling: {},
  },
};

Key Features

  • 📝 Comprehensive Content Management

    • Create and update pages with rich text formatting
    • Search across your Notion workspace
  • 🛠 Developer-Friendly

    • Extensive test coverage with Jest
    • TypeScript support
    • Comprehensive error handling
    • Detailed logging and debugging tools

Prerequisites

Before using this server, you'll need:

  1. Systemprompt API Key (Free)

  2. Notion Account and Workspace

    • Active Notion account
    • Workspace with content you want to access
  3. Notion Integration

    • Create at notion.so/my-integrations
    • Required capabilities:
      • Read/Update/Insert content
      • Database management
      • Search functionality
  4. MCP-Compatible Client

Quick Start

  1. Installation

    Installing via Smithery

    To install systemprompt-mcp-notion for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install systemprompt-mcp-notion --client claude
    npm install systemprompt-mcp-notion
  2. Configuration Create a .env file:

    SYSTEMPROMPT_API_KEY=your_systemprompt_api_key
    NOTION_API_KEY=your_notion_integration_token
  3. MCP Configuration Add the following to your MCP configuration JSON:

    {
      "mcpServers": {
        "notion": {
          "command": "npx",
          "args": ["systemprompt-mcp-notion"],
          "env": {
            "SYSTEMPROMPT_API_KEY": "your_systemprompt_api_key",
            "NOTION_API_KEY": "your_notion_integration_token"
          }
        }
      }
    }

    Alternatively, if you've installed the package locally:

    {
      "mcpServers": {
        "notion": {
          "command": "node",
          "args": ["./node_modules/systemprompt-mcp-notion/build/index.js"],
          "env": {
            "SYSTEMPROMPT_API_KEY": "your_systemprompt_api_key",
            "NOTION_API_KEY": "your_notion_integration_token"
          }
        }
      }
    }

Development

Setup

  1. Clone the repository:

    git clone https://github.com/systemprompt-io/systemprompt-mcp-notion.git
    cd systemprompt-mcp-notion
  2. Install dependencies:

    npm install
  3. Set up environment:

    cp .env.example .env
    # Edit .env with your API keys

Testing

We maintain high test coverage using Jest:

# Run all tests
npm test

# Watch mode for development
npm run test:watch

# Generate coverage report
npm run test:coverage

# Test Notion API connection
npm run test:notion

systemprompt-mcp-notion FAQ

How do I connect systemprompt-mcp-notion to my Notion workspace?
You connect by providing your Notion API credentials during server setup, enabling secure access to your workspace.
Can systemprompt-mcp-notion handle large Notion databases efficiently?
Yes, it is designed for high performance and can manage large databases with optimized queries.
Does systemprompt-mcp-notion support real-time updates from Notion?
It supports near real-time context updates, allowing AI agents to work with fresh Notion data.
Is systemprompt-mcp-notion compatible with multiple LLM providers?
Yes, it works seamlessly with Open AI, Anthropic Claude, and Google Gemini models.
How secure is the data exchange between systemprompt-mcp-notion and AI models?
The server uses secure, scoped access tokens and follows MCP principles for safe and observable interactions.
Can I customize which Notion content the AI can access?
Yes, access scopes and filters can be configured to limit AI interaction to specific pages or databases.
What programming languages or environments support systemprompt-mcp-notion?
It is accessible via standard MCP client implementations compatible with most modern programming environments.
Where can I find documentation and support for systemprompt-mcp-notion?
Documentation is available at systemprompt.io/documentation, with community support via Discord and Twitter.