Pipedrive CRM (Full) MCP Server for Mastra AI 11 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Pipedrive CRM (Full) 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
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-crm-full": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Pipedrive CRM (Full) Agent",
instructions:
"You help users interact with Pipedrive CRM (Full) " +
"using 11 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Pipedrive CRM (Full)?"
);
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 CRM (Full) 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 CRM (Full) tool infrastructure. Connect 11 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
- 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 CRM (Full) MCP Server exposes 11 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 CRM (Full) to Mastra AI via MCP
Follow these steps to integrate the Pipedrive CRM (Full) 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 11 tools from Pipedrive CRM (Full) via MCP
Why Use Mastra AI with the Pipedrive CRM (Full) MCP Server
Mastra AI provides unique advantages when paired with Pipedrive CRM (Full) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Pipedrive CRM (Full) 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 CRM (Full) 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 CRM (Full) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Pipedrive CRM (Full) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Pipedrive CRM (Full), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Pipedrive CRM (Full) 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 CRM (Full) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Pipedrive CRM (Full) tools alongside other MCP servers
Pipedrive CRM (Full) MCP Tools for Mastra AI (11)
These 11 tools become available when you connect Pipedrive CRM (Full) to Mastra AI via MCP:
pd_create_activity
Subject and type are required. Type must be one of: call, meeting, email, task, lunch, deadline. Optionally set due_date (YYYY-MM-DD) and link to deal_id, person_id, or both. Add a note for context. Activities appear in the Pipedrive calendar and task queue. Schedule a sales activity in Pipedrive — a call, meeting, email, task, lunch, or deadline linked to deals or contacts
pd_create_deal
Title is required. Optionally specify monetary value, currency (USD/EUR/GBP/etc.), linked person_id and org_id (use search tools to find these), and pipeline/stage placement (use pd_list_pipelines and pd_list_stages to find IDs). If no pipeline is specified, the deal enters the default pipeline at its first stage. Create a new deal in your Pipedrive sales pipeline with title, value, currency, and linked contact/organization
pd_create_note
Notes appear in the timeline/history of the linked record. Link to exactly one of: deal_id, person_id, or org_id. Use to log meeting summaries, call notes, or internal context on any CRM record. Create a note in Pipedrive attached to a deal, person, or organization for activity logging
pd_create_person
Name is required. Email and phone are optional but recommended for contact management. Link to an existing organization using org_id (use pd_search_organizations to find). Returns the created person with their new Pipedrive ID. Create a new contact (person) in Pipedrive with name, email, phone, and optional organization link
pd_list_activities
Returns subject, type (call/meeting/email/task/lunch/deadline), due date, due time, completion status, and linked deal/person. Use when the user asks about upcoming tasks, scheduled meetings, overdue activities, or recent sales activity. List recent Pipedrive activities (calls, meetings, tasks, emails) with due dates, types, and completion status
pd_list_pipelines
Returns pipeline name, total deal count, and whether it is active. Most Pipedrive accounts have one default pipeline, but larger teams may have separate pipelines for different sales processes (e.g., New Business vs Renewals). Use to find pipeline IDs before creating deals or filtering by pipeline. List all sales pipelines configured in Pipedrive with their names, deal counts, and order
pd_list_stages
Returns stage name, display order, number of deals at each stage, and rotten days (warning threshold). Use to find stage IDs for creating or moving deals, or to understand the sales process flow. List the stages within a Pipedrive pipeline showing stage names, order, deal counts, and win probability
pd_search_deals
Returns deal title, monetary value, currency, pipeline stage, pipeline name, linked person (contact), and organization. Use when the user wants to find a specific deal, check pipeline status, look up deal values, or see which stage a deal is in. Search Pipedrive deals by name or keyword to find opportunities in your sales pipeline with value, stage, and contact info
pd_search_organizations
Returns org name, address, and associated data. Use when the user wants to find a company, needs org IDs for linking to deals or persons, or wants to look up account details. Search Pipedrive organizations (companies) by name to find accounts in your CRM
pd_search_persons
Returns person name, email addresses, phone numbers, and linked organization. Use when the user wants to find a contact, look up someone by email, or get person IDs for linking to deals or activities. Search Pipedrive contacts (persons) by name, email, or phone to find people in your CRM
pd_update_deal
Only specified fields are updated. Common use: advance stage_id when a deal progresses, update value after negotiation, or set status to "won"/"lost" to close a deal. Available statuses: open, won, lost, deleted. Update an existing Pipedrive deal — change stage, value, title, or mark as won/lost to reflect pipeline progress
Example Prompts for Pipedrive CRM (Full) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Pipedrive CRM (Full) immediately.
"Search for deals with Acme Corp"
"Create a call activity for tomorrow at 2pm"
"Show me the pipeline stages"
Troubleshooting Pipedrive CRM (Full) MCP Server with Mastra AI
Common issues when connecting Pipedrive CRM (Full) to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpPipedrive CRM (Full) + Mastra AI FAQ
Common questions about integrating Pipedrive CRM (Full) 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 CRM (Full) 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 CRM (Full) to Mastra AI
Get your token, paste the configuration, and start using 11 tools in under 2 minutes. No API key management needed.
