Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
OPENAPI_MCP_HEADERS | Yes | JSON string containing the Notion API authorization headers, including the Bearer token and API version | {"Authorization": "Bearer ntn_****", "Notion-Version": "2022-06-28" } |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
API-get-user | Retrieve a user Error Responses: 400: 400 |
API-get-users | List all users Error Responses: 400: 400 |
API-get-self | Retrieve your token's bot user |
API-post-database-query | Query a database |
API-post-search | Search by title |
API-get-block-children | Retrieve block children |
API-patch-block-children | Append block children |
API-retrieve-a-block | Retrieve a block |
API-update-a-block | Update a block |
API-delete-a-block | Delete a block |
API-retrieve-a-page | Retrieve a page |
API-patch-page | Update page properties |
API-post-page | Create a page |
API-create-a-database | Create a database |
API-update-a-database | Update a database |
API-retrieve-a-database | Retrieve a database |
API-retrieve-a-page-property | Retrieve a page property item |
API-retrieve-a-comment | Retrieve comments |
API-create-a-comment | Create comment |