Skip to main content

How to Set Up the Notion MCP Server (2026)

Updated July 6, 2026β€’ Web MCP Guide

The Notion MCP server lets Claude, Cursor, and other AI clients read your workspace pages, search databases, and create or update content β€” all without leaving your editor. If your team's knowledge lives in Notion, this integration brings it into your AI workflow directly.

Prerequisites

Step 1 β€” Create a Notion Integration

Open notion.so/my-integrations in your browser and click β€œNew integration.” Give it a name (e.g. β€œClaude MCP”), associate it with your workspace, and set the capabilities:

Save the integration. Notion generates an Internal Integration Token β€” copy it, you'll use it in the next step. Keep it out of version control.

Step 2 β€” Share Pages With Your Integration

Notion's API is permission-explicit β€” your integration cannot see any page by default. For each database or page the MCP server should access:

  1. Open the page in Notion
  2. Click the three-dot (…) menu in the top right
  3. Select Connections β†’ Add connections
  4. Search for and select your integration

Child pages under a shared parent inherit access. Share your main project databases and top-level pages β€” the integration will be able to traverse the hierarchy below them.

⚠️ Gotcha: don't forget to share

The single most common setup error is skipping this step. The integration token authenticates you; page sharing determines what you can see. If Claude says it can't find your content, check Connections on that specific page first.

Step 3 β€” Install the Notion MCP Server

Install the official Notion MCP server package:

npx @notionhq/notion-mcp-server

Or install globally: npm install -g @notionhq/notion-mcp-server. The package name may vary if you prefer a community alternative β€” check the MCP registry for current options.

Step 4 β€” Configure Your MCP Client

Add the server to your client's config file. Replace ntn_YOUR_KEY_HERE with your actual integration token.

Claude Desktop

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "NOTION_API_KEY": "ntn_YOUR_KEY_HERE"
      }
    }
  }
}

Cursor IDE

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@notionhq/notion-mcp-server"],
      "env": {
        "NOTION_API_KEY": "ntn_YOUR_KEY_HERE"
      }
    }
  }
}

VS Code

Add to your VS Code MCP settings (exact path depends on extension). The structure is the same as above β€” command, args, env.

Restart your MCP client after saving the config. The Notion server should appear in your available tools list.

Step 5 β€” Verify the Connection

Open a conversation in Claude Desktop (or start a Cursor chat) and try a search:

"Search my Notion workspace for [a topic you know exists]"

If Claude can read and summarize results, the connection is working. If it returns nothing, check that the pages are shared with your integration (Step 2) and that the API key matches the integration token you copied.

What You Can Do With the Notion MCP Server

Troubleshooting

ProblemLikely CauseFix
Server not appearing in toolsConfig file path or JSON syntax errorValidate JSON with a linter; confirm exact config path for your OS
401 UnauthorizedInvalid or expired API keyRegenerate token at notion.so/my-integrations and update config
Can't find pages / empty resultsPages not shared with integrationGo to each page β†’ … β†’ Connections β†’ Add your integration
Can't create or edit contentIntegration missing insert/update capabilitiesEdit integration at notion.so/my-integrations to enable write capabilities

Frequently Asked Questions

Is there an official Notion MCP server?

Notion released an official MCP server in 2025 that connects to the Notion API and lets AI clients read pages, search your workspace, and create or update content. Community-maintained alternatives also exist. The official server is the recommended starting point β€” it's maintained by Notion and tracks API changes.

What Notion API key do I need for the MCP server?

You need an internal integration token from Notion's integrations page (notion.so/my-integrations). Create a new integration, give it a name, and select the capabilities you want (read, insert, update). Then share the specific databases and pages the integration should access β€” Notion's default is restrictive, sharing is explicit and per-page.

Why can't the Notion MCP server see my pages?

The most common cause is that the page or database hasn't been shared with your integration. In Notion, open the page, click the three-dot menu, go to Connections, and add your integration. This must be done for each database or top-level page you want the MCP server to access. The integration token alone doesn't grant access to all content.

Can the Notion MCP server create and edit pages?

Yes, if granted insert and update capabilities during integration setup. It can create new pages in a database, append blocks to existing pages, update page properties, and create sub-pages. Read-only integrations cannot make changes. Configure the capabilities in the integration settings at notion.so/my-integrations.

Does the Notion MCP server work with Cursor and VS Code?

Yes. The same Notion MCP server config works in any MCP-compatible client. In Cursor you add it to ~/.cursor/mcp.json, in VS Code to your MCP settings, and in Claude Desktop to claude_desktop_config.json. The NOTION_API_KEY environment variable and server command are the same across all clients.

What can I do with the Notion MCP server in Claude?

With the Notion MCP server connected, you can ask Claude to search your workspace for information, read specific pages and databases, summarize project docs, create new database entries, draft content inside Notion pages, and build workflows that pull context from your Notion knowledge base into the conversation.