Enables AI systems to create, update, and manage Notion pages and blocks through a Node.js bridge to the Notion API, supporting efficient batch operations for documentation and knowledge base maintenance.
Create a Notion Integration and Get Your API Key
- Visit https://www.notion.so/my-integrations.
- Click "New integration" and follow the prompts to set it up (give it a name, assign to workspace, set desired permissions).
- After creation, copy your "Internal Integration Token" (this is your Notion API key).
Allow the Integration Access to Your Page
- Open Notion and navigate to the page you want your assistant or application to access.
- Click the "..." (three dots) in the top right corner of the page.
- Choose "Add Connections" or go to "Connections".
- Find your integration in the list and enable it for this page.
Get the Page ID
- Open the Notion page in your browser.
- Copy the URL—it will look something like this:
https://www.notion.so/yourworkspace/Your-Page-Name-abc1234567890def1234567890abcdef
- The Page ID is the last part of the URL, usually a 32-character string (with or without dashes).
Add the ENVs to FastMCP
- In the FastMCP connection interface, click the Install Now button for the Notion MCP server.
- When prompted to enter environment variables, fill in the following:
NOTION_TOKEN
— paste your Notion API key from Step 1.
NOTION_PAGE_ID
— paste your page’s 32-character ID from Step 3.
Save and Activate
- Confirm the ENV values and finish the FastMCP connection setup.
- Your integration is now ready for use. The AI assistant will now be able to read, create, and update content in Notion as per the permissions granted.
Reference: For more details, see Notion's official integration setup guide.