MCP server · Audited from source
Anki AI Tutor MCP server
by anki-mcp/anki-mcp-desktopMIT licenceAudited 8 Oct 2026 · source d18a5b34f348
Is it safe? With care — CAUTION, grade C (78/100). It exposes 52 tools: 34 read, 12 write and 6 destructive. The audit recorded 35 findings (0 critical, 0 high, 2 medium, 33 low). Maintainer's description: A Model Context Protocol (MCP) server that enables AI assistants to interact with Anki, the spaced repetition flashcard application.
Cite
Cite this page
ModelsAtlas. “Anki AI Tutor MCP server (anki-mcp/anki-mcp-desktop)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/anki-mcp/anki-ai-tutor
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
35 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared2 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 21 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
anki-mcpOrganizationAccount type recorded when we read the repository. - PackagePublished on npm
@ankimcp/anki-mcp-serverat version 0.27.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push4 days agoActivity of the repository when we read it.
- Source commit readd18a5b34f348The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory52 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (35)
Sorted by severity · the 25 most severe of 35 are listed
MEDIUMNetwork egressnet.raw_ip · scripts/e2e-full.sh:68
if ! curl -s http://127.0.0.1:3000 > /dev/null 2>&1; then
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
clearUnusedTags, deleteMediaFile, deleteNotes, forgetCards, removeModelField, removeTags
- Why
- 6 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.binary · docs/MCP Reviewer Demo.apkg
MCP Reviewer Demo.apkg
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.credential_store · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:151
it("should reject non-media file paths (e.g., .ssh/id_rsa)", async () => {- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:154
path: "/home/user/.ssh/id_rsa",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:81
"/home/user/.ssh/id_rsa",
- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:101
expect(() => validateMediaFilePath("/some/path/id_rsa")).toThrow(- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.credential_store · src/mcp/utils/__tests__/media-validation.utils.spec.ts:133
validateMediaFilePath("/photos/image\0.ssh/id_rsa.jpg"),- Why
- touches a credential store
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli.spec.ts:347
const packageJsonPath = path.join(__dirname, "../../package.json");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/cli.spec.ts:373
const packageJsonPath = path.join(__dirname, "../../package.json");
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/cli/args.ts:56
readFileSync(join(__dirname, "../../package.json"), "utf-8"),
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/http/guards/__tests__/dns-rebinding.integration.spec.ts:5
import { AppModule } from "../../../app.module";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/http/guards/__tests__/dns-rebinding.integration.spec.ts:6
import { createMcpHttpServer } from "../../mcp-http.factory";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:375
it("blocks cloud metadata endpoint (169.254.169.254)", async () => {- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:377
{ address: "169.254.169.254", family: 4 },- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/primitives/essential/tools/__tests__/store-media-file.tool.spec.ts:382
url: "http://169.254.169.254/latest/meta-data/",
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/utils/__tests__/media-validation.utils.spec.ts:312
["169.254.169.254", "link-local (cloud metadata)"],
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · src/mcp/utils/__tests__/media-validation.utils.spec.ts:608
["64:ff9b::169.254.169.254", "rfc6052 / NAT64 wrapping cloud metadata"],
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:494
| `ALLOWED_ORIGINS` | HTTP mode: comma-separated allowlist of browser `Origin`/`Referer` patterns (wildcards supported, e.g. `https://*.ngrok.io`). | `http://localhost:*,http://127.0.0.1:*,https://loc
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:641
- **MCP endpoint**: `http://127.0.0.1:3000/` (root path)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:666
- `ALLOWED_ORIGINS` - Comma-separated allowlist of browser `Origin`/`Referer` patterns; wildcards supported (e.g. `https://*.ngrok.io`). Default: `http://localhost:*,http://127.0.0.1:*,https://localho
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/__tests__/app-config.service.spec.ts:17
"http://127.0.0.1:*",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@nestjs/common, @nestjs/config, @nestjs/core, @nestjs/microservices, @nestjs/platform-express, @rekog/mcp-nest, async-mutex, commander
- Why
- 50 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · CHANGELOG.md:14
- **Read-only errors carry a read-only hint.** A call blocked by read-only mode used to return the tool's generic hint (e.g. "Make sure Anki is running...") next to the read-only error. The hint now s
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
52 declared in source · 6 destructive
6 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clearUnusedTags | destructive | Remove orphaned tags that are not used by any notes in the collection, across the whole collection at once. Removed tags disappear from Anki |
deleteMediaFile | destructive | Remove a media file from Anki |
deleteNotes | destructive | Delete notes by their IDs. Permanently removes the notes and ALL their cards, including the cards |
forgetCards | destructive | Reset cards to the new queue, discarding their current scheduling (interval, due date, and ease factor). |
removeModelField | destructive | Remove a field from an existing Anki note type (model). |
removeTags | destructive | Remove tags from specified notes. Tags is a space-separated string (e.g., |
addModelField | write | Add a new field to an existing Anki note type (model). |
addTags | write | Add tags to specified notes. Tags is a space-separated string (e.g., |
changeDeck | write | Move cards to a different deck. Target deck will be created if it doesn |
createDeck | write | Create a new empty Anki deck. Use |
createModel | write | Create a new note type (model) in Anki with custom fields, card templates, and styling. |
guiAddCards | write | Opens the Add Cards dialog in the Anki desktop app on the user |
renameModelField | write | Rename a field in an existing Anki note type (model). |
replaceTags | write | Rename a tag across specified notes (e.g., |
storeMediaFile | write | Upload a media file to Anki |
updateModelStyling | write | Update the CSS styling for an existing note type (model). |
updateModelTemplates | write | Update the card templates (Front and Back HTML) for an existing note type (model). |
updateNoteFields | write | Update the fields of an existing note. The given fields |
anki_review | read | Guidelines for conducting Anki spaced repetition review sessions |
areSuspended | read | Check whether cards are suspended, without changing anything. Card IDs (not note IDs) — |
collection_stats | read | Get aggregated statistics across all decks in the collection including card counts, ease factor distribution, and interval distribution. |
deckStats | read | Get comprehensive statistics for a single deck including card counts, ease and interval distributions. Pass a deck name (e.g., |
findNotes | read | Search for notes using Anki query syntax. Returns an array of note IDs matching the query. |
getMediaFilesNames | read | List media files in Anki |
getTags | read | Get all tags in the Anki collection. Use this to discover existing tags before creating notes to maintain consistency and prevent tag duplication (e.g., avoiding |
get_cards | read | Retrieve cards from Anki with flexible filtering by deck and card state. Reads the local collection as-is and does not sync with AnkiWeb, so reviews made on other devices since the last sync are not reflected. Answers are not included by default (include_answer=false), so a card |
get_due_cards | read | Retrieve cards that are due for review from Anki. Reads the local collection as-is and does not sync with AnkiWeb, so reviews made on other devices since the last sync are not reflected. Answers are not included by default (include_answer=false), so a card |
guiBrowse | read | Opens the Card Browser window in the Anki desktop app on the user |
guiCurrentCard | read | Reads the card currently shown in the Anki desktop app |
guiDeckBrowser | read | Switches the Anki desktop app |
guiDeckOverview | read | Makes the named deck Anki |
guiEditNote | read | Opens the note editor window in the Anki desktop app on the user |
guiSelectCard | read | Changes the selection in the Card Browser window open in the Anki desktop app on the user |
guiSelectedNotes | read | Reads the IDs of the notes the user has selected in the Card Browser window of the Anki desktop app. Changes nothing on screen. |
guiShowAnswer | read | Flips the card on the Anki desktop app |
guiShowQuestion | read | Flips the card on the Anki desktop app |
guiUndo | read | Triggers Anki |
listDecks | read | List all Anki decks, optionally with per-deck study-queue statistics. |
modelFieldNames | read | Get the field names for a specific note type (model). Use this to know what fields are required when creating notes of this type. |
modelNames | read | Get a list of all available note type (model) names in Anki. Use this to see what note types are available before creating notes. |
modelStyling | read | Get the CSS styling for a specific note type (model). This CSS is used when rendering cards of this type. |
modelTemplates | read | Get the card templates (Front and Back HTML) for a specific note type (model). |
notesInfo | read | Get fields, tags, note type (model) name, card IDs and modification time for each note, by note ID (from findNotes). |
present_card | read | Returns a card |
rate_card | read | Records a real review of a card in Anki |
repositionModelField | read | Change the position of a field within an Anki note type (model). |
retrieveMediaFile | read | Download a media file from Anki |
review_stats | read | Get review history analysis including temporal patterns, retention metrics, and study streak information. |
setDueDate | read | Reschedule cards to become due in a given number of days, without recording a review. |
suspend | read | Suspend cards so they |
system-info | read | Current system information and environment |
unsuspend | read | Unsuspend cards so they return to normal review. Card IDs (not note IDs) — use get_cards, |
Install
Package version 0.27.0 · audited commit d18a5b3
Read the findings first. The most severe is Network egress (medium) at scripts/e2e-full.sh.
claude mcp add anki-mcp-server -- npx -y @ankimcp/[email protected]
The command pins the package version recorded in the source (0.27.0); the audit covers commit d18a5b34f348. Transport: stdio · streamable-http. Reads these environment variables: ANKI_CONNECT_API_KEY, TUNNEL_AUTH_CLIENT_ID. Give it the narrowest token it needs.
Audit history
- !CAUTION C 78 / 100
First audit ·
d18a5b34f348
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/anki-mcp/anki-ai-tutor/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Anki AI Tutor MCP server
What is the Anki AI Tutor MCP server?
What tools does Anki AI Tutor expose?
Is Anki AI Tutor safe to connect to an agent?
What credentials does Anki AI Tutor need?
How does Anki AI Tutor run?
How current is this page?
Sources
- anki-mcp/anki-mcp-desktop on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit d18a5b34f348Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Anki AI Tutor MCP server?
- What tools does Anki AI Tutor expose?
- Is Anki AI Tutor safe to connect to an agent?