Skip to main content
Connect your PraisonAI agents to your Notion workspace to search company docs, summarize meeting notes, query databases, and draft pages through Notionโ€™s official remote MCP server.
Prefer a local Python wrapper with a NOTION_API_KEY? See the Notion Tool.
The user asks for project documentation; PraisonAI queries authorized Notion pages via OAuth 2.1 and summarizes the findings.

How It Works

During OAuth 2.1 sign-in, Notion lets you choose the exact workspace and pages your agent is allowed to access. Tokens are saved locally in ~/.praisonai/mcp-auth.json (0600) and shared across Python, CLI, and Dashboard.

Step-by-Step Setup

1

Prerequisites

  • A Notion account with permission to authorize integrations in your workspace
  • Know which top-level pages or databases you want to grant access to during consent
2

Install PraisonAI with MCP support

3

Add and authenticate Notion

In the Notion consent screen, select the workspace and specific pages your agent should access.
4

Verify and list available tools

5

Use Notion with your agent


Scope Tools for Safety

Limit knowledge-lookup agents to search/fetch tools and require approval before editing or creating pages:

Common Workflows

  • Meeting Notes Action Items: "Search Notion for this week's standup notes and extract every owner and due date."
  • Drafting Spec Pages: "Fetch the Product Spec template in Notion and draft a new spec for our webhook retry feature."

Troubleshooting


Best Practices

During OAuth consent, share only the project or wiki parent pages the agent needs rather than your entire company workspace.
Notionโ€™s remote MCP tool names can evolve โ€” run praisonai mcp sync notion to inspect exact tool names before configuring allowed_tools.
Set approval="always" on MCP(...) whenever an agent is allowed to create or overwrite shared Notion documentation.

List of Connectors

Browse all popular connectors and step-by-step guides

Remote MCP Connectors

CLI commands, โ€”manual sign-in, and Dashboard setup

Notion Tool (Python)

Local Python wrapper using NOTION_API_KEY

MCP OAuth Authentication

OAuth 2.1 PKCE flow and token management