Loading...
Loading...
Operate Notion Public API through UXC with a curated OpenAPI schema for search, block traversal, page reads, content writes, and data source/database inspection. Use when tasks need recursive reads or structured writes that Notion MCP does not expose directly.
npx skill4agent add holon-run/uxc notion-openapi-skilluxcuxcuxcPATHhttps://api.notion.com/v1https://raw.githubusercontent.com/holon-run/uxc/main/skills/notion-openapi-skill/references/notion-public.openapi.jsonin_trashhttps://api.notion.com/v1Notion-Version: 2026-03-11Authorization: Bearer <token>Notion-Version: 2026-03-11uxc auth credential set notion-openapi \
--auth-type api_key \
--header "Authorization=Bearer {{secret}}" \
--header "Notion-Version=2026-03-11" \
--secret-env NOTION_API_TOKEN
uxc auth binding add \
--id notion-openapi \
--host api.notion.com \
--path-prefix /v1 \
--scheme https \
--credential notion-openapi \
--priority 100ShareConnectionsNOTION_API_TOKENuxc auth credential setuxc auth oauth start notion-openapi \
--endpoint https://api.notion.com/v1 \
--redirect-uri http://127.0.0.1:8788/callback \
--client-id <client_id> \
--scope read
uxc auth oauth complete notion-openapi \
--session-id <session_id> \
--authorization-response 'http://127.0.0.1:8788/callback?code=...'
uxc auth credential set notion-openapi \
--auth-type oauth \
--header "Authorization=Bearer {{secret}}" \
--header "Notion-Version=2026-03-11"
uxc auth binding add \
--id notion-openapi \
--host api.notion.com \
--path-prefix /v1 \
--scheme https \
--credential notion-openapi \
--priority 100notion-mcpuxcAuthorization=Bearer {{secret}}Notion-Version=2026-03-11mcp.notion.com/mcpuxc auth credential set notion-mcp \
--auth-type oauth \
--header "Authorization=Bearer {{secret}}" \
--header "Notion-Version=2026-03-11"
uxc auth binding add \
--id notion-openapi-shared \
--host api.notion.com \
--path-prefix /v1 \
--scheme https \
--credential notion-mcp \
--priority 100uxc auth binding match https://api.notion.com/v1command -v notion-openapi-cliuxc link notion-openapi-cli https://api.notion.com/v1 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/notion-openapi-skill/references/notion-public.openapi.jsonnotion-openapi-cli -hnotion-openapi-cli post:/search -hnotion-openapi-cli get:/blocks/{block_id}/children -hnotion-openapi-cli post:/pages -hnotion-openapi-cli patch:/blocks/{block_id}/children -hnotion-openapi-cli post:/data_sources/{data_source_id}/query -hnotion-openapi-cli get:/users/menotion-openapi-cli post:/search '{"query":"Roadmap","filter":{"property":"object","value":"page"},"page_size":10}'notion-openapi-cli get:/blocks/{block_id}/children block_id=<uuid> page_size=100get:/blocks/{block_id}/childrenhas_children=trueget:/blocks/{block_id}/childrennotion-openapi-cli get:/data_sources/{data_source_id} data_source_id=<uuid>notion-openapi-cli post:/data_sources/{data_source_id}/query data_source_id=<uuid> '{"page_size":25}'notion-openapi-cli get:/databases/{database_id} database_id=<uuid>notion-openapi-cli post:/pages '{...}'notion-openapi-cli patch:/blocks/{block_id}/children '{...}'notion-openapi-cli patch:/pages/{page_id} '{...}'notion-openapi-cli delete:/blocks/{block_id} block_id=<uuid>get:/users/mepost:/searchget:/pages/{page_id}get:/pages/{page_id}/properties/{property_id}get:/blocks/{block_id}get:/blocks/{block_id}/childrenpost:/pagespatch:/pages/{page_id}patch:/blocks/{block_id}/childrenpatch:/blocks/{block_id}delete:/blocks/{block_id}get:/data_sources/{data_source_id}post:/data_sources/{data_source_id}/queryget:/databases/{database_id}post:/databases/{database_id}/query--textokkindprotocoldataerrorNotion-Version2026-03-11post:/pagespatch:/pages/{page_id}patch:/blocks/{block_id}/childrenpatch:/blocks/{block_id}delete:/blocks/{block_id}2026-03-11archivedin_trashin_trashpatch:/blocks/{block_id}/childrenpatch:/blocks/{block_id}patch:/blocks/{block_id}/childrendata_sourcesdatabasesget:/blocks/{block_id}/childrenpage_sizehas_morenext_cursornotion-openapi-cli <operation> ...uxc https://api.notion.com/v1 --schema-url <notion_openapi_schema> <operation> ...references/usage-patterns.mdreferences/notion-public.openapi.json