Skip to content

Integration

Windsurf

One command in the terminal, restart Windsurf. From then on the chat in Windsurf finds your knowledge when it answers.

Audience
Everyone working with the Windsurf editor. The free knowmind Private plan is enough.

Prerequisites

  • Windsurf installed
  • 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 windsurf --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 ~/.codeium/windsurf/mcp_config.json (Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json) and leaves existing entries alone.

    Outcome: The output reports “✓ Windsurf: knowmind eingetragen in …” (added to).

  3. 3

    Restart Windsurf

    Quit Windsurf completely and start it again. If Windsurf asks you to confirm 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: Windsurf calls knowmind_recall_memories and answers with your entry.

Verify the result

The connection works when these points hold:

  • Windsurf lists knowmind among its MCP servers as connected.
  • 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 commandWindsurf kept running during the setup.Quit Windsurf 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_config.json. We did not check the Windsurf interface itself; labels may differ between versions.

Related