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
| Tool | Status |
|---|---|
| Claude Desktop | Supported |
| ChatGPT Desktop | Coming soon |
| Cursor | Coming soon |
Connecting Claude Desktop
Automatic setup (recommended):
- Open the Lore Haven desktop client
- Go to the Connections tab
- Click Connect Claude Desktop
- Lore Haven writes the configuration automatically
- 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:
- Open Claude Desktop's config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the
mcpServers.lorehavenentry shown above - Restart Claude Desktop
The Connections tab in the desktop client has a Copy snippet button that copies the exact JSON to add.
Connection states
| State | Meaning |
|---|---|
| Not installed | Claude Desktop not found on this device |
| Detected, not configured | Claude Desktop is installed but not yet connected |
| Configured, pending restart | Config written — restart Claude Desktop to connect |
| Connected | Active MCP connection — Lore loads every session |
Disconnecting
- Go to the Connections tab
- Click Disconnect next to Claude Desktop
- 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