Create custom MCP servers with Pipedrive tools for AI assistants using simple Python or Docker setups
Pipe-MCP is a lightweight, yet powerful Model Context Protocol (MCP) server implementation designed to facilitate seamless integration of specialized tools with AI applications like Claude Desktop, Continue, Cursor, and custom applications. This document details the core features, architecture, installation process, various use cases, configuration options, and advanced setup instructions for developers looking to enhance their AI workflows.
Pipe-MCP offers a robust set of features that integrate well with MCP-compatible clients:
The Pipe-MCP server is structured to follow the Model Context Protocol (MCP), which acts as a universal adapter for AI applications. The core components include:
The protocol flow diagram illustrates how AI applications, through MCP clients, interact with Pipe-MCP server:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
uv
# Clone the repository
git clone https://github.com/yourusername/pipe-mcp.git
cd pipe-mcp
# Install dependencies using uv
uv pip install -e .
# Configure environment variables
cp .env.example .env # Create and edit this file with your settings
# Clone the repository
git clone https://github.com/yourusername/pipe-mcp.git
cd pipe-mcp
# Build the Docker image
docker build -t pipe-mcp .
# Configure environment variables in .env
For applications needing real-time access to customer data, Pipe-MCP enables interaction with Pipedrive through REST API calls. The server supports tools like pipedrive_get_deals
and pipedrive_create_person
, enriching the application’s capabilities to manage leads and contacts dynamically.
For applications using a CLI interface, such as an AI assistant for developers, Pipe-MCP provides stdio transport, allowing seamless integration with tools written in any language. This enables complex tasks like code generation or continuous integration setup directly from the command line.
Ensure your MC client is set up to connect using the following configuration:
{
"mcpServers": {
"pipe-mcp": {
"transport": "sse",
"url": "http://localhost:8151/sse"
}
}
}
For Python and other CLI-based clients, use the following server configuration:
{
"mcpServers": {
"pipe-mcp": {
"command": "path/to/python",
"args": ["path/to/pipe-mcp/src/main.py"],
"env": {
"TRANSPORT": "stdio"
}
}
}
}
{
"mcpServers": {
"pipe-mcp": {
"command": "docker",
"args": ["run", "--rm", "-i", "pipe-mcp"],
"env": {
"TRANSPORT": "stdio",
"PIPEDRIVE_API_TOKEN": "your_pipedrive_api_token"
}
}
}
}
MCP Client | Resources | Tools | Prompts |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ✅ | ✅ | ✅ |
Cursor | ❌ | ✅ | ❌ |
HOST
: IP address or hostname of the server (default: 0.0.0.0).PORT
: Port for the TCP connection.TRANSPORT
: Specifies the transport mode, either "sse" or "stdio".PIPEDRIVE_API_TOKEN
: API token required for Pipedrive integration.To run the server using the default CLI configuration:
uv run src/server.py
For development purposes, you can also use a Docker container with this command:
docker run -d --name pipe-mcp -p 8151:8151 \
-e HOST=0.0.0.0 \
-e PORT=8151 \
-e TRANSPORT=sse \
-e PIPEDRIVE_API_TOKEN=your_pipedrive_api_token \
pipe-mcp
A: Currently, Pipe-MCP is fully supported by McAfee Desktop and Continue. Cursor supports tool integration only.
A: Yes, Pipe-MCP can be extended to support additional protocols beyond SSE and stdio through modifications in the source code.
A: Define your tool functions in src/tool.py
and use the @mcp.tool()
decorator to register them. Ensure the context dataclass is updated as needed for new requirements.
A: Always pass sensitive information like API tokens through environment variables instead of including them in the Docker image for better security practices.
A: Yes, you can define and register multiple MCP servers within one Pipe-MCP instance by specifying different host/port configurations or using unique environment variable settings.
Contributions to Pipe-MCP are welcome. To contribute:
For further information and additional resources on Model Context Protocol, visit the official website: ModelContextProtocol.org
This comprehensive documentation provides a thorough understanding of Pipe-MCP’s capabilities, installation process, real-world use cases, and contribution guidelines. It is an essential resource for developers looking to integrate AI applications with a standardized protocol like Model Context Protocol (MCP).
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Python MCP client for testing servers avoid message limits and customize with API key
Explore community contributions to MCP including clients, servers, and projects for seamless integration
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Powerful GitLab MCP Server enables AI integration for project management, issues, files, and collaboration automation
SingleStore MCP Server for database querying schema description ER diagram generation SSL support and TypeScript safety