Skip to content
Zed

Anki MCP for Zed

io.github.ryhus/anki-mcp

Manage local Anki notes, cards, decks, note types, media, and deck packages via AnkiConnect.

client:Zed transport:stdio runtime:npm

Install Anki MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "anki-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ryhus/anki-mcp"
      ],
      "env": {
        "ANKI_URL": "<ANKI_URL>",
        "ANKI_API_MODE": "<ANKI_API_MODE>",
        "ANKI_REQUEST_TIMEOUT_MS": "<ANKI_REQUEST_TIMEOUT_MS>",
        "ANKI_MEDIA_IMPORT_DIRS": "<ANKI_MEDIA_IMPORT_DIRS>",
        "ANKI_PACKAGE_IMPORT_DIR": "<ANKI_PACKAGE_IMPORT_DIR>",
        "ANKI_PACKAGE_EXPORT_DIR": "<ANKI_PACKAGE_EXPORT_DIR>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Anki MCP in other clients