{
  "markdown": "# Kylas CRM MCP Server (Lead Only)\n\nModel 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.\n\n<!-- mcp-name: io.github.kylastech/kylas-crm -->\n\n## Features\n\n- **get_lead_field_instructions** – Get lead schema (standard + custom fields, picklist IDs)\n- **create_lead** – Create a lead with dynamic fields from user context\n- **search_leads** – Search/filter leads by multiple criteria\n- **lookup_users** – Resolve user names to IDs (for owner, created by, etc.)\n- **lookup_products** – Resolve product names to IDs\n- **lookup_pipelines** / **get_pipeline_stages** – Resolve pipeline and stage for open/closed/won leads\n- **search_idle_leads** – Find leads with no activity for N days\n\n## Requirements\n\n- Python 3.10+\n- [Kylas](https://kylas.io) account and API key\n\n## Installation\n\n```bash\npip install -e .\n# or from PyPI (after publish): pip install kylas-crm-mcp-server\n```\n\n## Configuration\n\nSet environment variables (or use a `.env` file):\n\n| Variable         | Required | Description                          |\n|------------------|----------|--------------------------------------|\n| `KYLAS_API_KEY`  | Yes      | Your Kylas API key                   |\n| `KYLAS_BASE_URL` | No       | API base URL (default: https://api.kylas.io/v1) |\n\n## Running the server\n\nThe server uses **stdio** transport (default for MCP). Run:\n\n```bash\npython -m kylas_crm_mcp\n# or: python main.py  (when developing from repo root)\n```\n\nMCP clients (e.g. Cursor) typically start this process and communicate via stdin/stdout.\n\n## Docker\n\n```bash\ndocker build -t kylas-crm-mcp .\ndocker run -e KYLAS_API_KEY=your_key -i kylas-crm-mcp\n```\n\n## Development\n\n```bash\npip install -e \".[dev]\"\npytest\n```\n\n## Publishing to the MCP Marketplace\n\nTo publish this server to the **official MCP Registry** (so it appears in Cursor and other MCP clients):\n\n1. Publish the package to [PyPI](https://pypi.org) (the registry verifies ownership via your README).\n2. Install [mcp-publisher](https://modelcontextprotocol.io/registry/quickstart) and run `mcp-publisher login github`, then `mcp-publisher publish`.\n\nSee **[PUBLISHING.md](PUBLISHING.md)** for the full step-by-step guide.\n\n## License\n\nSee repository for license information.\n",
  "bytes": 2346,
  "sha": "1370d42a3fe113eca0d071b5b299ed57370fdc9e42bbddbbfbb76cac93d0c74d",
  "repo_slug": "kylastech/kylas-crm-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_kylastech_kylas_crm_3e0f3c18/readme"
}