@ankimcp/anki-mcp-server
Version:
Model Context Protocol server for Anki - enables AI assistants to interact with your Anki flashcards
105 lines (104 loc) • 7.6 kB
TypeScript
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, ReadOnlyModeError, } from "../../clients/anki-connect.client";
export { SyncTool } from "./tools/sync.tool";
export { GetDueCardsTool } from "./tools/get-due-cards.tool";
export { GetCardsTool } from "./tools/get-cards.tool";
export { PresentCardTool } from "./tools/present-card.tool";
export { RateCardTool } from "./tools/rate-card.tool";
export { ForgetCardsTool } from "./tools/forget-cards.tool";
export { SetDueDateTool } from "./tools/set-due-date.tool";
export { AreSuspendedTool } from "./tools/are-suspended.tool";
export { SuspendCardsTool } from "./tools/suspend-cards.tool";
export { UnsuspendCardsTool } from "./tools/unsuspend-cards.tool";
export { ModelNamesTool } from "./tools/model-names.tool";
export { ModelFieldNamesTool } from "./tools/model-field-names.tool";
export { ModelStylingTool } from "./tools/model-styling.tool";
export { CreateModelTool } from "./tools/create-model.tool";
export { UpdateModelStylingTool } from "./tools/update-model-styling.tool";
export { ModelTemplatesTool } from "./tools/model-templates.tool";
export { UpdateModelTemplatesTool } from "./tools/update-model-templates.tool";
export { AddModelFieldTool } from "./tools/add-model-field.tool";
export { RemoveModelFieldTool } from "./tools/remove-model-field.tool";
export { RenameModelFieldTool } from "./tools/rename-model-field.tool";
export { RepositionModelFieldTool } from "./tools/reposition-model-field.tool";
export { AddNoteTool } from "./tools/add-note.tool";
export { AddNotesTool } from "./tools/add-notes.tool";
export { FindNotesTool } from "./tools/find-notes.tool";
export { NotesInfoTool } from "./tools/notes-info.tool";
export { UpdateNoteFieldsTool } from "./tools/update-note-fields.tool";
export { DeleteNotesTool } from "./tools/delete-notes.tool";
export { GetTagsTool } from "./tools/get-tags.tool";
export { ListDecksTool } from "./tools/list-decks.tool";
export { DeckStatsTool } from "./tools/deck-stats.tool";
export { CreateDeckTool } from "./tools/create-deck.tool";
export { ChangeDeckTool } from "./tools/change-deck.tool";
export { RetrieveMediaFileTool } from "./tools/retrieve-media-file.tool";
export { GetMediaFilesNamesTool } from "./tools/get-media-files-names.tool";
export { StoreMediaFileTool } from "./tools/store-media-file.tool";
export { DeleteMediaFileTool } from "./tools/delete-media-file.tool";
export { AddTagsTool } from "./tools/add-tags.tool";
export { RemoveTagsTool } from "./tools/remove-tags.tool";
export { ReplaceTagsTool } from "./tools/replace-tags.tool";
export { ClearUnusedTagsTool } from "./tools/clear-unused-tags.tool";
export { CollectionStatsTool } from "./tools/collection-stats";
export { ReviewStatsTool } from "./tools/review-stats";
export { ReviewSessionPrompt } from "./prompts/review-session.prompt";
export { TwentyRulesPrompt } from "./prompts/twenty-rules.prompt";
export { SystemInfoResource } from "./resources/system-info.resource";
import { DynamicModule, Provider } from "@nestjs/common";
import { SyncTool } from "./tools/sync.tool";
import { GetDueCardsTool } from "./tools/get-due-cards.tool";
import { GetCardsTool } from "./tools/get-cards.tool";
import { PresentCardTool } from "./tools/present-card.tool";
import { RateCardTool } from "./tools/rate-card.tool";
import { ForgetCardsTool } from "./tools/forget-cards.tool";
import { SetDueDateTool } from "./tools/set-due-date.tool";
import { AreSuspendedTool } from "./tools/are-suspended.tool";
import { SuspendCardsTool } from "./tools/suspend-cards.tool";
import { UnsuspendCardsTool } from "./tools/unsuspend-cards.tool";
import { ModelNamesTool } from "./tools/model-names.tool";
import { ModelFieldNamesTool } from "./tools/model-field-names.tool";
import { ModelStylingTool } from "./tools/model-styling.tool";
import { CreateModelTool } from "./tools/create-model.tool";
import { UpdateModelStylingTool } from "./tools/update-model-styling.tool";
import { ModelTemplatesTool } from "./tools/model-templates.tool";
import { UpdateModelTemplatesTool } from "./tools/update-model-templates.tool";
import { AddModelFieldTool } from "./tools/add-model-field.tool";
import { RemoveModelFieldTool } from "./tools/remove-model-field.tool";
import { RenameModelFieldTool } from "./tools/rename-model-field.tool";
import { RepositionModelFieldTool } from "./tools/reposition-model-field.tool";
import { AddNoteTool } from "./tools/add-note.tool";
import { AddNotesTool } from "./tools/add-notes.tool";
import { FindNotesTool } from "./tools/find-notes.tool";
import { NotesInfoTool } from "./tools/notes-info.tool";
import { UpdateNoteFieldsTool } from "./tools/update-note-fields.tool";
import { DeleteNotesTool } from "./tools/delete-notes.tool";
import { GetTagsTool } from "./tools/get-tags.tool";
import { ListDecksTool } from "./tools/list-decks.tool";
import { DeckStatsTool } from "./tools/deck-stats.tool";
import { CreateDeckTool } from "./tools/create-deck.tool";
import { ChangeDeckTool } from "./tools/change-deck.tool";
import { RetrieveMediaFileTool } from "./tools/retrieve-media-file.tool";
import { GetMediaFilesNamesTool } from "./tools/get-media-files-names.tool";
import { StoreMediaFileTool } from "./tools/store-media-file.tool";
import { DeleteMediaFileTool } from "./tools/delete-media-file.tool";
import { AddTagsTool } from "./tools/add-tags.tool";
import { RemoveTagsTool } from "./tools/remove-tags.tool";
import { ReplaceTagsTool } from "./tools/replace-tags.tool";
import { ClearUnusedTagsTool } from "./tools/clear-unused-tags.tool";
import { CollectionStatsTool } from "./tools/collection-stats";
import { ReviewStatsTool } from "./tools/review-stats";
import { ReviewSessionPrompt } from "./prompts/review-session.prompt";
import { TwentyRulesPrompt } from "./prompts/twenty-rules.prompt";
import { SystemInfoResource } from "./resources/system-info.resource";
export declare const ESSENTIAL_MCP_TOOLS: (typeof SyncTool | typeof GetDueCardsTool | typeof GetCardsTool | typeof PresentCardTool | typeof RateCardTool | typeof ForgetCardsTool | typeof SetDueDateTool | typeof AreSuspendedTool | typeof SuspendCardsTool | typeof UnsuspendCardsTool | typeof ModelNamesTool | typeof ModelFieldNamesTool | typeof ModelStylingTool | typeof CreateModelTool | typeof UpdateModelStylingTool | typeof ModelTemplatesTool | typeof UpdateModelTemplatesTool | typeof AddModelFieldTool | typeof RemoveModelFieldTool | typeof RenameModelFieldTool | typeof RepositionModelFieldTool | typeof AddNoteTool | typeof AddNotesTool | typeof FindNotesTool | typeof NotesInfoTool | typeof UpdateNoteFieldsTool | typeof DeleteNotesTool | typeof GetTagsTool | typeof ListDecksTool | typeof DeckStatsTool | typeof CreateDeckTool | typeof ChangeDeckTool | typeof RetrieveMediaFileTool | typeof GetMediaFilesNamesTool | typeof StoreMediaFileTool | typeof DeleteMediaFileTool | typeof AddTagsTool | typeof RemoveTagsTool | typeof ReplaceTagsTool | typeof ClearUnusedTagsTool | typeof CollectionStatsTool | typeof ReviewStatsTool | typeof ReviewSessionPrompt | typeof TwentyRulesPrompt | typeof SystemInfoResource)[];
export interface McpPrimitivesAnkiEssentialModuleOptions {
ankiConfigProvider: Provider;
appConfigProvider?: Provider;
}
export declare class McpPrimitivesAnkiEssentialModule {
static forRoot(options: McpPrimitivesAnkiEssentialModuleOptions): DynamicModule;
}