KosmoKrator

productivity

Notion MCP, CLI, and Lua Integration for AI Agents

Notion integration docs for AI agents: MCP gateway setup, Notion CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Bearer token auth

Notion for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
notion2
route_slug
notion2
package
notion2
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Notion MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Notion.

Notion CLI Matrix

Use these pages for direct Notion CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
notion2.notion2_list_pages Read read 5 Search and list pages in your Notion workspace.
notion2.notion2_get_page Read read 1 Get detailed information about a Notion page.
notion2.notion2_create_page Write write 5 Create a new page in Notion.
notion2.notion2_list_databases Read read 4 List databases in your Notion workspace.
notion2.notion2_query_database Read read 5 Query a Notion database with optional filters.
notion2.notion2_list_users Read read 2 List all users in your Notion workspace.
notion2.notion2_get_current_user Read read 0 Get the currently authenticated Notion user/bot.