was-pipedrive-mcp

was-pipedrive-mcp

A self-contained MCP server for Pipedrive CRM that exposes 27 tools allowing AI coding assistants to read, create, update, search, and manage deals, contacts, activities, organizations, leads, and pipelines.

Category
访问服务器

README

Pipedrive MCP (was-pipedrive-mcp)

A self-contained, cross-platform Model Context Protocol (MCP) server for Pipedrive CRM. Exposes 27 tools allowing AI coding assistants (Claude Desktop, Cursor, Antigravity, VS Code, Zed, etc.) to read, create, update, search, and manage Pipedrive deals, contacts, activities, organizations, leads, and pipelines. Built by Web Analytics Solution.

Prerequisites

Required How to install
Node.js 18+ running npx Mac: brew install node · Windows: https://nodejs.org · Linux: apt install nodejs npm
Git letting npx clone from GitHub Mac: brew install git (or first git --version triggers Xcode tools) · Windows: https://git-scm.com · Linux: apt install git
Pipedrive account to access CRM data Sign up here
Personal API token for API authentication Walked through below

Quick Start — 3 Steps

Step 1 — Get Credentials

  1. Log in to your Pipedrive account.
  2. Click on your profile icon in the top right corner and select Settings (or Personal preferences).
  3. Navigate to the API tab.
  4. Copy your Personal API token (or click Generate token if you don't have one yet).

Step 2 — Connect

Run the interactive authentication command in your terminal:

npx -y github:mnsmasum62786/was-pipedrive-mcp auth

Paste your API token when prompted. The CLI will automatically verify your token against Pipedrive (/users/me) and save it locally with secure 0600 permissions at ~/.was-pipedrive-mcp/config.json.

Step 3 — Add to Your AI Client

Add the following configuration to your AI client's MCP configuration JSON file:

{
  "mcpServers": {
    "Pipedrive MCP": {
      "command": "npx",
      "args": ["-y", "github:mnsmasum62786/was-pipedrive-mcp"]
    }
  }
}

Configuration File Locations by Client:

  • Claude Desktop (Mac): ~/Library/Application Support/Claude/claude_desktop_config.json
  • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
  • Cursor: ~/.cursor/mcp.json (or via Cursor Settings -> MCP)
  • Google Antigravity / Windsurf: ~/.gemini/antigravity/mcp.json or ~/.codeium/windsurf/mcp_config.json

What You Can Ask the AI

Here are example prompts you can use in your AI chat once connected:

Discovery & Inspection

  • "Who am I logged in as in Pipedrive, and what company account is this?"
  • "List all sales pipelines and their stages in my Pipedrive account."
  • "List all users in our Pipedrive company account."

Sales Pipeline & Deals

  • "Show me the top 10 open deals in Pipedrive right now."
  • "Search for any deals related to 'Enterprise Upgrade'."
  • "Create a new deal titled 'Acme Corp Q3 Renewal' valued at $15,000 USD in stage ID 2."
  • "Move deal ID 45 to 'won' status."

Contacts & Organizations

  • "Find contact persons with the name 'Jane Doe' or email 'jane@example.com'."
  • "Create a new organization called 'TechStream Inc' located in Austin, TX."
  • "Create a new contact person named 'John Smith' associated with organization ID 12 and phone '555-0199'."

Activities & Leads

  • "List my scheduled activities and calls due this week."
  • "Create a follow-up call activity for deal ID 45 due tomorrow at 14:00."
  • "Mark activity ID 88 as completed."
  • "Create a new lead in the Leads Inbox titled 'Inbound Web Inquiry - Acme Corp'."

All Tools (27 Total)

Category Tools Description
Users & Account pd_get_me, pd_list_users Inspect authenticated profile and company users.
Deals pd_list_deals, pd_get_deal, pd_create_deal, pd_update_deal, pd_delete_deal, pd_search_deals Full CRUD, filtering, and text search for sales pipeline deals.
Persons (Contacts) pd_list_persons, pd_get_person, pd_create_person, pd_update_person, pd_delete_person, pd_search_persons Manage individual contact persons and their contact details.
Organizations pd_list_organizations, pd_get_organization, pd_create_organization, pd_update_organization, pd_search_organizations Manage company accounts and addresses.
Activities pd_list_activities, pd_create_activity, pd_update_activity Schedule and complete tasks, calls, meetings, and emails.
Leads pd_list_leads, pd_create_lead Manage early-stage leads in the Leads Inbox.
Pipelines & Stages pd_list_pipelines, pd_list_stages Inspect pipeline structure and stage IDs.
Escape Hatch pd_api Invoke any Pipedrive REST API v1 endpoint directly (GET, POST, PUT, DELETE).

CLI Commands

You can run these commands directly via npx -y github:mnsmasum62786/was-pipedrive-mcp <command>:

  • auth — Interactive prompt to connect or re-connect your Pipedrive API token.
  • status — Show config file path, verification status, and timestamp of saved credentials.
  • logout — Delete the locally stored credentials file (~/.was-pipedrive-mcp/config.json).
  • help — Print command line usage and environment variable instructions.

Multi-Account Setup

Power users can bypass the local config file by setting environment variables. This allows running multiple Pipedrive accounts simultaneously by defining separate entries in your AI client config:

{
  "mcpServers": {
    "Pipedrive Account A": {
      "command": "npx",
      "args": ["-y", "github:mnsmasum62786/was-pipedrive-mcp"],
      "env": {
        "PIPEDRIVE_API_KEY": "token_for_account_a"
      }
    },
    "Pipedrive Account B": {
      "command": "npx",
      "args": ["-y", "github:mnsmasum62786/was-pipedrive-mcp"],
      "env": {
        "PIPEDRIVE_API_KEY": "token_for_account_b"
      }
    }
  }
}

Troubleshooting

1. "Pipedrive MCP — not configured yet"

  • Cause: The server was started without running the authentication setup.
  • Fix: Open your terminal and run npx -y github:mnsmasum62786/was-pipedrive-mcp auth.

2. HTTP 401 or Verification Failed during setup

  • Cause: The Personal API token pasted is incorrect or has been revoked in Pipedrive.
  • Fix: Check Settings -> Personal preferences -> API in Pipedrive, generate a new token, and run auth again.

3. Windows PowerShell Execution Policy Error

If you see an error like npx.ps1 cannot be loaded because running scripts is disabled:

  • Fix: Run the following command in PowerShell:
    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
    

4. Old Code / Cached Version after Update

Windows and Mac may cache older npx bundles. To force clear the npx cache and pull the latest release:

  • Windows (PowerShell):
    Remove-Item -Recurse -Force "$env:LOCALAPPDATA\npm-cache" -ErrorAction SilentlyContinue
    npm cache clean --force
    
  • Mac / Linux:
    rm -rf ~/.npm/_npx
    npm cache clean --force
    

License

MIT License. Built by Web Analytics Solution.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选