Skip to main content
Glama

deck_saveDeckConfig

Save custom deck configuration settings in Anki to personalize study parameters and optimize flashcard learning workflows.

Instructions

Saves the given configuration group. Returns true on success, false otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configYesThe deck configuration object to save. Must include an 'id'.

Implementation Reference

  • The tool handler implementation including decorator, input schema via Pydantic Annotated/Field, and logic that proxies to AnkiConnect's saveDeckConfig API.
    @deck_mcp.tool( name="saveDeckConfig", description="Saves the given configuration group. Returns true on success, false otherwise.", ) async def save_deck_config_tool( config: Annotated[ Dict[str, Any], Field( description="The deck configuration object to save. Must include an 'id'." ), ], ) -> bool: return await anki_call("saveDeckConfig", config=config)
  • Top-level registration that imports all deck tools with 'deck_' prefix into the main Anki MCP server, exposing 'saveDeckConfig' as 'deck_saveDeckConfig'.
    await anki_mcp.import_server("deck", deck_mcp)

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

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