Skip to main content
Glama
yama662607
by yama662607

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DRAFT_DB_PATHNoBackward-compatible fallback for ANKI_MCP_DB_PATH.
ANKI_CONNECT_URLNoThe URL of the AnkiConnect server (default: http://127.0.0.1:8765).http://127.0.0.1:8765
ANKI_MCP_DB_PATHNoPath to the internal SQLite database (default varies by OS).
ANKI_GATEWAY_MODENoSet to 'memory' for deterministic local tests without Anki.
ANKI_ACTIVE_PROFILENoFallback profile name for read tools.

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": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_runtime_statusA

Report whether AnkiConnect is reachable and whether preview can use the optional extension path.

list_decksA

List available Anki decks using official hierarchical deck names.

list_note_typesB

Return available Anki note types with field and template summaries.

get_note_type_schemaA

Inspect fields, templates, CSS, and field bindings for one note type.

search_notesA

Search existing notes by Anki query, note type, deck, or tag filters.

get_notesA

Read concrete note fields and metadata by note ID.

ensure_deckA

Create a deck if missing. Safe and idempotent.

upsert_note_typeA

Dry-run by default. Create or update a note type with additive-safe constraints.

add_noteB

Create a review-pending note directly from deck, note type, fields, and tags.

add_notes_batchA

Create multiple review-pending notes with stable per-item outcomes.

update_noteA

Update note fields or tags with optimistic mod-timestamp conflict detection.

delete_noteA

Delete a note directly by note ID. Idempotent when already missing.

delete_notes_batchB

Delete multiple notes with stable per-item outcomes.

open_note_previewA

Open the existing note in Anki Browser preview for human review.

set_note_cards_suspendedB

Suspend or unsuspend all cards generated from one note.

import_media_assetA

Import a local audio or image file into Anki media and return an Anki-ready field value.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
tool_contracts_v1Frozen tool schemas and shared type registry for the note-centric public API.

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/yama662607/anki-mcp'

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