Skip to main content
Glama

anki-mcp

by ujisati

model_createModel

Create a custom Anki note type by defining fields, card templates, and optional CSS. Use this tool to structure flashcard data for efficient learning and retention within the Anki platform.

Instructions

Creates a new model (note type). Returns the created model object.

Input Schema

NameRequiredDescriptionDefault
cardTemplatesYesList of card template definitions. Each dict needs 'Name', 'Front', 'Back'.
cssNoOptional CSS for the model.
inOrderFieldsYesList of field names in order.
isClozeNoSet to true if this is a Cloze model.
modelIdNoOptional model ID to use.
modelNameYesThe name for the new model.

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "cardTemplates": { "description": "List of card template definitions. Each dict needs 'Name', 'Front', 'Back'.", "items": { "additionalProperties": true, "type": "object" }, "title": "Cardtemplates", "type": "array" }, "css": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional CSS for the model.", "title": "Css" }, "inOrderFields": { "description": "List of field names in order.", "items": { "type": "string" }, "title": "Inorderfields", "type": "array" }, "isCloze": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "Set to true if this is a Cloze model.", "title": "Iscloze" }, "modelId": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Optional model ID to use.", "title": "Modelid" }, "modelName": { "description": "The name for the new model.", "title": "Modelname", "type": "string" } }, "required": [ "modelName", "inOrderFields", "cardTemplates" ], "type": "object" }

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