Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default | 
|---|---|---|---|
| JOURNAL_DIR | No | Directory for saving journal files | ~/Documents/journal | 
| FILE_EXTENSION | No | Journal file extension | .md | 
| FILENAME_PREFIX | No | Prefix for file names | journal | 
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description | 
|---|---|
| start_journaling | Interactive prompt to begin a journaling session. Returns: Starting prompt for journaling session | 
Resources
Contextual data attached and managed by the client
| Name | Description | 
|---|---|
| journals://recent | 
Tools
Functions exposed to the LLM to take actions
| Name | Description | 
|---|---|
| start_new_session | Start a new journaling session by clearing previous conversation log. Returns: str: Welcome message with current save location | 
| record_interaction | Record both the user's message and assistant's response. Args: user_message: The user's message assistant_message: The assistant's response Returns: str: Confirmation message | 
| generate_session_summary | Generate a markdown summary of the journaling session. Args: summary: The llm generated summay of the conversation Returns: str: Confirmation message |