Zotero MCP Server for Mastra AIGive Mastra AI instant access to 23 tools to Create Items, Delete Item, Delete Items, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Zotero through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Zotero MCP Server for Mastra AI is a standout in the Productivity category — giving your AI agent 23 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"zotero": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Zotero Agent",
instructions:
"You help users interact with Zotero " +
"using 23 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Zotero?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Zotero MCP Server
Connect your Zotero library to any AI agent and take full control of your research workflow through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and Zotero tool infrastructure. Connect 23 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Collections & Organization — List top-level collections, subcollections, and specific collection details to navigate your library structure.
- Item Management — Query all items, including notes and attachments, with support for advanced filtering by type, tag, or keyword.
- Metadata Inspection — Fetch complete bibliographic data, creator information, and publication details for any specific item.
- Tags & Publications — Access your personal publications and manage tags to categorize your research effectively.
- Group Libraries — Seamlessly switch between your personal library and shared group libraries using specific IDs.
The Zotero MCP Server exposes 23 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 23 Zotero tools available for Mastra AI
When Mastra AI connects to Zotero through Vinkius, your AI agent gets direct access to every tool listed below — spanning reference-management, citation-tools, academic-research, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Create items on Zotero
Use get_new_item_template first to get the correct schema. Create new items in the Zotero library
Delete item on Zotero
Delete a single item
Delete items on Zotero
Delete multiple items (up to 50)
Get collection on Zotero
Get a specific collection by key
Get deleted on Zotero
Get deleted objects since a specific library version
Get item on Zotero
Get a specific item by key
Get item type fields on Zotero
List valid fields for a specific item type
Get new item template on Zotero
Get a JSON template for creating a new item of a specific type
Get tag on Zotero
Get tags matching a specific name
List collection items on Zotero
List items in a specific collection
List collections on Zotero
List all collections in the Zotero library
List item children on Zotero
List child items (notes, attachments) for a specific item
List item fields on Zotero
List all available Zotero item fields
List item tags on Zotero
List tags for a specific item
List item types on Zotero
List all available Zotero item types
List items on Zotero
List items in the Zotero library
List publications on Zotero
List items in My Publications
List subcollections on Zotero
List subcollections of a specific collection
List tags on Zotero
List all tags in the library
List top collections on Zotero
List top-level collections in the Zotero library
List top items on Zotero
List top-level items in the Zotero library
List trash items on Zotero
List items in the trash
Update item on Zotero
Update an existing item (Partial Update / PATCH)
Connect Zotero to Mastra AI via MCP
Follow these steps to wire Zotero into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Zotero MCP Server
Mastra AI provides unique advantages when paired with Zotero through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Zotero without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Zotero tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Zotero + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Zotero MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Zotero, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Zotero as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Zotero on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Zotero tools alongside other MCP servers
Example Prompts for Zotero in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Zotero immediately.
"List all my top-level collections in Zotero."
"Search for items in my library with the tag 'artificial-intelligence'."
"Get the complete bibliographic details for item key ABCD1234."
Troubleshooting Zotero MCP Server with Mastra AI
Common issues when connecting Zotero to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpZotero + Mastra AI FAQ
Common questions about integrating Zotero MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Maestra
8 toolsAutomate transcription, translation, and AI voiceovers via the Maestra.ai REST API.

Azure Cosmos DB Container
4 toolsThis MCP does exactly one thing: it manages documents in a single Azure Cosmos DB Container. That's its only function, and nothing else. Incredible for giving your AI a secure NoSQL database.

Adobe Acrobat Sign
10 toolsSend, track, and manage e-signatures via Adobe Acrobat Sign — create agreements, check signing status, and access audit trails from any AI agent.

Azure Service Bus Queue
2 toolsThis MCP does exactly one thing: it pulls and acknowledges messages from a single Azure Service Bus Queue. That's its only function, and nothing else. Incredible for building secure AI workers.
