Skip to content

Integration

JetBrains

One command prints the entry, you paste it into the settings. From then on AI Assistant finds your knowledge when it answers.

Audience
Everyone using AI Assistant in IntelliJ IDEA, PyCharm or another JetBrains IDE. The free knowmind Private plan is enough.

Prerequisites

  • A JetBrains IDE with AI Assistant
  • 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 jetbrains --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 writes no file; the IDE takes the entry through its settings.

    Outcome: The output shows the entry, starting with { "mcpServers": ….

  3. 3

    Paste the entry

    1. Copy the entry from the terminal.
    2. In the IDE, open Settings.
    3. Click Tools.
    4. Click AI Assistant.
    5. Click Model Context Protocol (MCP).
    6. Add a new server in JSON format.
    7. Paste the entry.
    8. Save.

    Outcome: The IDE lists knowmind among its MCP servers.

  4. 4

    First recall

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

    Outcome: JetBrains calls knowmind_recall_memories and answers with your entry.

Verify the result

The connection works when these points hold:

  • The IDE 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.
The IDE rejects the entryA brace at the start or end went missing while copying.Run the command again and copy the whole output, from the first to the last curly brace.
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: the command prints the entry with your key. We did not check the JetBrains settings themselves; the menu path may differ between versions.

Related