notion
Installation
SKILL.md
notion (ntn CLI)
ntn is Notion's official CLI. It stores the OAuth token in the OS keychain
(ntn login opens a browser once), then issues Notion HTTP API calls plus a
handful of higher-level helpers (ntn pages, ntn datasources, ntn files,
ntn workers).
If a mcp.notion.com/mcp MCP is configured, prefer ntn. The MCP exposes
only the public REST API; ntn also handles Workers, file uploads, and
the markdown round-trip.
Before the first call
Run ntn whoami. If it errors with "not logged in", tell the user to run
ntn login and stop. The CLI does not accept a pasted token.