mcp-template

mcp-template

3.1

If you are the rightful owner of mcp-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Pipedrive MCP Server is a Model Control Protocol server implementation designed to interact with the Pipedrive CRM API, allowing for the management of Pipedrive records through MCP tool calls.

Pipedrive MCP Server

A Model Control Protocol (MCP) server implementation for interacting with the Pipedrive CRM API. This server enables Claude to create, read, update, and delete Pipedrive records through MCP tool calls.

Features

  • Person management (create, read, update, delete)
  • Async API client with comprehensive error handling
  • Vertical slice architecture for maintainability
  • Comprehensive test coverage

Getting Started

Prerequisites

  • Python 3.12+
  • uv - Fast Python package manager
  • mcp CLI - Claude's Model Control Protocol tools

Clone the Repository

git clone git@github.com:Wirasm/pipedrive-mcp.git
cd pipedrive-mcp

Setup Environment

  1. Create a virtual environment and install dependencies:
uv venv
source .venv/bin/activate  # On Unix/macOS
# OR
.venv\Scripts\activate     # On Windows
uv pip install -e .
  1. Create a .env file in the root directory:
PIPEDRIVE_API_TOKEN=your_api_token
PIPEDRIVE_COMPANY_DOMAIN=your_company_domain
HOST=0.0.0.0
PORT=8152
TRANSPORT=sse

Run Tests

uv run pytest

Install to Claude Desktop

mcp install server.py

Run Locally

uv run server.py

Project Structure

The project follows a vertical slice architecture where code is organized by features rather than by technical layers:

pipedrive/
ā”œā”€ā”€ api/
│   ā”œā”€ā”€ base_client.py                   # Core HTTP client
│   ā”œā”€ā”€ features/
│   │   ā”œā”€ā”€ persons/                     # Person feature module
│   │   │   ā”œā”€ā”€ client/                  # Person API client
│   │   │   ā”œā”€ā”€ models/                  # Person domain models
│   │   │   └── tools/                   # Person MCP tools
│   │   └── shared/                      # Shared utilities
│   └── pipedrive_client.py              # Main client facade
└── mcp_instance.py                      # MCP server configuration

Development

For detailed development information, see .

License

MIT