
Retrieve activities with filtering and pagination. Filter by owner, type (call/meeting/task), completion status, or date range. Returns activity objects with subjects, due dates, and linked deals/contacts. Use to view tasks or find overdue items.
Retrieve detailed information for a specific activity by its ID. Returns complete activity data including subject, type, due date/time, duration, associated deal/contact/organization, completion status, participants, and notes. Use list_activities to find valid activity IDs. Essential for viewing full activity details or checking activity status before updates.
Create a new activity (call, meeting, task, deadline, email, lunch) with due dates/times, assigned users, linked deals/contacts/organizations, duration, and participants. Returns complete activity object with ID. Use listactivitytypes to see available types. Essential for task management and scheduling follow-ups.
Update activity properties: subject, type, due date/time, completion status, assigned user, associated records, duration, location, notes. Partial updates supported. Returns updated activity object. Commonly used to mark done, reschedule, or update details.
Permanently delete an activity from Pipedrive. Cannot be undone. Removes from all associated deals, contacts, and calendars. Consider marking as done instead to maintain history. Returns success confirmation.
Retrieve all activity types (call, meeting, task, deadline, email, lunch, custom types) with names, icons, colors, and IDs. Use to discover valid type values before creating/updating activities. Essential for correct type assignment.
Retrieve all custom field definitions for deals including field names, types, options, and IDs. Returns metadata about custom fields configured in your Pipedrive account. Use this to discover available custom fields before creating or updating deals, understand field types and valid values, or build dynamic forms.
Retrieve all custom field definitions for persons/contacts including field names, types, options, and IDs. Returns metadata about custom fields configured for contacts. Use this to discover available custom fields before creating or updating persons, understand field types and valid values, or build dynamic contact forms.
Retrieve all custom field definitions for organizations/companies including field names, types, options, and IDs. Returns metadata about custom fields configured for organizations. Use this to discover available custom fields before creating or updating organizations, understand field types and valid values, or build dynamic company forms.
Retrieve all custom field definitions for activities including field names, types, options, and IDs. Returns metadata about custom fields configured for activities. Use this to discover available custom fields before creating or updating activities, understand field types and valid values, or build dynamic activity forms.
Retrieve deals with filtering and pagination. Filter by owner, stage, status (open/won/lost), or custom filters. Returns deal objects with contacts, organizations, values, and custom fields. Use to analyze pipeline health or find deals by criteria.
Retrieve detailed deal information by ID. Returns complete data: title, value, currency, stage, pipeline, associated person/organization, custom fields, activity counts, metadata. Use list_deals to find valid IDs. Essential for viewing details or checking status.
Create a new deal with title, value, owner, stage, and associated contacts/organizations. Supports custom fields, pipeline assignment, probability tracking. Returns complete deal object with ID. Use listusers, listpipelines, liststages, listpersons, list_organizations for valid IDs.
Update deal properties: title, value, stage, status, owner, contacts, custom fields. Partial updates supported. Returns updated deal object. Use get_deal first to see current values. Commonly used to move through stages, update values, or change ownership.
Permanently delete a deal from Pipedrive. Cannot be undone. Removes from all pipelines, reports, and associated records. Consider marking as 'lost' instead to maintain history. Returns success confirmation.
Search deals using text queries across titles, notes, custom fields. Supports exact match, filtering by person/organization/status, and pagination. Returns matching deals with relevance scoring. Minimum 2 characters (1 with exact_match).
Retrieve files from Pipedrive with optional filters. Returns file metadata including name, type, size, and associated deals/contacts. Supports pagination for large file lists.
Retrieve file metadata by ID including name, URL, size, type, and associations. Use list_files to find valid file IDs. Returns download URL and file details.
Permanently delete a file from Pipedrive. Cannot be undone. Returns success confirmation. Use get_file first to verify the file.
Retrieve notes with optional filters by person, deal, organization. Returns note content, timestamps, and associations. Supports pagination and date filtering.
Retrieve a specific note by ID including content, author, timestamps, and linked entities. Use list_notes to find valid note IDs.
Create a note attached to a deal, person, organization, or lead. Supports HTML content, pinning options, and custom timestamps. Returns created note with ID.
Update note content, attachments, or pinning status. Partial updates supported. Returns updated note. Use get_note first to see current content.
Permanently delete a note from Pipedrive. Cannot be undone. Returns success confirmation.
Retrieve organizations with filtering and pagination. Filter by owner, first letter, or custom filters. Returns company data including name, address, contacts, and deal counts. Use to browse companies or find organizations by owner.
Retrieve detailed organization info by ID. Returns company name, address, contacts, deal statistics, custom fields, and metadata. Use listorganizations or searchorganizations to find valid IDs.
Create a new organization/company with name, address, owner, and custom fields. Returns complete organization object with ID. Use list_users to find valid owner IDs.
Update organization properties: name, address, owner, visibility, custom fields. Partial updates supported. Returns updated organization. Use get_organization first for current values.
Permanently delete an organization from Pipedrive. Cannot be undone. Removes from all deals and associated records. Returns success confirmation.
Search organizations using text queries across names, addresses, and notes. Supports exact match mode and pagination. Returns matching companies with relevance scoring. Min 2 chars required.
Retrieve contact persons from your Pipedrive CRM with advanced filtering and pagination. Filter by owner, first letter of name, or custom filters. Supports sorting and pagination for large contact databases. Returns complete person objects with emails, phones, organization associations, deal counts, and custom fields. Use this to browse contacts, export contact lists, or find contacts by owner.
Retrieve detailed contact info by ID. Returns name, emails, phones, job title, organization, deal statistics, activity counts, and custom fields. Use listpersons or searchpersons to find valid IDs. Essential for viewing contact details before updates.
Create a new contact with name, emails, phones, organization, and job title. Supports custom fields, labels, and marketing consent. Returns complete person object with ID. Use list_organizations to find valid org IDs.
Update an existing contact person's properties including name, emails, phones, job title, organization association, or custom fields. Supports partial updates - only provide fields you want to change. Returns the updated person object with all current data. Use get_person first to see current values, then update specific fields as needed. Commonly used to update contact information, change organization associations, or update job titles when contacts change roles.
Permanently delete a contact person from your Pipedrive account. This action cannot be undone. The contact will be removed from all deals, activities, and associated records. Use with caution as this removes all historical data for this contact. Consider marking contacts as inactive instead if you want to maintain historical records. Returns success confirmation upon deletion.
Search contacts using text queries across names, emails, phones, and notes. Supports exact match mode, filtering by organization, and pagination. Returns matching contacts with relevance scoring. Min 2 chars required (1 with exact_match).
Retrieve all sales pipelines configured in your Pipedrive account. Returns pipeline names, IDs, stages, deal probability settings, and order. Use this to discover available pipelines before creating deals or filtering by pipeline. Essential for understanding your sales process structure and pipeline configuration.
Retrieve detailed information for a specific sales pipeline by its ID. Returns complete pipeline data including name, stages, deal probability settings, and configuration. Use list_pipelines to find valid pipeline IDs. Essential for viewing pipeline structure and stage details.
Retrieve all deals within a specific sales pipeline with optional filtering by stage, owner, or status. Supports pagination for large deal lists. Returns complete deal objects with values, stages, and associated contacts. Use this to analyze pipeline health, view deals at specific stages, or export pipeline data for reporting.
Retrieve all stages across all pipelines or stages within a specific pipeline. Returns stage names, IDs, order, deal probability percentages, and pipeline associations. Use this to discover valid stage IDs before creating or moving deals. Essential for understanding your sales process stages and stage progression.
Retrieve detailed information for a specific pipeline stage by its ID. Returns complete stage data including name, order, deal probability, pipeline association, and configuration. Use list_stages to find valid stage IDs. Essential for viewing stage details and understanding stage properties.
Retrieve all deals within a specific pipeline stage with optional filtering by owner or status. Supports pagination for large deal lists. Returns complete deal objects with values, contacts, and metadata. Use this to analyze stage performance, view deals at a specific point in your sales process, or identify bottlenecks in your pipeline.
Retrieve all users in your Pipedrive workspace including active and inactive team members. Returns user names, IDs, emails, roles, and status. Use this to discover valid user IDs for assigning deals, contacts, organizations, or activities. Essential for team management and understanding who can be assigned to records.
Retrieve detailed information for a specific user by their ID. Returns complete user data including name, email, role, permissions, language, timezone, and activity status. Use list_users to find valid user IDs. Essential for viewing team member details and understanding user permissions.
Retrieve detailed information about the currently authenticated user making API requests. Returns your user profile including name, email, company, role, permissions, preferences, and account settings. Use this to verify authentication, check your permissions, or get your user ID for filtering your own records.
Validate Pipedrive credentials. Verifies credentials during setup.

In an mcp.json file, add the configuration below, and restart Cursor.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5 "headers": {
6 "Authorization": "Bearer yMt*****"
7 }
8 }
9 }
10}
11Open your Claude Desktop configuration file and add the server configuration below. You'll also need to restart the application for the changes to take effect.
Make sure Claude is using the Node v20+.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "mcp-remote@latest",
8 "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
9 "--header",
10 "Authorization: Bearer ${AUTH_TOKEN}"
11 ],
12 "env": {
13 "AUTH_TOKEN": "yMt*****"
14 }
15 }
16 }
17}Open your Windsurf MCP configuration file and add the server configuration below.
Click on the refresh button in the top right of the Manage MCP server page or in the top right of the chat box in the box icon.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "mcp-remote@latest",
8 "https://ah-api.merge.dev/api/v1/tool-packs/<tool-pack-id>/registered-users/<registered-user-id>/mcp",
9 "--header",
10 "Authorization: Bearer ${AUTH_TOKEN}"
11 ],
12 "env": {
13 "AUTH_TOKEN": "<ah-production-access-key>"
14 }
15 }
16 }
17 }In Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows), run "MCP: Open User Configuration".
You can then add the configuration below and press "start" right under servers. Enter the auth token when prompted.
Learn more in the official documentation ↗
1{
2 "inputs": [
3 {
4 "type": "promptString",
5 "id": "agent-handler-auth",
6 "description": "Agent Handler AUTH_TOKEN", // "yMt*****" when prompt
7 "password": true
8 }
9 ],
10 "servers": {
11 "agent-handler": {
12 "type": "stdio",
13 "command": "npx",
14 "args": [
15 "-y",
16 "mcp-remote@latest",
17 "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
18 "--header",
19 "Authorization: Bearer ${input:agent-handler-auth}"
20 ]
21 }
22 }
23}It’s an MCP server that lets you access data and functionality from Pipedrive via tools. Your agents can invoke these tools to update activities, create deals, fetch notes, and more.
Pipedrive doesn’t currently support an MCP server, but you could use one from a 3rd-party platform, like Merge Agent Handler.
Here are just a few popular tools:
Leverage it in any of the following ways:
Here are just a few factors:
Yes, Merge Agent Handler includes a security gateway with DLP that allows you to define custom rules for tool inputs and outputs.
Take the following steps:
1. Create (or sign in to) your Merge Agent Handler account and open the dashboard.
2. Create a Tool Pack for the workflow you want (e.g., “Pipedrive lead routing” or “Pipeline reporting”). Tool Packs define which connectors/tools your agent is allowed to call.
3. Add the Pipedrive connector to the Tool Pack and select the specific Pipedrive tools you want exposed (start with read-only tools first, then add write tools if needed).
4. Create (or choose) a Registered User. This is the identity boundary Agent Handler uses for credentials + audit logs.
5. Authenticate Pipedrive for that Registered User (so Agent Handler can call Pipedrive on their behalf).
6. Copy your Agent Handler MCP endpoint URL for that Tool Pack and Registered User. It follows this pattern:
<code class="blog_inline-code">https://…/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp</code>.
7. Add the MCP server to your MCP client / agent runtime (Cursor, Claude Desktop, Windsurf, VS Code, etc.) using that endpoint URL.
8. Configure authentication to the MCP endpoint by sending: <code class="blog_inline-code">Authorization: Bearer <your Agent Handler API key/token></code>
9. Refresh/list tools in your MCP client to confirm the Pipedrive tools are discovered and available (i.e., <code class="blog_inline-code">list_tools</code>).
10. Test with a safe read call first, then check Agent Handler logs to confirm the arguments/response look right before enabling broader access or write actions.
Yes, Agent Handler for Employees lets your employees connect Claude, ChatGPT, Microsoft Copilot, Cursor, and other MCP-compatible AI tools to Pipedrive without bypassing IT governance.
Instead of setting up direct connections with personal credentials that IT can't monitor or revoke, each employee authenticates through Agent Handler and gets individual credentials tied to their identity.
IT also provisions access by role or group via SCIM. A sales rep, for example, gets Pipedrive access to manage deals and contacts, Gmail to handle customer outreach, and Google Calendar to schedule follow-up meetings; while a sales manager gets Pipedrive access to track pipeline health and team activity, Slack to run deal reviews, and Google Sheets to report on revenue forecasts.
Every tool call an employee's AI makes to Pipedrive is also inspected against your DLP rules and logged to a searchable audit trail, giving security teams full visibility into what data was accessed and by whom.
Whether you're an engineer experimenting with agents or a product manager looking to add tools, you can get started for free now