Skip to main content
Glama
server.py977 B
import mcp.server.stdio from mcp.server.fastmcp import FastMCP from anki_mcp.tools.get_collection_overview import get_collection_overview from anki_mcp.tools.add_or_update_notes import add_or_update_notes from anki_mcp.tools.get_cards_reviewed import get_cards_reviewed from anki_mcp.tools.find_notes import find_notes app = FastMCP("anki") # Register tools with the app app.tool(name="get-collection-overview", description="Get comprehensive information about the Anki collection including decks, models, and fields")(get_collection_overview) app.tool(name="get-cards-reviewed", description="Get the number of cards reviewed by day")(get_cards_reviewed) app.tool(name='find-notes', description='Find notes matching a query in Anki')(find_notes) app.tool(name='add-or-update-notes', description="Add new notes or update existing ones in Anki")(add_or_update_notes) if __name__ == "__main__": # Initialize and run the server import mcp mcp.run(transport='stdio')

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

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