Project management and organisation · Notes, wiki, projects
Notion
Read and write Notion pages and databases from a script, an automation or an AI.
- REST API
- Key or personal token
- OAuth
- Official MCP server
- 1
Ouvrez Paramètres, Connexions, puis Développer ou gérer les intégrations (
notion.so/profile/integrations). - 2
Créez une intégration interne, choisissez l'espace de travail et les capacités : lire, modifier, insérer du contenu.
- 3
Copiez le jeton interne, qui commence par
ntn_. - 4
Sur chaque page ou base à exposer : menu ···, Connexions, ajoutez l'intégration. Sans ce partage, l'API ne voit rien.
Authorization: Bearer ntn_… Notion-Version: 2022-06-28
curl https://api.notion.com/v1/users/me \
-H "Authorization: Bearer $NOTION_CLE" \
-H "Notion-Version: 2022-06-28"Worth knowing. The integration token opens every page shared with it: one integration per use, not one for everything.
For an app installed in other workspaces: create a public integration, declare the redirect URL, then exchange the code received for a token at https://api.notion.com/v1/oauth/token.
Key or OAuth? A key for your own scripts. OAuth as soon as the application acts on behalf of other people: each person signs in with their own account and can revoke access.
Official MCP server
https://mcp.notion.com/mcpOAuth sign-in with your account: the AI sees what you see, nothing more.
- Claude
Settings, Connectors, Add custom connector: paste
https://mcp.notion.com/mcp, then sign in to Notion. - ChatGPT
Settings, Apps: turn on developer mode in the advanced settings, then Create, with
https://mcp.notion.com/mcp. - Mistral’s Le Chat
Intelligence, Connectors, Add custom connector: paste the address, then authorise access.
claude mcp add --transport http notion https://mcp.notion.com/mcpWorth knowing. The connector acts with your permissions. Start in read-only mode and review every write action the AI proposes before approving it. Depending on the plan, the workspace administrator must allow custom connectors.