Skip to main content
Glama

anki-mcp

by ujisati

media_storeMediaFile

Store media files in Anki's media folder using base64 data, local path, or URL. Option to delete existing files with the same name. Returns the stored filename or false on error.

Instructions

Stores a media file in Anki's media folder. Provide one of 'data' (base64), 'path', or 'url'. Returns the stored filename or false on error.

Input Schema

NameRequiredDescriptionDefault
dataNoBase64-encoded file content.
deleteExistingNoWhether to delete an existing file with the same name. Default is true.
filenameYesThe desired filename in Anki's media collection.
pathNoAbsolute local path to the file.
urlNoURL to download the file from.

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "data": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Base64-encoded file content.", "title": "Data" }, "deleteExisting": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": true, "description": "Whether to delete an existing file with the same name. Default is true.", "title": "Deleteexisting" }, "filename": { "description": "The desired filename in Anki's media collection.", "title": "Filename", "type": "string" }, "path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Absolute local path to the file.", "title": "Path" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "URL to download the file from.", "title": "Url" } }, "required": [ "filename" ], "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