Model Context Protocol (MCP)

Notion maintains an open source MCP server that allows AI apps and agents to interface with the Notion public API.

Installation

Copy the following code into your .cursor/mcp.json or claude_desktop_config.json file

📘

Replace the bearer token with your own integration secret

{
  "mcpServers": {
    "notionApi": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer ntn_****\", \"Notion-Version\": \"2022-06-28\" }"
      }
    }
  }
}