A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nietus/anki-mcp below:

nietus/anki-mcp: MCP server for anki

MCP server for Anki. This server allows interaction with Anki through the Model Context Protocol (MCP). It enables users to manage flashcards, decks, and review processes programmatically.

Highly recommended to run locally, since AnkiConnect only works locally.

Was only tested on windows.

  1. Clone the repository:

    git clone https://github.com/nietus/anki-mcp
  2. Install dependencies:

  3. Build the project

  4. Setup for Audio Features (If you want to use audio tools):

    Create a .env file in the root directory with your Azure API key and Anki media directory:

    AZURE_API_KEY=your_azure_api_key_here
    ANKI_MEDIA_DIR=path/to/your/anki/media/directory
    

    For Anki media directory, use the path to your Anki collection.media folder. This is where audio files will be stored. If you have trouble, paste it directly into the code.

    Note: The ANKI_MEDIA_DIR is required for audio generation to work properly as Anki needs to find the audio files in its media collection.

  5. Integrate with Cursor settings (for local execution):

    To run your local build of anki-mcp with Cursor, you need to tell Cursor how to start the server. Below are example configurations which you can access on cursor settings. Replace YOUR_USERNAME and adjust the path if you cloned anki-mcp to a different location than Downloads.

    Windows:

    "anki": {
          "command": "cmd",
          "args": [
            "/c",
            "node",
            "c:/Users/YOUR_USERNAME/Downloads/anki-mcp/build/client.js"
          ]
        }

    macOS / Linux:

    "anki": {
          "command": "bash",
          "args": [
            "-c",
            "node /Users/YOUR_USERNAME/Downloads/anki-mcp/build/client.js"
          ]
        }

To debug the tools, use

The server provides the following tools for interacting with Anki:

More information can be found here Anki Integration | Smithery


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4