MCP Journaling Server

by mtct

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JOURNAL_DIRNoDirectory for saving journal files~/Documents/journal
FILE_EXTENSIONNoJournal file extension.md
FILENAME_PREFIXNoPrefix for file namesjournal

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
start_journaling Interactive prompt to begin a journaling session. Returns: Starting prompt for journaling session

Resources

Contextual data attached and managed by the client

NameDescription
journals://recent

Tools

Functions exposed to the LLM to take actions

NameDescription
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