Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCMOST_URL | Yes | The URL of your Docmost instance (e.g., https://your-docmost-instance.com) | |
| DOCMOST_AUTH_TOKEN | Yes | Your Docmost authentication token (found in the browser cookies as authToken) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| docmost_get_page | Get page information and content by ID or slug. Returns title, metadata, and full content. |
| docmost_list_pages | List pages in a space or under a parent page. |
| docmost_recent_pages | Get recently updated pages in a space. |
| docmost_create_page | Create a new page in Docmost. |
| docmost_update_page | Update an existing page's title or content. |
| docmost_delete_page | Delete a page from Docmost. |
| docmost_list_spaces | List all spaces in the workspace. |
| docmost_get_space | Get space information by ID or slug. |
| docmost_get_current_user | Get information about the currently authenticated user. |
| docmost_list_members | List all members in the workspace. |
| docmost_list_comments | List comments on a page. |
| docmost_add_comment | Add a comment to a page. |
| docmost_get_page_history | Get revision history of a page. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |