Skip to main content
Glama
anki-connect-mcp
by SolarianGG

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANKICONNECT_URLNoAPI v1 endpoint. Can also be set with the --url flag.http://127.0.0.1:8765/api/v1
ANKI_MCP_EXCLUDENoComma-separated method patterns to hide, e.g. application.exit,advanced.*. Can also be set with the --exclude flag.
ANKI_MCP_INCLUDENoComma-separated method patterns to include, e.g. decks.*,notes.*. Can also be set with the --include flag.all
ANKI_MCP_LOG_LEVELNoLog level. Logs go to stderr.WARNING
ANKI_MCP_READ_ONLYNoExpose only read methods plus operations_get. Can also be set with the --read-only flag.off
ANKICONNECT_API_KEYNoThe apiKey from the Anki-Connect add-on settings, sent as Authorization: Bearer. Can also be set with the --api-key flag.
ANKICONNECT_TIMEOUTNoHTTP timeout per request, in seconds. Can also be set with the --timeout flag.60

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
api_describeB

Discover methods, schemas, limits and runtime capabilities.

Anki-Connect method api.describe. Scope: application. Effect: read. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams.

access_requestPermissionB

Ask for access using the transport-supplied origin.

Never accept origin or allowed from parameters. Authentication exemption matches legacy permission discovery.

Anki-Connect method access.requestPermission. Scope: application. Effect: permission. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams.

profiles_listA

List existing profiles.

Anki-Connect method profiles.list. Scope: application. Effect: read. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams.

profiles_getActiveA

Return the active profile or null.

Anki-Connect method profiles.getActive. Scope: application. Effect: read. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams.

profiles_switchA

Switch profiles and finish when the destination collection is ready.

Anki-Connect method profiles.switch. Scope: application. Effect: lifecycle. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: busy, cancelled, internalError, invalidParams, notFound.

collection_getB

Inspect the active collection and its session.

Anki-Connect method collection.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

collection_syncA

Run one coordinated GUI/background sync.

Full sync choices are waitingForUser; never launch a second sync. includeMedia is intersected with profile media-sync settings.

Anki-Connect method collection.sync. Scope: collection. Effect: lifecycle. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: authenticationRequired, busy, cancelled, collectionUnavailable, editorConflict, internalError, invalidParams, ioError, staleSession.

collection_refreshA

Refresh windows, optionally invalidating supported collection caches first.

Does not close/reopen the collection and does not repair invalid scheduling state.

Anki-Connect method collection.refresh. Scope: collection. Effect: refresh. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

collection_checkIntegrityA

Run Anki database checks and repairs with normal UI completion.

Anki-Connect method collection.checkIntegrity. Scope: collection. Effect: write. Completion: operation. Undo: clears.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: cancelled, collectionUnavailable, editorConflict, internalError, invalidParams, staleSession.

collection_undoA

Undo the current Anki undo entry.

Anki-Connect method collection.undo. Scope: collection. Effect: write. Completion: operation. Undo: undo.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, invalidState, staleSession.

notes_getA

Get a note, including an empty cardIds array for cardless notes.

Anki-Connect method notes.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

notes_getManyA

Get notes in input order, preserving repeated IDs.

Anki-Connect method notes.getMany. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

notes_searchA

Search with Anki syntax; an empty query searches all notes.

Anki-Connect method notes.search. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, invalidSearch, staleCursor, staleSession.

notes_validateA

Validate note content and duplicate scope without acquiring media.

Semantic content failures return valid=false and issues; bad references or parameter types are RPC errors.

Anki-Connect method notes.validate. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

notes_validateManyA

Validate each note independently without side effects.

Anki-Connect method notes.validateMany. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

notes_createB

Create a note and return its actual generated cards.

Anki-Connect method notes.create. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

notes_createManyA

Create notes independently, or as one native atomic collection batch.

atomic=true validates the full set including within-batch duplicates, then uses Collection.add_notes. Any failure is a top-level error with indexed issues and no collection changes. Success keeps the same items result shape. Empty input is a no-op.

Anki-Connect method notes.createMany. Scope: collection. Effect: write. Completion: completed. Undo: perItemOrAtomic.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

notes_updateA

Apply fields and tags together in one native note update.

Anki-Connect method notes.update. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

notes_deleteA

Delete notes and their cards; missing IDs are item errors.

Anki-Connect method notes.delete. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

notes_planConversionB

Get native suggested field/template mappings and a schema token.

Anki-Connect method notes.planConversion. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

notes_convertA

Convert same-type notes through Anki note-type conversion.

Mappings are complete target-name to source-name/null lists. Reject duplicate source mappings, mixed source note types and stale tokens. Removed source templates lose their cards/history as defined by Anki; cloze mappings use native supported rules, never raw mid assignment.

Anki-Connect method notes.convert. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession, unsupportedCapability.

notes_findEmptyA

Find cleanup candidates by an explicit criterion.

No deletion. allFieldsEmpty uses native HTML-aware emptiness; allQuestionsEmpty uses native empty-card generation. Return all matching IDs through normal cursor pagination.

Anki-Connect method notes.findEmpty. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, invalidSearch, staleSession.

tags_listA

List registered tags.

Anki-Connect method tags.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

tags_addB

Add tags on selected notes.

Anki-Connect method tags.add. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

tags_removeA

Remove tags on selected notes.

Anki-Connect method tags.remove. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

tags_replaceA

Replace a tag on explicit notes or all notes.

Exactly one selector: noteIds or allNotes=true. Never interpret an omitted selector as all notes.

Anki-Connect method tags.replace. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, staleSession.

tags_deleteUnusedA

Remove unused tag registrations.

Anki-Connect method tags.deleteUnused. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, staleSession.

cards_getA

Read stored card state without rendering or predicting answers.

Anki-Connect method cards.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

cards_getManyA

Get cards in input order.

Anki-Connect method cards.getMany. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

cards_searchA

Search cards using Anki search syntax.

Anki-Connect method cards.search. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, invalidSearch, staleCursor, staleSession.

cards_renderB

Render a stored card with Anki rendering.

Anki-Connect method cards.render. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

cards_moveA

Move cards with Collection.set_deck and target-preset invariants.

Target must already exist and be normal. Moving out of a filtered deck restores native state first through the native move operation.

Anki-Connect method cards.move. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, invalidState, notFound, staleSession.

cards_setSuspendedA

Suspend or restore cards idempotently.

changed=false means already in requested state. Process repeated mutation IDs once and repeat their result.

Anki-Connect method cards.setSuspended. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

cards_setFlagsA

Set the user flag through Anki native flag persistence.

Zero clears the user flag; preserve other backend flag bits.

Anki-Connect method cards.setFlags. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

scheduling_getB

Read authoritative current scheduling state.

Anki-Connect method scheduling.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

scheduling_getQueueA

Read cards in native scheduler order with remaining counts.

Uses Anki's currently selected deck and respects native limits, mixing and scheduler order. Reading the queue is idempotent; subsequent scheduling changes can change the snapshot.

Anki-Connect method scheduling.getQueue. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

scheduling_predictA

Predict native answers and issue a session-scoped state token.

Does not represent custom states held by the GUI reviewer. Tokens are invalidated by relevant writes, undo, profile change and scheduler-day rollover.

Anki-Connect method scheduling.predict. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, invalidState, notFound, staleSession.

scheduling_getDueA

Inspect queue-aware due eligibility without requiring history.

dueNow excludes learn-ahead and suspended/buried queues. New cards are available but have no timed due obligation. available ignores daily deck limits; includeLearnAhead expands learning availability only.

Anki-Connect method scheduling.getDue. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

scheduling_answerA

Answer using native states matching the supplied prediction token.

Reject suspended/buried and filtered-preview cards. For the active GUI card use reviewer.answer. Native elapsed-time capping applies. No client-supplied historical answer timestamp.

Anki-Connect method scheduling.answer. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, invalidState, notFound, staleSession.

scheduling_answerManyA

Answer cards independently in input order.

Anki-Connect method scheduling.answerMany. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, invalidState, notFound, staleSession.

scheduling_resetA

Reset cards as new using the native scheduler.

Anki-Connect method scheduling.reset. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

scheduling_setDueDateA

Set due dates using Anki native days/range syntax.

Anki-Connect method scheduling.setDueDate. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

decks_listA

List decks in case-sensitive name order.

Anki-Connect method decks.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

decks_getA

Resolve a deck without creating it or falling back to Default.

Anki-Connect method decks.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

decks_createA

Create a normal deck, returning the existing deck for an exact existing name.

Anki-Connect method decks.create. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, staleSession.

decks_updateA

Rename a deck using native hierarchy handling.

Anki-Connect method decks.update. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession.

decks_deleteA

Delete decks and their cards with explicit acknowledgement.

Includes native child-deck deletion and removal of resulting cardless notes; deleting Default follows native behavior.

Anki-Connect method decks.delete. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, invalidState, notFound, staleSession.

decks_getCountsB

Get native due-tree counts and total cards.

Anki-Connect method decks.getCounts. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

deckPresets_listA

List available deck presets.

Anki-Connect method deckPresets.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

deckPresets_getA

Read a typed preset.

Anki-Connect method deckPresets.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

deckPresets_createA

Create a preset by cloning a specified preset or native defaults.

Anki-Connect method deckPresets.create. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession.

deckPresets_updateA

Update a preset and all dependent cards through the coordinated backend request.

Require name or settings. Preserve current target deck, collection settings, overrides and custom scheduler in the update request. rescheduleFsrs explicitly controls optional full rescheduling; mandatory native memory/step updates still run.

Anki-Connect method deckPresets.update. Scope: collection. Effect: write. Completion: operation. Undo: single.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

deckPresets_assignA

Assign a preset and execute native dependent-card updates.

Anki-Connect method deckPresets.assign. Scope: collection. Effect: write. Completion: operation. Undo: perItem.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, invalidState, notFound, staleSession.

deckPresets_deleteA

Delete a preset, explicitly reassigning dependent decks first.

replacement is required when in use. Reject Default preset deletion. No changes occur on failed preflight; do not promise atomicity across multiple native backend operations.

Anki-Connect method deckPresets.delete. Scope: collection. Effect: write. Completion: operation. Undo: grouped.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession.

noteTypes_listA

List note types in name order.

Anki-Connect method noteTypes.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

noteTypes_getB

Read ordered fields/templates and styling.

Anki-Connect method noteTypes.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

noteTypes_createA

Create a normal or cloze note type.

Anki-Connect method noteTypes.create. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, staleSession, validationFailed.

noteTypes_updateA

Update nonstructural note-type settings.

Anki-Connect method noteTypes.update. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

noteTypes_editStructureA

Apply ordered structural edits and persist once using native note-type updates.

Carry original field/template ordinals to preserve card identity. Added entries have no original ordinal. Validate all edits on a copy before saving; reject last field/template removal and invalid cloze structures.

Anki-Connect method noteTypes.editStructure. Scope: collection. Effect: write. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, validationFailed.

noteTypes_getTemplateUsageA

Inspect question/answer template field references.

Python adapter mirrors native token rules because the parsed tree is not exposed to Python. Includes conditional fields and filtered replacements, ignores HTML comments and special fields, supports legacy alternate delimiters, and returns real fields once in first-reference order.

Anki-Connect method noteTypes.getTemplateUsage. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession, validationFailed.

noteTypes_replaceTextA

Replace literal text in explicit note types or all note types.

Exactly one selector: noteTypes or allNoteTypes=true. Count changed types, not occurrences.

Anki-Connect method noteTypes.replaceText. Scope: collection. Effect: write. Completion: completed. Undo: grouped.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, staleSession.

noteTypes_deleteUnusedA

Delete only explicitly selected note types whose use count is zero.

Anki-Connect method noteTypes.deleteUnused. Scope: collection. Effect: write. Completion: completed. Undo: perItem.

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession.

media_storeA

Acquire and store media using Anki filename normalization.

Reject traversal and path separators in filename. Validate strict base64 and source types before acquisition. Skip comparison is against incoming bytes and never deletes an existing file. Replacement is explicit and not collection-undoable.

Anki-Connect method media.store. Scope: collection. Effect: media. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, conflict, internalError, invalidParams, ioError, notFound, staleSession.

media_getA

Read media bytes as base64.

A basename is required; no filesystem traversal or arbitrary paths.

Anki-Connect method media.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

media_listA

List normalized media basenames matching a basename glob.

Anki-Connect method media.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

media_deleteA

Move media to Anki trash without deleting notes.

Anki-Connect method media.delete. Scope: collection. Effect: media. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

media_getDirectoryA

Return the local active collection media directory.

Anki-Connect method media.getDirectory. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

reviews_listA

Read review history ordered by ascending review ID.

cardIds and deck are mutually exclusive. No selector means all history. afterId is exclusive. Current/home membership is explicit for filtered cards.

Anki-Connect method reviews.list. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleCursor, staleSession.

reviews_getLatestIdB

Return the latest matching history ID or null.

Anki-Connect method reviews.getLatestId. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

statistics_getTodayA

Count actual reviews in Anki current scheduler day, excluding manual/rescheduled entries.

Anki-Connect method statistics.getToday. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

statistics_getReviewDaysA

Return all nonempty historical review days in descending date order using native graph day conventions.

Anki-Connect method statistics.getReviewDays. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

statistics_getSummaryA

Get structured collection statistics or an explicit deck including children.

Anki-Connect method statistics.getSummary. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

statistics_getHtmlB

Return the supported legacy HTML report, labelled as such.

Anki-Connect method statistics.getHtml. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, notFound, staleSession.

packages_importA

Import an Anki package with normal collection completion.

Anki-Connect method packages.import. Scope: collection. Effect: write. Completion: operation. Undo: clears.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: cancelled, collectionUnavailable, editorConflict, internalError, invalidParams, ioError, notFound, staleSession.

packages_exportA

Export the specified deck package.

Anki-Connect method packages.export. Scope: collection. Effect: filesystem. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: cancelled, collectionUnavailable, internalError, invalidParams, ioError, notFound, staleSession.

browser_openA

Open the browser and finish after the requested search/sort completes.

Omitted query preserves existing browser search. Explicit direction is applied regardless of previous/default column order.

Anki-Connect method browser.open. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, internalError, invalidParams, invalidSearch, invalidState, staleSession.

browser_getSelectionA

Read browser selection; closed browser returns open=false and empty arrays.

Anki-Connect method browser.getSelection. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

browser_selectA

Replace selection in an already open browser.

Exactly one selector. Note IDs select their cards in card mode; card IDs select their notes in note mode. This method does not open a closed browser.

Anki-Connect method browser.select. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, internalError, invalidParams, invalidState, notFound, staleSession.

editors_openNoteA

Open the custom note editor and finish once it is ready.

Anki-Connect method editors.openNote. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

editors_openAddA

Open or activate the configured Add editor and optionally populate a draft.

Use the active legacy/Svelte variant. Do not run duplicate/empty-field eligibility checks on an unfinished draft. Return noteId=null until persisted; do not claim ID 0 identifies a future note.

Anki-Connect method editors.openAdd. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

editors_updateDraftA

Update an Add draft through coordinated dialog setters.

Set note type before explicit deck. replace changes only supplied fields/tags. append concatenates supplied field strings and unions tags; deck/type still replace. Reject invalid fields before altering the draft.

Anki-Connect method editors.updateDraft. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession.

reviewer_getA

Read active reviewer state and retained custom scheduling predictions.

Inactive reviewer returns null card/rendered/token, side=none and empty answers.

Anki-Connect method reviewer.get. Scope: collection. Effect: read. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, internalError, invalidParams, staleSession.

reviewer_startTimerA

Restart the active reviewer card timer.

Anki-Connect method reviewer.startTimer. Scope: collection. Effect: gui. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, conflict, internalError, invalidParams, invalidState, staleSession.

reviewer_showQuestionA

Show the question for the active reviewer card.

Anki-Connect method reviewer.showQuestion. Scope: collection. Effect: gui. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, conflict, internalError, invalidParams, invalidState, staleSession.

reviewer_showAnswerA

Show the answer for the active reviewer card.

Anki-Connect method reviewer.showAnswer. Scope: collection. Effect: gui. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, conflict, internalError, invalidParams, invalidState, staleSession.

reviewer_answerA

Answer the active card using reviewer-retained states and await actual completion.

Requires answer side and an offered rating. Do not resolve success until backend completion and UI notifications; reviewer hook veto returns vetoed.

Anki-Connect method reviewer.answer. Scope: collection. Effect: write. Completion: operation. Undo: single.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, invalidState, staleSession, vetoed.

reviewer_playAudioA

Replay audio for the current side.

Anki-Connect method reviewer.playAudio. Scope: collection. Effect: gui. Completion: completed. Undo: none.

Possible errors: collectionUnavailable, conflict, internalError, invalidParams, invalidState, staleSession.

application_navigateA

Navigate the main window to a requested view.

deck is required for deckOverview/review and prohibited for deckBrowser.

Anki-Connect method application.navigate. Scope: collection. Effect: gui. Completion: operation. Undo: none.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, internalError, invalidParams, invalidState, notFound, staleSession.

application_importFileA

Run the interactive import workflow, including file choice when omitted.

Anki-Connect method application.importFile. Scope: collection. Effect: write. Completion: operation. Undo: clears.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: cancelled, collectionUnavailable, editorConflict, internalError, invalidParams, ioError, notFound, staleSession.

application_exitA

Acknowledge a close request, then initiate normal application close after sending the response.

Accepted means the request was scheduled, not that Anki has exited. Native close/save/sync dialogs may cancel it. Retain timer/callback ownership; process exit prevents polling a final operation result.

Anki-Connect method application.exit. Scope: application. Effect: lifecycle. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams.

advanced_cards_updateA

Edit validated expert scheduling metadata through native card persistence.

No id/noteId/deckId/template/queue/type/due/mod/usn writes. Moves, due changes and transitions use domain commands. Reject inconsistent coupled-state edits instead of inferring omitted state. Capability detection may restrict writable properties.

Anki-Connect method advanced.cards.update. Scope: collection. Effect: advancedWrite. Completion: completed. Undo: single.

Possible errors: collectionUnavailable, editorConflict, internalError, invalidParams, notFound, staleSession, unsupportedCapability, validationFailed.

advanced_reviews_importA

Import historical revlog records, not live answers.

Validate all records; reject duplicate IDs both internally and against collection. Derive answeredAt from ID, set usn=-1 locally. Bound SQL in one database transaction; no schema interpolation. Do not change card scheduling/counters or claim a live answer. FSRS memory remains current stored state; later recomputation may consume imported history. Expose only when transactional import and post-write notifications are verified.

Anki-Connect method advanced.reviews.import. Scope: collection. Effect: advancedWrite. Completion: operation. Undo: clears.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: collectionUnavailable, conflict, editorConflict, internalError, invalidParams, notFound, staleSession, unsupportedCapability, validationFailed.

api_executeA

Execute commands sequentially with completion barriers and independent results.

Continue after errors. No nested api.execute, application.exit or profiles.switch commands. Pin the active collection session for collection-scoped commands; a session change fails remaining such commands. Validate each command with its named method schema. Never an atomic transaction.

Anki-Connect method api.execute. Scope: application. Effect: batch. Completion: operation. Undo: perCommand.

Long-running operation: by default the server waits for the final result (see waitForCompletion / timeoutSeconds).

Possible errors: internalError, invalidParams.

operations_getA

Poll operation status and its eventual typed result/error.

Anki-Connect method operations.get. Scope: application. Effect: read. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams, notFound.

operations_cancelA

Request supported cancellation without claiming rollback.

Already terminal returns requested=false. Queued operations can cancel; running operations use native cancellation only. A cancellation request may lose a race with success.

Anki-Connect method operations.cancel. Scope: application. Effect: lifecycle. Completion: completed. Undo: none.

Possible errors: internalError, invalidParams, notFound, unsupportedCapability.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 95 tools

Disambiguation4/5

Tools are organized by resource namespace and most actions are explicitly scoped, but with 95 operations there are many near-neighbors such as get vs getMany, validate vs validateMany, scheduling.answer vs reviewer.answer, and media.get vs media.list. The detailed descriptions usually resolve these boundaries, so an agent can distinguish them, though not effortlessly.

Naming Consistency5/5

Every tool follows a predictable resource_action convention, with the resource namespace followed by a camelCase action such as notes_create, cards_setSuspended, deckPresets_list, and advanced_cards_update. Suffix variants like getMany or deleteUnused remain systematic and consistent.

Tool Count1/5

95 tools is far beyond an appropriate MCP surface for agent selection; even for a full Anki desktop integration, many granular and long-tail operations are exposed as separate tools. This forces agents to navigate an extremely large toolset rather than a well-scoped set of workflows.

Completeness5/5

The surface comprehensively covers collection, notes, cards, decks, note types, deck presets, tags, media, scheduling, reviews, statistics, GUI/browser/editor actions, profiles, packages, operations, and advanced maintenance. There are no obvious domain lifecycle gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues