Running the server

Updated May 23, 2026

Standalone execution

Run the server directly:

./target/release/dear-diary

The server communicates via stdio using the MCP JSON-RPC protocol.

Integration with Claude Desktop

Add Dear Diary to the Claude Desktop configuration file:

On macOS, edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "dear-diary": {
      "command": "/path/to/dear-diary",
      "env": {
        "QDRANT_URL": "https://xyz789.eu-west-1-0.aws.cloud.qdrant.io:6334",
        "QDRANT_API_KEY": "your_production_api_key_here",
        "COLLECTION_NAME": "claude-memories"
      }
    }
  }
}

On Linux, the configuration file is typically located at ~/.config/Claude/claude_desktop_config.json.