
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
ankimcp/anki-mcp-server-addon은 MCP 서버 후보로 https://github.com/ankimcp/anki-mcp-server-addon.에서 수입되었습니다
개요
ankimcp/anki-mcp-server-addon은 MCP 서버 후보로 https://github.com/ankimcp/anki-mcp-server-addon.에서 수입되었습니다
개요(AI 번역)
모델 Context Protocol을 통해 AI Assistants와 Anki를 원활하게 통합합니다.
Anki addon은 Model Context Protocol (MCP)을 통해 AI Assistants에 컬렉션을 노출시킵니다.
이것은 무엇입니까?
사이트맵 Server는 Anki 내부의 로컬 MCP 서버를 실행하고, Claude와 같은 AI 조수를 허용하여 flashcard 컬렉션과 상호 작용합니다. AI-powered 연구 세션, 카드 제작 및 수집 관리가 가능합니다.
akimcp.ai 프로젝트의 일부.
첫 번째 실행에 노트
첫 번째 실행에서, 이 애드온은 PyPI에서 pydantic_core (~2MB)를 다운로드합니다. pydantic core는 단일 addon 파일에 묶을 수 없는 플랫폼별 binaries (Windows/macOS/Linux)가 포함되어 있기 때문에 필요합니다.
두 번째 네이티브 의존성, rpds (rpds-py]), 같은 방법을 처리하지만 거의 다운로드되지 않습니다 : Anki 이미 배 rpds] 자체의 변위로 jsonschema, 그래서 addon는 그것을 수입합니다. 다운로드는 그 수입이 실패하는 희소한 설치에 킥.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
AnkiMCP Server (Addon)
An Anki addon that exposes your collection to AI assistants via the Model Context Protocol (MCP).
What is this?
AnkiMCP Server runs a local MCP server inside Anki, allowing AI assistants like Claude to interact with your flashcard collection. This enables AI-powered study sessions, card creation, and collection management.
Part of the ankimcp.ai project.
Note on First Run
On first run, this addon downloads pydantic_core (~2MB) from PyPI. This is required because pydantic_core contains platform-specific binaries (Windows/macOS/Linux) that cannot be bundled in a single addon file.
A second native dependency, rpds (from rpds-py), is handled the same way — but it is almost never downloaded: Anki already ships rpds as a transitive dependency of its own jsonschema, so the addon just imports it. The download only kicks in on the rare install where that import fails. Both downloads are cached under Anki’s own data folder (outside the addon’s own folder, so it survives addon updates cleanly on every OS), falling back to the addon’s _cache/ directory when that location isn’t available — so either way they happen once, not on every launch. The old in-folder fallback cache is only ever removed once the outside-the-folder cache has proven itself usable (a successful load from it) and is never touched while a native module is still loaded from it — a failed first attempt (e.g. offline) leaves the old cache untouched rather than destroyed.
Features
- Local HTTP server - Runs on
http://127.0.0.1:3141/by default - Remote tunnel - Access your collection from anywhere via a public HTTPS URL
- MCP protocol - Compatible with any MCP client (Claude Desktop, etc.)
- Auto-start - HTTP server starts automatically when Anki opens
- Tunnel-friendly - Works with Cloudflare Tunnel, ngrok, or the built-in tunnel (exposing the HTTP server this way also requires extending the allowed hosts/origins)
- DNS-rebinding protection - The HTTP server validates
Host/Originheaders against a loopback allowlist by default; extend it for tunnel/reverse-proxy exposure - Optional API key - Require an
Authorization: Bearertoken on the HTTP transport viahttp_api_key(AnkiConnect-style; empty = disabled) - Toolbar indicator - A
● AnkiMCPitem in the top toolbar shows tunnel connection state at a glance (opt out viashow_toolbar_indicator)
설치
npx mcp-remote http://127.0.0.1:3141설정
{
"mcpServers": {
"anki": {
"command": "npx",
"args": ["mcp-remote", "http://127.0.0.1:3141"]
}
}
}