This page explains how kontxt connects to MCP hosts and what “connected” means in practice. For the fastest path, follow the quickstart. If you want host specific instructions, use the guides:Documentation Index
Fetch the complete documentation index at: https://docs.4stax.com/llms.txt
Use this file to discover all available pages before exploring further.
What MCP is in this context
MCP is the protocol your host uses to talk to external tools over a standard interface. kontxt implements an MCP server that exposes your local vault as tools. When kontxt is connected:- Your host can call kontxt tools like
get_relevant_contextandstore_memory. - kontxt can return a small set of relevant memories for the current task.
- Your host can inject that context into the prompt before the model responds.
How kontxt is started by a host
Most hosts start kontxt using a command and argument list. The recommended configuration is:Where host config files live
Common locations:- Cursor
- Claude Desktop (macOS)
~/.cursor/mcp.jsonVerifying your setup
Step 1: Confirm the vault exists
vault.db.
Step 2: Confirm the server starts
Ctrl+C.
Step 3: Confirm you can store and retrieve
Step 4: Confirm the host is actually calling tools
Restart your host completely and ask a question that should depend on stored memory. If the response is consistent with stored preferences, kontxt is working end to end.Common failure modes
The host does not load MCP servers
Fully quit and reopen the host. Most hosts initialize MCP servers at startup only.npx is not found
Ensure Node.js is installed and npx is available in your PATH. On macOS, install Node using your preferred method and then restart your terminal and host.
The vault is empty
If you have never stored anything, retrieval will return no results. Store at least onepreference or fact and try again.
