Skip to content

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.

Audience
Everyone using the chat in VS Code. The free knowmind Private plan is enough.

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. 1

    Get the command

    1. Copy the command.
      bash
      npx -y knowmind@latest install vscode --token kmt_YOUR_KEY
    2. Replace kmt_YOUR_KEY with your access key. You create a key in the Cockpit under access keys.

    Outcome: The command with your key is on your clipboard.

  2. 2

    Run the command

    Paste the command into a terminal and press enter. It extends mcp.json in 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. 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. 4

    First recall

    1. Write in the chat: “Save to knowmind: releases always ship on Tuesdays.”
    2. Then ask: “When do releases ship?”

    Outcome: VS Code calls knowmind_recall_memories and 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 messageCauseResolution
npx: command not foundNode.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 commandVS Code kept running during the setup.Quit VS Code completely and open it again.
Calls report 401The key was copied incompletely or has been revoked.Create a new one under access keys and repeat the command. It replaces the old entry.
What we tested
Tested on 2 December 2026 with knowmind 0.4.12 in an empty user folder: the command writes the entry with your key to mcp.json. We did not check the VS Code interface itself; labels may differ between versions.

Related