Connecting AI Tools

Lore Haven connects to AI tools via the Model Context Protocol (MCP). Once connected, your Lore and vault load automatically at the start of every conversation — no copy-pasting needed.

Supported tools

ToolStatus
Claude DesktopSupported
ChatGPT DesktopComing soon
CursorComing soon

Connecting Claude Desktop

Automatic setup (recommended):

  1. Open the Lore Haven desktop client
  2. Go to the Connections tab
  3. Click Connect Claude Desktop
  4. Lore Haven writes the configuration automatically
  5. Restart Claude Desktop to complete the connection

After restarting, the Connections tab shows Connected. Your Lore will now load automatically in every Claude conversation.

What Lore Haven writes

Lore Haven adds a single key to Claude Desktop's config file:

{
  "mcpServers": {
    "lorehaven": {
      "url": "http://localhost:7891",
      "description": "Your Lore Haven vault"
    }
  }
}

This is a safe, additive change. Lore Haven only writes the mcpServers.lorehaven key and never modifies anything else in the config.

Manual setup

If you prefer to configure manually:

  1. Open Claude Desktop's config file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the mcpServers.lorehaven entry shown above
  3. Restart Claude Desktop

The Connections tab in the desktop client has a Copy snippet button that copies the exact JSON to add.

Connection states

StateMeaning
Not installedClaude Desktop not found on this device
Detected, not configuredClaude Desktop is installed but not yet connected
Configured, pending restartConfig written — restart Claude Desktop to connect
ConnectedActive MCP connection — Lore loads every session

Disconnecting

  1. Go to the Connections tab
  2. Click Disconnect next to Claude Desktop
  3. Restart Claude Desktop to complete the disconnection

Disconnecting removes the mcpServers.lorehaven key from Claude Desktop's config. No vault files are deleted.

The MCP server

Lore Haven runs a local MCP server on localhost:7891 (configurable in Settings). It starts automatically when the desktop client launches and stops when it quits.

If the server is stopped: Go to the Connections tab and click Start, or restart the desktop client.

Port conflicts: If port 7891 is in use by another app, change the port in Settings, then reconnect Claude Desktop so the config uses the new port.

What AI receives

When Claude Desktop starts a new conversation after connecting, these resources are available:

  • Your full Lore document
  • Workspace instructions (how to use the vault)
  • Index of permanent files
  • All other vault resources, available on demand