Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GOOGLE_CLOUD_API_KEY | No | API key for Google Cloud Text-to-Speech API. Required for high-quality audio generation features. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_decks | List all available Anki decks. |
| get_deck_notes | Get all notes/cards from a specific deck. |
| get_deck_sample | Get a random sample of notes from a specific deck to understand typical note structure. |
| get_deck_note_types | Get the note types (models) and their field definitions used in a specific deck. |
| create_note | Create a new note in the specified deck with the given fields and tags. |
| update_note | Update specific fields of an existing note. Perfect for adding audio or other content to existing cards. |
| create_deck_with_note_type | Create a new deck and optionally a new note type with specified fields and card templates. |
| list_note_types | List all available note types (models) with their fields and card templates. |
| generate_audio | Generate audio file from text using Google Cloud Chirp TTS API and return base64 encoded audio data. |
| create_notes_bulk | Create multiple notes in a single batch operation for efficiency. Handles duplicates gracefully by reporting which notes are duplicates while still creating non-duplicate notes. IMPORTANT: The auto_audio parameter must be passed as a dictionary/object structure with fields: enabled, source_field, target_field, language, and voice. Do NOT pass it as a JSON string. Set to null (or omit) to disable automatic audio generation.
Example auto_audio object:
{
"enabled": true,
"source_field": "Hanzi",
"target_field": "Audio",
"language": "cmn-cn",
"voice": "cmn-CN-Chirp3-HD-Achernar"
} |
| save_media_file | Save base64 encoded media data as a file in Anki's media collection for use in cards. |
| generate_and_save_audio | Generate audio from text and save it to Anki's media collection, returning filename for use in cards. |
| update_notes_bulk | Update multiple notes in a single batch operation for efficiency. Each update should contain note_id and fields to update. |
| find_similar_notes | Find notes that contain the search text as a substring in any field. Simple and reliable text matching. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |