Claude Code
Run this command in your terminal:/mcp in Claude Code and following the OAuth flow.
Using --scope flag for different installation scopes
Using --scope flag for different installation scopes
--scope local(default): Available only to you in the current project--scope project: Shared with your team via.mcp.jsonfile--scope user: Available to you across all projects
/mcp command to list and manage the MCP servers you have installed, and use the /context command to understand the context token usage of your current session, including the number of tokens used by each MCP server that’s enabled.
Cursor
1
Open Cursor Settings → MCP → Add new global MCP server
2
Paste the following configuration:
3
Save and restart Cursor. When you use a Notion tool for the first time, complete the OAuth flow to connect your workspace.
Project-level configuration
Project-level configuration
To share the Notion MCP configuration with your team, create a
.cursor/mcp.json file in your project root:VS Code (GitHub Copilot)
1
Create a
.vscode/mcp.json file in your workspace:2
Open the Command Palette (
Cmd+Shift+P / Ctrl+Shift+P) and run MCP: List Servers3
Start the Notion server and complete the OAuth flow when prompted
User-level configuration
User-level configuration
To configure Notion MCP across all workspaces, run MCP: Open User Configuration from the Command Palette and add the server configuration there.
Claude Desktop
1
Open Settings → Connectors
2
Select Add Connector and enter the URL:
3
Complete the OAuth flow to connect your Notion workspace
Remote MCP servers in Claude Desktop are configured through Settings → Connectors, not the
claude_desktop_config.json file. Available on Pro, Max, Team, and Enterprise plans.Windsurf
1
Open Windsurf Settings (
Cmd+, on Mac) → search for MCP2
Select View raw config to open
mcp_config.json3
Add the Notion server configuration:
4
Save and restart Windsurf. Complete the OAuth flow when prompted.
ChatGPT
1
Go to chatgpt.com/#settings/Connectors (requires login)
2
Select Add Connector and enter the URL:
3
Complete the OAuth flow to connect your Notion workspace
Codex
For more details, see the Codex MCP documentation.1
Add the Notion server to your Codex configuration at
~/.codex/config.toml:2
Authenticate by running:Complete the OAuth flow to connect your Notion workspace.
Project-level configuration
Project-level configuration
To share the Notion MCP configuration with your team, create a
.codex/config.toml file in your project root with the same server configuration.Antigravity
We recommend connecting to Notion MCP as a custom server rather than using the pre-configured “Notion” connector in the Antigravity MCP gallery, which uses the deprecatednotion-mcp-server package.
1
Follow the Antigravity instructions for connecting custom MCP servers and add the following to your
mcp_config.json:2
Save the configuration. Antigravity will prompt you to complete the OAuth flow to connect your Notion workspace.
Other MCP clients
If your MCP client isn’t listed above, use one of these URLs:JSON configuration format
Most MCP clients accept a JSON configuration. Use the format supported by your client:Connect through the Notion app
You can also start the connection from Notion:1
Open Settings in the Notion app
2
Go to Connections → Notion MCP
3
Choose your MCP client from the list and complete the OAuth flow
Troubleshooting
My MCP client doesn't support remote MCP servers
My MCP client doesn't support remote MCP servers
Some MCP clients only support local stdio servers. You can still connect to Notion MCP using the mcp-remote bridge:As a last resort, you can run our open-source MCP server locally, though this package is no longer actively maintained.
Authentication issues
Authentication issues
- Complete the OAuth flow when prompted.
- Disconnect and reconnect the client. Look for Clear authentication or Disconnect in its MCP settings.
- Check your permissions in the Notion workspace that you’re trying to access.
My MCP client isn't listed here
My MCP client isn't listed here
Check the client’s documentation for how to add a remote MCP server. Most MCP clients accept a URL or JSON configuration. If the client doesn’t support MCP, contact its developer.
FAQ
Does Notion MCP support file uploads?
Does Notion MCP support file uploads?
Yes. Use the
notion-create-file-upload tool to upload images and other files up to 20 MiB. Workspace file-size limits still apply.The tool returns a short-lived upload URL and the headers and form field that the MCP client must use to send the file. After the upload succeeds, pass the response’s suggested_markdown directly to notion-create-pages or notion-update-page, or include it on a separate line in notion-create-comment markdown to attach the file. For larger files, use the file upload API.What's the difference between Notion MCP and the open-source server?
What's the difference between Notion MCP and the open-source server?
Notion MCP (
https://mcp.notion.com/mcp) is our hosted, actively maintained server. It supports OAuth authorization and requires no infrastructure setup.The open-source server (notion-mcp-server) is no longer actively maintained. It supports bearer token authentication and the original JSON-based v1 APIs, which may be useful for automated workflows, but requires you to manage your own connection and deployment.For most users, we recommend Notion MCP.I'm building my own MCP client
I'm building my own MCP client
If you’re integrating Notion MCP into your own application, see
Build an MCP client for Notion for OAuth
and connection requirements.