Integration
VS Code
One command in the terminal, restart VS Code. From then on the chat in VS Code finds your knowledge when it answers.
Prerequisites
- A current VS Code with GitHub Copilot chat
- Node.js 20 or newer (check: node --version)
- A knowmind account. None yet? Create one for free
Steps
- 1
Get the command
- Copy the command.bash
npx -y knowmind@latest install vscode --token kmt_YOUR_KEY - Replace
kmt_YOUR_KEYwith your access key. You create a key in the Cockpit under access keys.
Outcome: The command with your key is on your clipboard.
- Copy the command.
- 2
Run the command
Paste the command into a terminal and press enter. It extends
mcp.jsonin your VS Code user folder (Windows:%APPDATA%\Code\User\mcp.json, macOS:~/Library/Application Support/Code/User/mcp.json) and leaves existing entries alone.Outcome: The output reports “✓ VS Code: knowmind eingetragen in …” (added to).
- 3
Restart VS Code
Quit VS Code completely and start it again. If VS Code asks whether to start or trust knowmind, agree.
Outcome: The knowmind tools are available in the chat.
- 4
First recall
- Write in the chat: “Save to knowmind: releases always ship on Tuesdays.”
- Then ask: “When do releases ship?”
Outcome: VS Code calls
knowmind_recall_memoriesand answers with your entry.
Verify the result
The connection works when these points hold:
- VS Code lists knowmind among its MCP servers as running.
- The recall shows up in the Cockpit timeline, and access keys shows a time of last use.
Troubleshooting
| Error message | Cause | Resolution |
|---|---|---|
| npx: command not found | Node.js is missing on this machine. | Install it from nodejs.org, open a new terminal, run the command again. |
| knowmind does not appear after the command | VS Code kept running during the setup. | Quit VS Code completely and open it again. |
| Calls report 401 | The key was copied incompletely or has been revoked. | Create a new one under access keys and repeat the command. It replaces the old entry. |
mcp.json. We did not check the VS Code interface itself; labels may differ between versions.
