This guide covers the practical ways to integrate kontxt with software you are building today.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.
The hosted 4StaX developer API is on the roadmap. Today, the production ready integration surface is kontxt over MCP and the local CLI.
Integration options available today
Option 1: Ship kontxt as part of your developer workflow
If you are building a tool for developers, the simplest approach is to document kontxt as an optional dependency:- Your users install and initialize kontxt locally.
- Your app or IDE host connects to kontxt via MCP.
- Your app uses kontxt as the durable store for context.
Option 2: Use kontxt locally during development and support
Even if your app does not integrate directly, kontxt is useful as a local memory store for:- Project decisions
- Debugging notes
- Release checklists
- User support context
Installation for users
~/.kontxt/vault.db and configures supported MCP hosts when possible.
Common workflows you can recommend
Store project context
Capture a design discussion
Put notes into a file and capture them:Scan a repo to seed baseline context
If you want programmatic access today
The supported programmatic surface today is MCP tool calls through an MCP host. If your app is building its own MCP host, you can:- Start kontxt as an MCP server using
npx -y @4stax/kontxt serve. - Implement the MCP client side in your app.
- Call tools such as
search_memoriesandstore_memory.

