Zotero Dev MCP Server

MCP server for Zotero plugin development

Local serverstdioTypeScript

What is the Zotero Dev MCP Server?

MCP server for Zotero plugin development

What you get

A Model Context Protocol (MCP) server that enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug Zotero 7, 8, 9, and 10 plugins. Screenshots, DOM state, debug logs, and JavaScript execution give the AI rich context to understand what's happening—and tools to help you fix it.

Configuration and credentials

  • Node.js 20+ and npm - Zotero 7+ — Works on all Zotero 7, 8, 9, and 10 builds (release, beta, dev) - For plugin development: zotero-plugin-scaffold

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
zotero_screenshotCapture window, element, or region screenshots
zotero_inspect_elementFind elements by CSS selector
zotero_get_dom_treeGet DOM structure of a window/panel
zotero_get_stylesGet computed CSS styles for element
zotero_list_windowsList all open Zotero windows
zotero_click_elementClick an element by CSS selector (toolbar/menu button, preference control, list row). Pierces shadow DOM; index picks among multiple matches; mouseEvents synthesizes a full mouse sequence.
zotero_send_keysType text into an input/textarea/contenteditable (focuses it first, fires input/change). Optional clear and pressEnter.
zotero_execute_jsExecute JavaScript in Zotero's privileged context. Auto-wraps code with top-level return statements in IIFE.
zotero_inspect_objectExplore Zotero APIs - list methods and properties of any object (e.g., Zotero.Items)
zotero_open_preferencesOpen Zotero's settings window, optionally to a specific pane (built-in or plugin)
zotero_search_prefsSearch/discover preferences by pattern (e.g., find all prefs containing "debug")
zotero_get_prefGet a preference value
zotero_set_prefSet a preference value
zotero_scaffold_buildBuild plugin (dev or production mode)

How to install the Zotero Dev MCP Server

{
  "mcpServers": {
    "zotero-dev": {
      "command": "npx",
      "args": ["-y", "@introfini/mcp-server-zotero-dev@1.1.2"],
      "env": {
        "ZOTERO_RDP_PORT": "6101"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 20+ and npm - Zotero 7+ — Works on all Zotero 7, 8, 9, and 10 builds (release, beta, dev) - For plugin development: zotero-plugin-scaffold
VariableDescriptionRequired
ZOTERO_RDP_PORTConfiguration value read at startup.Optional
ZOTERO_RDP_HOSTEndpoint or connection string the server talks to.Optional
ZOTERO_PROFILE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Zotero Dev to zotero screenshot.”
  • “Use Zotero Dev to zotero inspect element.”
  • “Use Zotero Dev to zotero get dom tree.”

Frequently asked questions

MCP server for Zotero plugin development Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.