Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to Notion to manage pages, databases, and content, enabling AI agents to create, update, and search your workspace.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with Notion

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.NOTION],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Authenticate

import webbrowser

# Open OAuth authorization page
webbrowser.open(response.oauth_urls[McpServerName.NOTION])
🎉 Your Notion MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Watch the Example

Available Tools

Tool NameDescription
notion_get_userRetrieve a Notion user
notion_get_usersList all Notion users
notion_get_selfRetrieve your Notion token’s bot user
notion_post_searchSearch Notion by title
notion_retrieve_a_pageRetrieve a Notion page
notion_patch_pageUpdate Notion page properties
notion_post_pageCreate a Notion page
notion_create_a_databaseCreate a Notion database
notion_update_a_databaseUpdate a Notion database
notion_retrieve_a_databaseRetrieve a Notion database
notion_retrieve_a_page_propertyRetrieve a Notion page property item
notion_retrieve_a_commentRetrieve Notion comments
notion_create_a_commentCreate a Notion comment
For more details about tool input schema, use the get_tools API.

Next Steps

I