Skip to main content

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.

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-server

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

Publishing to the MCP Marketplace

To publish this server to the official MCP Registry (so it appears in Cursor and other MCP clients):

  1. Publish the package to PyPI (the registry verifies ownership via your README).
  2. Install mcp-publisher and run mcp-publisher login github, then mcp-publisher publish.

See PUBLISHING.md for the full step-by-step guide.

License

See repository for license information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kylas_crm_mcp_server-1.0.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kylas_crm_mcp_server-1.0.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file kylas_crm_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: kylas_crm_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for kylas_crm_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2e4eb1917354492c023c6363c49379d96d6a2d4a6972ba3d3edfd737258cefe7
MD5 a239291a18178efd794070acec45452d
BLAKE2b-256 0dd569933c94976b4549591f805f89c774f5676e87f24087d262438ca5d895d7

See more details on using hashes here.

File details

Details for the file kylas_crm_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kylas_crm_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3303770e77c59c741d3739e38a39bd8951d0efc3959e838c71ee4f2e9c509f8d
MD5 baa3e08537b56de9c992bf647592f841
BLAKE2b-256 6d232c1b6d3327d58fcb2b45e9e21996dcaa519ddeaf14f306c2317f23524ad0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page