Notion MCP Server logo

Notion MCP Server

by nanahiryu

This server integrates with the Notion API using the Model Context Protocol (MCP). It functions as an MCP server for Cursor.

View on GitHub

Last updated: N/A

What is Notion MCP Server?

The Notion MCP Server is a server that integrates with the Notion API using the Model Context Protocol (MCP). It allows you to interact with your Notion workspace programmatically through Cursor.

How to use Notion MCP Server?

  1. Clone the repository. 2. Run npm i. 3. Run npm run build to build the project. 4. Open Cursor settings and add a new MCP server with the name notion and the appropriate command (adjust the path and Notion API token).

Key features of Notion MCP Server

  • Block manipulation (add, get, get children, delete)

  • Page manipulation (get, update properties)

  • User information retrieval

  • Database manipulation (create, query, get, update, create items)

  • Comment manipulation (create, get)

  • Search functionality

Use cases of Notion MCP Server

  • Automating Notion tasks from Cursor

  • Building custom integrations with Notion

  • Programmatically managing Notion content

  • Extending Cursor's functionality with Notion data

FAQ from Notion MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that enables communication between different applications or services.

What is the purpose of this server?

This server allows Cursor to interact with the Notion API using MCP.

How do I get a Notion API token?

You can create an integration in your Notion workspace and obtain the API token from there.

Where can I find the built index.js file?

The index.js file is located in the dist directory after running npm run build.

What if I encounter errors during setup?

Ensure that you have correctly set the Notion API token and the path to the index.js file. Check the console for error messages.