Integration
Claude Desktop
This guide registers knowmind as an MCP server in the Claude Desktop app. From then on, every chat in Claude Desktop has access to the ten knowmind tools. Setup takes around five minutes.
Prerequisites
- Claude Desktop installed (Anthropic account required)
- knowmind account on any plan
- One of the two integration options ready: (a) the knowmind CLI installed with a registered token, or (b) an API token of the form kmt_…
Recommendation: use the CLI option
Steps
- 1
Locate the configuration file
Claude Desktop reads its MCP configuration from a JSON file. The path depends on the operating system:
textmacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.jsonIf the file does not exist, create it. If it does, check whether an
mcpServersblock is already present — extend it rather than overwriting it.Outcome: You have the file open in an editor.
- 2
Option A: register the knowmind CLI (recommended)
Prerequisite: you have run
knowmind login --token kmt_…once. If not, follow the command line guide first.json{ "mcpServers": { "knowmind": { "command": "knowmind", "args": ["mcp"] } } }Claude Desktop launches
knowmind mcpon demand, which authenticates using the token from the CLI configuration and relays requests.Outcome: The configuration file contains the knowmind entry, the API token stays in the CLI configuration.
- 3
Option B: HTTP transport with a bearer token
This option does not require the CLI, but stores the token inside the Claude Desktop configuration file.
json{ "mcpServers": { "knowmind": { "type": "http", "url": "https://knowmind.de/api/mcp/v1", "headers": { "Authorization": "Bearer kmt_…" } } } }Safety noticeToken stored in clear text
The configuration file contains your API token in clear text. Keep it out of shared folders, backup services and version control. If compromised, revoke the token in the dashboard and create a new one. - 4
Restart Claude Desktop
Claude Desktop reads its configuration only at startup. Quit the app fully (right-click the menu bar or task bar icon) and start it again.
Outcome: The ten knowmind tools appear in the Claude Desktop tool drawer. Open the drawer with the tool icon at the bottom of the chat window.
- 5
Smoke-test from chat
Ask a question that points at known content in your Memory Store: "What do we know about Project Helios?" or "Who is the onboarding contact?"
Outcome: Claude Desktop calls
knowmind.recall(visible in the tool-call area) and answers based on your knowmind content.
Verify the result
The integration is set up correctly when all three conditions hold:
- The knowmind tools are visible in the Claude Desktop tool drawer (recall, stats, health, store_memory, upload_document, update_fact, link, unlink, list_relations, recall_at_time).
- A question about content in your workspace triggers a Claude answer that cites the source.
- In the knowmind dashboard, under "Audit log", you see the recall calls (only if your plan includes the audit log — available from Private upwards).
Troubleshooting
| Error message | Cause | Resolution |
|---|---|---|
| Tools not visible in the drawer | Claude Desktop was not fully quit — only the window was closed. | Use "Quit" from the menu-bar or task-bar icon, then start the app again. |
| JSON syntax error in claude_desktop_config.json | Misplaced comma or missing bracket. | Open the file in an editor with JSON linting (for example VS Code) and fix the reported error. Templates are in step 2 and step 3 above. |
| ECONNREFUSED on tool call | knowmind.de unreachable, or local network blocks outbound HTTPS. | Open https://knowmind.de/api/health in your browser. If that returns OK, check firewall and proxy settings on your workstation. |
| 401 unauthorized in Option B | Token value copied incorrectly or whitespace inside the quotes. | Revoke the token in the dashboard, create a new one and copy the full kmt_… string without spaces. |