zotero-mcp-server-write

v0.1.5
zotero-mcp-server-write Checked 1 day ago Published 22 days ago

MCP server exposing Zotero local write operations (DOI import, PDF import with recognition, attach PDF, add note)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

add_by_doi

Import a new Zotero item from an identifier (DOI, ISBN, arXiv ID, or PMID). The identifier type is auto-detected by Zotero's translation server. Args: identifier: e.g. "10.1038/nature12373", "arXiv:2310.06825", "978-0-262-03561-3", or a PMID. collection_key: Optional 8-character Zotero collection key (e.g. "ABCD1234") to file the new item into. Collection keys can be discovered via the read-only `54yyyu/zotero-mcp` server. Returns: The parsed JSON response from the plugin, typically including the new `item_key`…

ParameterTypeDescription
identifier *string
collection_key

add_pdf

Import a local PDF file into Zotero and run the metadata recognizer. The file is base64-encoded and sent to the Zotero plugin, which creates a standalone attachment and then attempts to recognize bibliographic metadata. The response `status` is "recognized" when Zotero matched the PDF to an online source (and a parent item was created), otherwise "standalone". Args: file_path: Absolute path to a readable PDF file on the same machine as the Zotero process. Files without a PDF header are rejected. collection_key: Optional 8-character Zotero colle…

ParameterTypeDescription
file_path *string
collection_key

attach_pdf_to_item

Attach a local PDF file to an existing Zotero item. Args: item_key: 8-character Zotero item key (e.g. "ABCD1234") of the parent item. Item keys can be discovered via the read-only `54yyyu/zotero-mcp` server. file_path: Absolute path to a readable PDF file on the same machine as the Zotero process. Files without a PDF header are rejected. title: Optional display title for the attachment. Defaults to the file's basename. Returns: Plugin response dict including the new `attachment_key`.

ParameterTypeDescription
file_path *string
item_key *string
title

add_note

Attach a child note to an existing Zotero item. Args: item_key: 8-character Zotero item key (e.g. "ABCD1234") of the parent item. Item keys can be discovered via the read-only `54yyyu/zotero-mcp` server. content: Note body. When `format="markdown"` (default), the content is rendered to HTML before being stored. When `format="html"`, the content is sent through unchanged. format: Either "markdown" or "html". Returns: Plugin response dict including the new note's `item_key`.

ParameterTypeDescription
content *string
item_key *string
formatstring

update_note

Replace the body of an existing Zotero note. Args: note_key: 8-character Zotero item key (e.g. "ABCD1234") of the note item to update. Note keys can be discovered via the read-only `54yyyu/zotero-mcp` server. content: New note body. When `format="markdown"` (default), the content is rendered to HTML before being stored. When `format="html"`, the content is sent through unchanged. format: Either "markdown" or "html". Returns: Plugin response dict including the note's `note_key`.

ParameterTypeDescription
content *string
note_key *string
formatstring

add_tags

Add one or more tags to an existing Zotero item. Tags that the item already carries are silently skipped (the plugin reports them under `skipped` rather than treating it as an error). Args: item_key: 8-character Zotero item key (e.g. "ABCD1234") of the item to tag. Item keys can be discovered via the read-only `54yyyu/zotero-mcp` server. tags: Non-empty list of tag names to add. Returns: Plugin response dict including `added`, `skipped`, `added_count`, and `skipped_count`.

ParameterTypeDescription
item_key *string
tags *array