Docsmcp
Notion MCP Server
Connect FlowTrux workflows to Notion pages, databases, and comments
The Notion MCP server provides 10 tools for managing Notion pages, databases, blocks, and comments.
Setup
- Create an internal integration in your Notion workspace.
- Copy the Internal Integration Token (starts with
ntn_orsecret_). - In FlowTrux, go to Settings > MCP Servers > Add > Notion.
- Paste the token and save.
- In Notion, share the pages/databases you want to access with your integration.
Tools
Pages
| Tool | Description | Required Params |
|---|---|---|
search | Search pages and databases | (none) |
get_page | Get a page by ID | page_id |
create_page | Create a page in a parent page or database | parent_id, parent_type, title |
update_page | Update page properties | page_id, properties |
Blocks
| Tool | Description | Required Params |
|---|---|---|
get_block_children | Get child blocks of a page/block | block_id |
append_blocks | Append paragraph blocks to a page | block_id, content |
Databases
| Tool | Description | Required Params |
|---|---|---|
query_database | Query a database with optional filter/sort | database_id |
create_database_item | Create a new row in a database | database_id, properties |
get_database | Get database schema and properties | database_id |
Comments
| Tool | Description | Required Params |
|---|---|---|
add_comment | Add a comment to a page | page_id, text |
Examples
Create a page from AI output:
Agent (generate report) → Action:MCP(notion, create_page, {parent_id: "{{global.notionPageId}}", parent_type: "page_id", title: "{{steps.agent-1.output.response.title}}", content: "{{steps.agent-1.output.response.body}}"})
Add row to Notion database:
Webhook → Transform → Action:MCP(notion, create_database_item, {database_id: "{{global.notionDbId}}", properties: {...}})