anki-mcp
by JasonSooter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TZ | No | Timezone for Anki's daily rollover (e.g., Europe/Berlin). | |
| ANKI_MCP_HOST | No | Listen address for the server. | 0.0.0.0 |
| ANKI_MCP_PORT | No | Listen port for the server (8765 is AnkiConnect's port and must be avoided). | 8770 |
| PIXABAY_API_KEY | No | Free API key for Pixabay – provides the best image relevance. | |
| ANKIWEB_ENDPOINT | No | Custom AnkiWeb sync server URL (defaults to official AnkiWeb). | |
| ANKIWEB_PASSWORD | No | AnkiWeb password – only needed for the first sync. | |
| ANKIWEB_USERNAME | No | AnkiWeb username – only needed for the first sync. | |
| ANKI_MCP_PROFILE | No | Tool profile: 'full' (default) or 'public' (read-mostly toolset). | full |
| ANKI_MCP_DATA_DIR | No | Directory where collection.anki2 and collection.media live. | /data |
| ANKI_MCP_AUTH_MODE | No | Authentication mode: 'bearer' (one static token) or 'oauth' (login page; needed for Claude custom connectors / mobile). If unset, defaults to 'bearer'. | bearer |
| ANKI_MCP_STATE_DIR | No | Directory for AnkiWeb session key and OAuth state. | /config |
| ANKI_MCP_TTS_VOICE | No | Google TTS voice. | de-DE-Neural2-F |
| ELEVENLABS_API_KEY | No | API key for ElevenLabs; required if ANKI_MCP_TTS_PROVIDER is 'elevenlabs'. | |
| GOOGLE_CSE_API_KEY | No | API key for Google Custom Search Engine (legacy). | |
| GOOGLE_TTS_API_KEY | No | API key for Google Text-to-Speech; required if ANKI_MCP_TTS_PROVIDER is 'google' (default). | |
| ANKI_MCP_PREFER_TTS | No | Set to 'true' to re-synthesise all audio with TTS for one consistent voice. | false |
| ANKI_MCP_PUBLIC_URL | No | The externally reachable HTTPS URL; required when ANKI_MCP_AUTH_MODE is 'oauth'. | |
| ELEVENLABS_VOICE_ID | No | Voice ID for ElevenLabs; required if ANKI_MCP_TTS_PROVIDER is 'elevenlabs'. | |
| ANKI_MCP_ENVIRONMENT | No | Environment tag applied to every telemetry record. | production |
| ANKI_MCP_TOTP_SECRET | No | Base32 TOTP setup key (not the 6-digit code); required when ANKI_MCP_AUTH_MODE is 'oauth'. | |
| GOOGLE_CSE_ENGINE_ID | No | Engine ID for Google Custom Search Engine (legacy). | |
| ANKI_MCP_BEARER_TOKEN | No | At least 32 characters; required when ANKI_MCP_AUTH_MODE is 'bearer' or unset. | |
| ANKI_MCP_TTS_PROVIDER | No | Text-to-speech provider: 'elevenlabs' or 'google'. | |
| ANKI_MCP_IMAGE_PROVIDER | No | Image provider selection: 'auto' chains best-first, or choose a specific provider. | auto |
| ANKI_MCP_LOGIN_PASSWORD | No | Login page password, at least 12 characters; required when ANKI_MCP_AUTH_MODE is 'oauth'. | |
| OTEL_EXPORTER_OTLP_HEADERS | No | Headers for the OTLP exporter (e.g., Authorization). | |
| OTEL_EXPORTER_OTLP_ENDPOINT | No | OTLP endpoint for shipping structured logs (e.g., Grafana Cloud). Leave unset to log to stdout only. |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessUnresponsive