We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hbd/anki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
create_deck.py•360 B
from tools.anki.client import anki_request
async def create_deck(deck_name: str) -> int:
"""
Create a new deck in Anki.
Args:
deck_name: Name of the deck to create. Use '::' for nested decks (e.g., 'Parent::Child')
Returns:
The deck ID of the created deck
"""
return await anki_request("createDeck", deck=deck_name)