Skip to main content
Glama
fabianissam

AnkiConnect MCP Server

by fabianissam

AnkiConnect MCP Server

AnkiConnect용 Python MCP 서버입니다. 덱 검토 도우미: 덱을 카드 한 장씩 살펴보며 빈틈(동사 형태, 어형 변화)을 찾아내고, 승인 후 수정합니다.

필수 요구 사항

  • 백그라운드에서 실행 중인 Anki 2.1.x

  • AnkiConnect 애드온(설치 코드: 2055492159)

  • Python 3.11+

AnkiConnect 확인: http://127.0.0.1:8765를 열면 — AnkiConnect가 표시되어야 합니다.

Related MCP server: Anki MCP Server

설치

cd AnkiConnectMCP
python -m pip install -e .

Cursor MCP 구성

.cursor/mcp.json에서 (또는 Cursor 설정 → MCP):

{
  "mcpServers": {
    "anki-connect": {
      "command": "python",
      "args": ["-m", "anki_connect_mcp.server"],
      "cwd": "C:/Users/Fabian/Desktop/Projekte/AnkiConnectMCP",
      "env": {
        "PYTHONPATH": "src",
        "ANKI_CONNECT_URL": "http://127.0.0.1:8765"
      }
    }
  }
}

코드 변경 후 MCP 서버를 다시 로드하세요.

작동 방식

일반적인 세션 — JSON 없이, 채팅만으로:

Du:  „Geh mein Italienisch-Deck durch — Verben sollen alle Formen auf einer Karte haben“

KI:  list_deck_cards(deck_name="Italienisch", offset=0)
     → #1–#15 mit Front/Back

     Chat-Analyse:
     #3  mangiare — Partizip fehlt
     #7  il libro — nicht dekliniert
     Soll ich #3 anpassen?

Du:  „ja, Partizip mangiato“

KI:  BEFORE/AFTER im Chat + edit_card(note_id=…, back="…")

Du:  „weiter“ / „nächster Block“ / „#7 auch“

Run이 보류 중일 때 새 채팅 메시지 = 무조건 적용이 아닌 수정입니다.

도구

도구

설명

list_decks

덱 이름

list_deck_cards

체계적인 검토를 위한 번호가 매겨진 카드 페이지

get_card

카드 한 장 상세

search_cards

선택 검색(동사, 태그, 텍스트)

edit_card

승인된 수정 한 개 적용

add_card

새 카드 한 개 추가

보안

  • 읽기 도구는 Anki를 절대 수정하지 않습니다.

  • 쓰기는 Cursor Run 승인 후에만 동작합니다.

  • 삭제 도구는 없습니다. 선택적으로 ALLOWED_DECKS 허용 목록을 사용할 수 있습니다.

  • 한 번에 하나의 도구만 동작합니다(서버 잠금).

라이선스

MIT

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fabianissam/AnkiConnectMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server