Cloze MCP Server

Cloze MCP Server

Open-source MCP server for Cloze CRM that gives AI agents access to contacts, companies, deals, metadata, and timeline.

Category
访问服务器

README

Cloze MCP Server

npm version License: MIT

An open-source MCP (Model Context Protocol) server for Cloze CRM. Give AI agents like Claude access to your contacts, companies, deals, metadata, and timeline.

Features

  • 🔍 Search & Retrieve — Find people, companies, and projects (basic + advanced filters + feeds)
  • 🧠 Metadata Insight — Fetch stages, segments, steps, custom fields, team members/roles, and saved views
  • 📝 Timeline Writes — Create To-Dos and log communications directly from agents
  • 📊 Deal Pipeline — Query projects and deals by stage and scope
  • 🔒 Secure — Your API key stays local, never sent to third parties
  • Tested — Vitest unit tests cover tool routing + validation (run npm test)

Quick Start

1. Get your Cloze API Key

Go to Cloze Settings → API and create an API key.

2. Configure your MCP client

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "cloze": {
      "command": "npx",
      "args": ["-y", "@purplehorizons/cloze-mcp"],
      "env": {
        "CLOZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Moltbot (~/.clawdbot/config/mcporter.json):

{
  "mcpServers": {
    "cloze": {
      "command": "npx",
      "args": ["-y", "@purplehorizons/cloze-mcp"],
      "env": {
        "CLOZE_API_KEY": "your-api-key-here"
      }
    }
  }
}

3. Start using it

Ask your AI assistant things like:

  • "Show me all buyers in the Future stage assigned to Collette"
  • "List the pipeline steps for the Project segment"
  • "Create a reminder to call Sabor Havana tomorrow"
  • "Stream the latest company changes since last week"

Available Tools

Core lookups

Tool Description
cloze_find_people, cloze_get_person Basic contact search + detail
cloze_find_companies, cloze_get_company Company search + detail
cloze_find_projects, cloze_get_project Project/deal search + detail
cloze_get_profile Verify API connectivity / user info

Metadata / taxonomy

Tool Description
cloze_get_custom_fields List custom fields (optionally by relation type)
cloze_get_people_stages, cloze_get_project_stages Stage taxonomies
cloze_get_people_segments, cloze_get_company_segments, cloze_get_project_segments Segment lists
cloze_get_steps Pipeline steps (filter by segment/stage)
cloze_get_views Saved views / audiences
cloze_list_team_members, cloze_list_team_roles Team roster + role labels

Advanced find + feeds

Tool Description
cloze_people_find_advanced GET /v1/people/find with pagination, filters, sorting
cloze_companies_find_advanced Same for companies
cloze_projects_find_advanced Same for projects/deals
cloze_people_feed Cursor-based change feed for people (supports modifiedAfter, includeAuditedChanges)
cloze_companies_feed Company feed
cloze_projects_feed Project feed

Timeline writes

Tool Description
cloze_create_todo Create a Cloze To-Do/reminder (subject + optional when/participants/assignee)
cloze_log_communication Log calls, texts, emails, meetings, etc. onto the timeline

Development

# Clone the repo
git clone https://github.com/Purple-Horizons/cloze-mcp.git
cd cloze-mcp

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run build

# Run locally (after build)
CLOZE_API_KEY=your-key node dist/index.js

Environment Variables

Variable Required Description
CLOZE_API_KEY Yes Your Cloze API key

Roadmap

  • [x] MVP: Read operations (find/get)
  • [x] Metadata helpers (stages, segments, custom fields, steps, team)
  • [x] Advanced search + feeds
  • [x] Timeline writes (todos + communications)
  • [ ] Analytics queries
  • [ ] Webhook subscriptions
  • [ ] OAuth 2.0 for public integrations

Contributing

Contributions welcome! Please read our Contributing Guide first.

License

MIT © Purple Horizons


Built with ❤️ by Purple Horizons for the AI agent community.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选