MCP server for Kylas CRM lead operations: create leads, search leads, lookup users/products/pipelines.
Project description
Kylas CRM MCP Server (Lead Only)
Model Context Protocol server for Kylas CRM lead operations. Use it from Cursor, Claude Desktop, or any MCP client to create leads, search and filter leads, and look up users, products, and pipelines.
→ Want to use this in Cursor? See FOR_USERS.md for install steps and MCP config you can share with others.
Features
- get_lead_field_instructions – Get lead schema (standard + custom fields, picklist IDs)
- create_lead – Create a lead with dynamic fields from user context
- search_leads – Search/filter leads by multiple criteria
- lookup_users – Resolve user names to IDs (for owner, created by, etc.)
- lookup_products – Resolve product names to IDs
- lookup_pipelines / get_pipeline_stages – Resolve pipeline and stage for open/closed/won leads
- search_idle_leads – Find leads with no activity for N days
Requirements
- Python 3.10+
- Kylas account and API key
Installation
pip install -e .
# or from PyPI (after publish): pip install kylas-crm-mcp
Configuration
Set environment variables (or use a .env file):
| Variable | Required | Description |
|---|---|---|
KYLAS_API_KEY |
Yes | Your Kylas API key |
KYLAS_BASE_URL |
No | API base URL (default: https://api.kylas.io/v1) |
Running the server
The server uses stdio transport (default for MCP). Run:
python -m kylas_crm_mcp
# or: python main.py (when developing from repo root)
MCP clients (e.g. Cursor) typically start this process and communicate via stdin/stdout.
Docker
docker build -t kylas-crm-mcp .
docker run -e KYLAS_API_KEY=your_key -i kylas-crm-mcp
Development
pip install -e ".[dev]"
pytest
License
See repository for license information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kylas_crm_mcp-1.0.1.tar.gz.
File metadata
- Download URL: kylas_crm_mcp-1.0.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1731eaa458024bb17835780b81bd88d2285e0b15587292e840c864e0e5cfc70d
|
|
| MD5 |
a1e48802d42b239085cf5f7f46ee0726
|
|
| BLAKE2b-256 |
2a8a7714c3d02473ca39b81fcf46b54b686581c0fd6259e1b54f20686fe340a2
|
File details
Details for the file kylas_crm_mcp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kylas_crm_mcp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9366fd2fe07e8f696502c5dae4ca9ec95249c6a336a0e7a6c7bc879ccd1952ba
|
|
| MD5 |
846380a75d6810a27765190df4058ef9
|
|
| BLAKE2b-256 |
279903788651c095c97095b62cf9b77dec942b8b9ef23ccbb23e5bf3f7946715
|