Is the Zotero MCP server safe? What it can reach
What the Zotero MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Zotero does not publish its own MCP server, so this covers zotero-mcp-server, the most used community one (about 6,000 stars, pushed this week). It runs locally and reads your library from the running Zotero app with no credentials. Writes need a one-time approval in Zotero 10 or a web API key. It can trash items and merge duplicates, and ZOTERO_MCP_TOOLSETS controls which tool groups load.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| zotero-mcp-server (54yyyu, community) | Community | active |
It runs as a local process on your machine.
How it signs in
Local mode needs no credentials: it talks to the Zotero app on your machine (ZOTERO_LOCAL=true). Writes use a local API key that Zotero grants through a dialog (Zotero 10+), or a zotero.org web API key plus library ID. Either way it acts as your Zotero account.
What its tools can do
| Kind | Tools |
|---|---|
| Read | zotero_search_items, zotero_advanced_search, zotero_search_by_citation_key, zotero_get_recent, zotero_get_tags, zotero_get_collections, zotero_get_collection_items, zotero_search_collections, zotero_semantic_search, zotero_get_search_database_status, zotero_get_item_metadata, zotero_get_item_fulltext, zotero_get_item_children, zotero_read_pdf_pages, zotero_get_pdf_outline, zotero_get_attachment_path, zotero_export_bibliography, zotero_get_annotations, zotero_synthesize_annotations, zotero_get_notes, zotero_get_page_layout, zotero_write_capabilities, zotero_list_libraries, zotero_find_duplicates, zotero_find_related_papers, zotero_library_coverage, zotero_list_feeds, zotero_get_feed_items, zotero_get_item_related, scite_enrich_item, scite_enrich_search, scite_check_retractions |
| Write | zotero_update_search_database, zotero_create_annotation, zotero_update_annotation, zotero_add_item, zotero_attach_file, zotero_update_item, zotero_batch_update, zotero_set_item_parent, zotero_set_item_collections, zotero_authorize_local_writes, zotero_switch_library, zotero_copy_items_between_libraries, zotero_add_item_relation, zotero_remove_item_relation |
| Can’t be undone | zotero_delete_item, zotero_delete_annotation, zotero_merge_duplicates, zotero_manage_collection, zotero_manage_note |
Community server, not made by Zotero. zotero_manage_collection and zotero_manage_note take an action that can be create, update or delete, so they are listed as destructive. Some groups (scite, duplicates, feeds, relations, discovery, libraries-copy) are off unless named in ZOTERO_MCP_TOOLSETS. zotero_delete_item moves items to the Trash.
Built-in limits
| Option | What it does |
|---|---|
Connection mode | ZOTERO_LOCAL=true with no write authorization gives a read-only server. Writes need zotero-mcp authorize-local (Zotero 10+) or ZOTERO_API_KEY with ZOTERO_LIBRARY_ID. |
ZOTERO_MCP_TOOLSETS | Picks optional tool groups. none leaves only core tools, all-minus-name drops groups, and a disabled tool is absent, not hidden. |
Web API key permissions | A zotero.org key can be created without write access at zotero.org/settings/security. |
zotero-mcp authorize-local --revoke | Forgets the stored local write key. |
The risks
- Paper abstracts, PDF text, notes and web-imported metadata can carry hidden instructions, and with writes on an agent that reads them could edit items, tags and collections or trash entries.
- zotero_merge_duplicates, zotero_manage_collection and the delete tools change many items at once, and a merge is hard to reverse by hand.
- Choosing Always Allow stores a reusable local write key in ~/.config/zotero-mcp/config.json, so any later session of the server can write without asking.
- Full text and PDF pages returned by read tools go to your LLM provider, including unpublished papers and private notes.
- The scite tools and discovery group call outside services (scite.ai, OpenAlex), and optional semantic search can send text to OpenAI or Gemini embedding APIs.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --env ZOTERO_LOCAL=... --env ZOTERO_API_KEY=... --env ZOTERO_LIBRARY_ID=... zotero -- zotero-mcpClaude Code names MCP tools mcp__zotero__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__zotero__zotero_delete_item",
"mcp__zotero__zotero_delete_annotation",
"mcp__zotero__zotero_merge_duplicates",
"mcp__zotero__zotero_manage_collection"
],
"ask": [
"mcp__zotero__zotero_manage_note",
"mcp__zotero__zotero_add_item",
"mcp__zotero__zotero_attach_file",
"mcp__zotero__zotero_update_item",
"mcp__zotero__zotero_batch_update",
"mcp__zotero__zotero_set_item_parent",
"mcp__zotero__zotero_set_item_collections",
"mcp__zotero__zotero_create_annotation",
"mcp__zotero__zotero_update_annotation",
"mcp__zotero__zotero_copy_items_between_libraries",
"mcp__zotero__zotero_authorize_local_writes"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.zotero]
command = "zotero-mcp"
env_vars = ["ZOTERO_LOCAL", "ZOTERO_API_KEY", "ZOTERO_LIBRARY_ID"]
disabled_tools = ["zotero_delete_item", "zotero_delete_annotation", "zotero_merge_duplicates", "zotero_manage_collection"]Checklist
- Run in local read-only mode until you need to write.
- Choose Allow, not Always Allow, for one-off writes.
- Set ZOTERO_MCP_TOOLSETS to none or a short list.
- Back up your library before bulk edits or merges.
Checked against the vendor documentation on November 25, 2026. zotero-mcp README · Zotero MCP tools reference · Zotero MCP configuration
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing