@lifeng688/anki-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ANKI_LOG_LEVEL | No | Log verbosity: error / warn / info / debug | info |
| ANKI_CONNECT_KEY | No | AnkiConnect API key (if configured) | |
| ANKI_CONNECT_URL | No | Full AnkiConnect HTTP endpoint (highest priority). Overrides HOST:PORT. | |
| ANKI_CONNECT_HOST | No | Host part, used when ANKI_CONNECT_URL is not set. | 127.0.0.1 |
| ANKI_CONNECT_PORT | No | Port part, used when ANKI_CONNECT_URL is not set. | 8765 |
| ANKI_DEFAULT_DECK | No | Default deck for note operations | Default |
| ANKI_DEFAULT_MODEL | No | Default note model | Basic |
| ANKI_CONNECT_VERSION | No | AnkiConnect API version | 6 |
| ANKI_REQUEST_TIMEOUT_MS | No | HTTP request timeout in milliseconds | 10000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pingA | Health check for the MCP server. Returns server metadata without requiring Anki to be running. |
| check_anki_connectionA | Check if AnkiConnect is reachable and return the connection status. |
| list_decksA | List all available Anki decks. |
| create_deckB | Create a new Anki deck. Supports hierarchical decks using :: separator. |
| list_note_modelsA | List all available note models (card types). |
| get_note_model_fieldsB | Get the field names for a specific note model. |
| add_noteA | Add a single note (flashcard) to Anki. |
| add_notesB | Batch add multiple notes to Anki. Supports dryRun for preview. |
| search_notesB | Search for notes in Anki using Anki search syntax. |
| get_notes_infoB | Get detailed information about specific notes by their IDs. |
| update_note_fieldsB | Update specific fields of an existing note. Supports dryRun. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/guanweiqiang/anki-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server