UNPKG

@ankimcp/anki-mcp-server

Version:

Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards

37 lines (36 loc) • 2.38 kB
export { ANKI_CONFIG } from "../../config/anki-config.interface"; export type { IAnkiConfig } from "../../config/anki-config.interface"; export * from "../../types/anki.types"; export * from "../../utils/anki.utils"; export { AnkiConnectClient, AnkiConnectError, } from "../../clients/anki-connect.client"; export { GuiBrowseTool } from "./tools/gui-browse.tool"; export { GuiSelectCardTool } from "./tools/gui-select-card.tool"; export { GuiSelectedNotesTool } from "./tools/gui-selected-notes.tool"; export { GuiAddCardsTool } from "./tools/gui-add-cards.tool"; export { GuiEditNoteTool } from "./tools/gui-edit-note.tool"; export { GuiDeckOverviewTool } from "./tools/gui-deck-overview.tool"; export { GuiDeckBrowserTool } from "./tools/gui-deck-browser.tool"; export { GuiCurrentCardTool } from "./tools/gui-current-card.tool"; export { GuiShowQuestionTool } from "./tools/gui-show-question.tool"; export { GuiShowAnswerTool } from "./tools/gui-show-answer.tool"; export { GuiUndoTool } from "./tools/gui-undo.tool"; import { DynamicModule, Provider } from "@nestjs/common"; import { GuiBrowseTool } from "./tools/gui-browse.tool"; import { GuiSelectCardTool } from "./tools/gui-select-card.tool"; import { GuiSelectedNotesTool } from "./tools/gui-selected-notes.tool"; import { GuiAddCardsTool } from "./tools/gui-add-cards.tool"; import { GuiEditNoteTool } from "./tools/gui-edit-note.tool"; import { GuiDeckOverviewTool } from "./tools/gui-deck-overview.tool"; import { GuiDeckBrowserTool } from "./tools/gui-deck-browser.tool"; import { GuiCurrentCardTool } from "./tools/gui-current-card.tool"; import { GuiShowQuestionTool } from "./tools/gui-show-question.tool"; import { GuiShowAnswerTool } from "./tools/gui-show-answer.tool"; import { GuiUndoTool } from "./tools/gui-undo.tool"; export declare const GUI_MCP_TOOLS: (typeof GuiBrowseTool | typeof GuiSelectCardTool | typeof GuiSelectedNotesTool | typeof GuiAddCardsTool | typeof GuiEditNoteTool | typeof GuiDeckOverviewTool | typeof GuiDeckBrowserTool | typeof GuiCurrentCardTool | typeof GuiShowQuestionTool | typeof GuiShowAnswerTool | typeof GuiUndoTool)[]; export interface McpPrimitivesAnkiGuiModuleOptions { ankiConfigProvider: Provider; appConfigProvider?: Provider; } export declare class McpPrimitivesAnkiGuiModule { static forRoot(options: McpPrimitivesAnkiGuiModuleOptions): DynamicModule; }