ZOTERO_LOCAL
optional
Set to true to read from the local Zotero desktop app; requires Zotero 7+ with the local API enabled in settings.
ZOTERO_LIBRARY_ID
optional
Zotero user or group library ID; your numeric userID is shown on the same API keys page.
ZOTERO_LIBRARY_TYPE
optional
Whether the library ID is a personal (user) or group library; defaults to user.
ZOTERO_MCP_TOOLSETS
optional
Comma-separated list of optional tool groups to expose (all/none/named groups); controls the tool surface.
ZOTERO_EMBEDDING_MODEL
optional
Embedding provider for semantic search: default, openai, gemini, or ollama.
OPENAI_EMBEDDING_MODEL
optional
OpenAI embedding model name, e.g. text-embedding-3-small or text-embedding-3-large.
OPENAI_BASE_URL
optional
Optional custom OpenAI-compatible endpoint URL.
GEMINI_EMBEDDING_MODEL
optional
Gemini embedding model name, e.g. gemini-embedding-001.
GEMINI_BASE_URL
optional
Optional custom Gemini-compatible endpoint URL.
OLLAMA_EMBEDDING_MODEL
optional
Model name for local Ollama embeddings, e.g. nomic-embed-text or bge-m3.
OLLAMA_BASE_URL
optional
Ollama server URL, default http://localhost:11434.
ZOTERO_DB_PATH
optional
Custom path to zotero.sqlite; auto-detected when unset.
ZOTERO_WEBDAV_URL
optional
Optional WebDAV folder URL for direct attachment downloads in remote mode.
ZOTERO_WEBDAV_USERNAME
optional
Optional WebDAV username.
ZOTERO_MCP_SCHEMA_REFRESH
optional
Set to 0 to disable the weekly background refresh of Zotero's item-type schema.
ZOTERO_MCP_SCHEMA_CACHE
optional
Custom path for the schema cache, default ~/.cache/zotero-mcp/schema..
ZOTERO_APP
optional
Docker container runtime mode: server (default) or cli.
ZOTERO_TRANSPORT
optional
Transport method inside the Docker container, default stdio.