CA

camdenclark/anki-mcp-server

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

80 stars 13 forks 품질 59 트렌드 14MIT

camdenclark/anki-mcp-server는 MCP 서버 후보가 https://github.com/camdenclark/anki-mcp-server.에서 가져온 것입니다

개요

camdenclark/anki-mcp-server는 MCP 서버 후보가 https://github.com/camdenclark/anki-mcp-server.에서 가져온 것입니다

개요(AI 번역)

AnkiConnect 플러그인을 통해 Anki와 통합하는 서버

AnkiConnect 플러그인을 통해 Anki와 통합하는 TypeScript 기반 MCP 서버입니다. 그것은 제공하는 핵심 MCP 개념을 보여줍니다:

  • Anki decks를 대표하는 자원과 URI와 노트 모델
  • Anki 노트 작성 및 관리 도구
  • AnkiConnect API와 통합

특징

자원

  • anki://decks/{id}을 통해 Anki decks 목록 및 액세스 한국어
  • anki://models/{id}를 통해 목록 및 액세스 노트 모델 한국어
  • Anki 객체의 JSON 표현

도구

  • listDecks - 모든 데크의 이름을 가져옵니다
  • listModels - 모든 노트 모델의 이름을 가져옵니다
  • getModel - 특정 노트 모델의 세부 정보를 얻으십시오.
  • addNote - 하나의 메모 만들기
  • 갑판 이름, 모델 이름, 필드 및 태그 지정
  • addNotes - 대량의 여러 노트 만들기
  • 지정된 매개 변수로 많은 노트를 만듭니다.

개발

의존성 설치:

서버 구축:

auto-rebuild를 가진 발달을 위해:

설치

Claude Desktop을 사용하려면 서버 구성을 추가하십시오.

MacOS에서: ~/Library/Application Support/Claude/claude_desktop_config.json Windows에서: %APPDATA%/Claude/claude_desktop_config.json

# # # 디버깅

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

anki-mcp MCP Server

A server to integrate with Anki via the AnkiConnect plugin

This is a TypeScript-based MCP server that integrates with Anki via the AnkiConnect plugin. It demonstrates core MCP concepts by providing:

  • Resources representing Anki decks and note models with URIs
  • Tools for creating and managing Anki notes
  • Integration with AnkiConnect API

Features

Resources

  • List and access Anki decks via anki://decks/{id} URIs
  • List and access note models via anki://models/{id} URIs
  • JSON representation of Anki objects

Tools

  • listDecks - Get names of all decks
  • listModels - Get names of all note models
  • getModel - Get details of a specific note model
  • addNote - Create a single note
    • Specify deck name, model name, fields and tags
  • addNotes - Create multiple notes in bulk
    • Create many notes with specified parameters

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "anki-mcp": {
      "command": "node",
      "args": ["d:\\anki-mcp-server\\build\\index.js"]
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "anki-mcp": { "command": "node", "args": ["d:\\anki-mcp-server\\build\\index.js"] } } }