Back to Home
Dhana009 icon

anki-mcp-claude

by Dhana009

Overview

This server provides a Model Context Protocol (MCP) interface for AI assistants to programmatically manage Anki flashcards and decks via AnkiConnect.

Installation

Run Command
./anki-mcp

Environment Variables

  • ANKI_CONNECT_URL

Security Notes

The server's `create_card` tool allows arbitrary local file paths (e.g., `image_path`, `front_audio_path`) to be passed as arguments. This means an AI assistant (or an attacker controlling the AI's prompts) could instruct the server to read and process any file on the local filesystem where the server is running. This constitutes a Local File Inclusion (LFI) vulnerability, potentially leading to unauthorized disclosure of sensitive information. The code does not sanitize these file paths before reading them with `os.ReadFile`.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassLow
Avg Tokens300
Stars0
Forks0
Last Update2025-11-19

Tags

AnkiFlashcardsMCPAI AssistantsGo