Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoTimezone for Anki's daily rollover (e.g., Europe/Berlin).
ANKI_MCP_HOSTNoListen address for the server.0.0.0.0
ANKI_MCP_PORTNoListen port for the server (8765 is AnkiConnect's port and must be avoided).8770
PIXABAY_API_KEYNoFree API key for Pixabay – provides the best image relevance.
ANKIWEB_ENDPOINTNoCustom AnkiWeb sync server URL (defaults to official AnkiWeb).
ANKIWEB_PASSWORDNoAnkiWeb password – only needed for the first sync.
ANKIWEB_USERNAMENoAnkiWeb username – only needed for the first sync.
ANKI_MCP_PROFILENoTool profile: 'full' (default) or 'public' (read-mostly toolset).full
ANKI_MCP_DATA_DIRNoDirectory where collection.anki2 and collection.media live./data
ANKI_MCP_AUTH_MODENoAuthentication mode: 'bearer' (one static token) or 'oauth' (login page; needed for Claude custom connectors / mobile). If unset, defaults to 'bearer'.bearer
ANKI_MCP_STATE_DIRNoDirectory for AnkiWeb session key and OAuth state./config
ANKI_MCP_TTS_VOICENoGoogle TTS voice.de-DE-Neural2-F
ELEVENLABS_API_KEYNoAPI key for ElevenLabs; required if ANKI_MCP_TTS_PROVIDER is 'elevenlabs'.
GOOGLE_CSE_API_KEYNoAPI key for Google Custom Search Engine (legacy).
GOOGLE_TTS_API_KEYNoAPI key for Google Text-to-Speech; required if ANKI_MCP_TTS_PROVIDER is 'google' (default).
ANKI_MCP_PREFER_TTSNoSet to 'true' to re-synthesise all audio with TTS for one consistent voice.false
ANKI_MCP_PUBLIC_URLNoThe externally reachable HTTPS URL; required when ANKI_MCP_AUTH_MODE is 'oauth'.
ELEVENLABS_VOICE_IDNoVoice ID for ElevenLabs; required if ANKI_MCP_TTS_PROVIDER is 'elevenlabs'.
ANKI_MCP_ENVIRONMENTNoEnvironment tag applied to every telemetry record.production
ANKI_MCP_TOTP_SECRETNoBase32 TOTP setup key (not the 6-digit code); required when ANKI_MCP_AUTH_MODE is 'oauth'.
GOOGLE_CSE_ENGINE_IDNoEngine ID for Google Custom Search Engine (legacy).
ANKI_MCP_BEARER_TOKENNoAt least 32 characters; required when ANKI_MCP_AUTH_MODE is 'bearer' or unset.
ANKI_MCP_TTS_PROVIDERNoText-to-speech provider: 'elevenlabs' or 'google'.google
ANKI_MCP_IMAGE_PROVIDERNoImage provider selection: 'auto' chains best-first, or choose a specific provider.auto
ANKI_MCP_LOGIN_PASSWORDNoLogin page password, at least 12 characters; required when ANKI_MCP_AUTH_MODE is 'oauth'.
OTEL_EXPORTER_OTLP_HEADERSNoHeaders for the OTLP exporter (e.g., Authorization).
OTEL_EXPORTER_OTLP_ENDPOINTNoOTLP 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources