Pipedrive Products MCP Server for Mastra AI 8 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Pipedrive Products through the Vinkius and Mastra agents discover all tools automatically — type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
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: {
"pipedrive-products": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Pipedrive Products Agent",
instructions:
"You help users interact with Pipedrive Products " +
"using 8 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Pipedrive Products?"
);
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 Pipedrive Products MCP Server
Connect Pipedrive CRM to any AI agent — manage your entire sales pipeline without switching tabs.
Mastra's agent abstraction provides a clean separation between LLM logic and Pipedrive Products tool infrastructure. Connect 8 tools through the 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
- Deals — Search, create, and update deals with pipeline tracking
- Contacts — Find and create persons with email, phone, and organization
- Organizations — Search companies linked to deals and contacts
- Activities — Create calls, meetings, tasks, and emails
- Notes — Attach notes to deals, persons, or organizations
- Pipelines — View all pipeline stages and deal flow
The Pipedrive Products MCP Server exposes 8 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Pipedrive Products to Mastra AI via MCP
Follow these steps to integrate the Pipedrive Products MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 8 tools from Pipedrive Products via MCP
Why Use Mastra AI with the Pipedrive Products MCP Server
Mastra AI provides unique advantages when paired with Pipedrive Products through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure — add Pipedrive Products 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 Pipedrive Products 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
Pipedrive Products + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Pipedrive Products MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Pipedrive Products, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Pipedrive Products as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Pipedrive Products on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Pipedrive Products tools alongside other MCP servers
Pipedrive Products MCP Tools for Mastra AI (8)
These 8 tools become available when you connect Pipedrive Products to Mastra AI via MCP:
pd_add_product_to_deal
Requires the deal ID, product ID (use pd_search_products or pd_list_products to find), unit price, and quantity. The line-item total is calculated automatically. Use when the user wants to add a product to a deal, build a quote, or track what is being sold. Attach a product from the catalog to a deal with a specific quantity and unit price for line-item tracking
pd_create_product
Name is required. Code serves as the internal SKU/reference. Unit defines how the product is measured (piece, hour, kg, etc.). Tax is the default tax percentage. Products in the catalog can be attached to deals using pd_add_product_to_deal. Create a new product in the Pipedrive catalog with name, code (SKU), unit type, and tax rate
pd_deal_products
Returns product name, quantity, item price, discount percentage, and total value per line. Use when the user asks "what products are on this deal?", needs to check line-item pricing, or wants to review the deal composition before closing. Get all products attached to a specific deal with quantities, prices, and line-item totals
pd_deal_subscriptions
Returns subscription details including recurring amount, billing cycle, and dates. Subscriptions track ongoing revenue tied to a deal for SaaS/recurring revenue businesses. Use when the user asks about recurring revenue, MRR/ARR, or subscription details on a deal. Get recurring revenue subscriptions linked to a deal — MRR/ARR tracking for subscription-based businesses
pd_get_product
Returns full product data including name, prices per currency, code, unit, tax, and custom fields. Use after searching to drill into a specific product for complete details. Get complete details of a specific Pipedrive product by ID including all pricing, tax, and custom fields
pd_list_products
Returns product name, unit price, code (SKU), unit type, and whether it is active. Use for product catalog browsing, inventory auditing, or when the user wants to see all available products. List all products in the Pipedrive product catalog with names, prices, codes, and unit information
pd_search_products
Returns product name, unit price, product code (SKU), unit type, and tax percentage. Use when the user wants to find a product, check pricing, or needs a product ID before attaching it to a deal. Search Pipedrive products by name to find items in the product catalog with prices, codes, and unit types
pd_update_product
Only specified fields change. Use when the user wants to rename a product, update its SKU code, or change pricing information. Update an existing Pipedrive product — change name, code, pricing, or other catalog properties
Example Prompts for Pipedrive Products in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Pipedrive Products immediately.
"Search for deals with Acme Corp"
"Create a call activity for tomorrow at 2pm"
"Show me the pipeline stages"
Troubleshooting Pipedrive Products MCP Server with Mastra AI
Common issues when connecting Pipedrive Products to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpPipedrive Products + Mastra AI FAQ
Common questions about integrating Pipedrive Products 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?
Connect Pipedrive Products with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Pipedrive Products to Mastra AI
Get your token, paste the configuration, and start using 8 tools in under 2 minutes. No API key management needed.
