connectif-mcp
Minimal MCP server exposing the Connectif HTTP API to MCP clients over stdio, enabling operations like contacts, purchases, products, exports, imports, workflows, and more.
README
@yoryoboy/connectif-mcp
@yoryoboy/connectif-mcp is a minimal Model Context Protocol server that exposes the official Connectif HTTP API to MCP clients over stdio. It is a thin wrapper: requests use Connectif's official routes and parameter names, and upstream responses are returned without business transformations.
Quick start
- Create a Connectif API key with the scopes required by the operations you use.
- Add this server to your MCP client's standard
mcpServersconfiguration:
{
"mcpServers": {
"connectif": {
"command": ["pnpm", "dlx", "@yoryoboy/connectif-mcp"],
"env": {
"CONNECTIF_API_KEY": "key-id:key-secret"
}
}
}
}
- Restart the MCP client.
pnpm dlxdownloads and runs@yoryoboy/connectif-mcpwhen needed.
Keep credentials in the client's environment configuration or another secret store. Never commit a real API key.
Requirements
- Node.js 20 or newer
- A Connectif API key with the scopes required by the operations you use
- An MCP client that supports stdio servers
Installation
Install the package directly when you want it in a project:
npm install @yoryoboy/connectif-mcp
pnpm add @yoryoboy/connectif-mcp
For a global installation alternative, run npm install --global @yoryoboy/connectif-mcp and configure the command as connectif-mcp. Direct npx shorthand may fail to resolve scoped package bins in some environments, so pnpm dlx is the recommended zero-install launcher.
Configuration
npm install
npm run build
CONNECTIF_API_KEY='key-id:key-secret' npm start
The server reads these environment variables:
| Variable | Required | Default | Description |
|---|---|---|---|
CONNECTIF_API_KEY |
Yes | None | Sent as Authorization: apiKey {value}. |
CONNECTIF_BASE_URL |
No | https://api.connectif.cloud |
API origin; useful for mocked or compatible environments. |
CONNECTIF_TIMEOUT_MS |
No | 10000 |
Request abort timeout in milliseconds. |
Tools and actions
The server registers exactly 12 domain tools and 45 non-deprecated Connectif operations. Each tool takes an action property that selects the official operation; route parameters, query parameters, JSON bodies, and multipart fields remain in their corresponding locations.
| Tool | API area |
|---|---|
connectif_contacts |
Contacts |
connectif_purchases |
Purchases |
connectif_products |
Products |
connectif_exports |
Exports |
connectif_imports |
Imports |
connectif_coupon_sets |
Coupon sets |
connectif_workflows |
Workflows |
connectif_store |
Store |
connectif_contact_fields |
Contact fields |
connectif_custom_events |
Custom events |
connectif_custom_integrations |
Custom integrations |
connectif_custom_event_types |
Custom event types |
Example:
{
"action": "getContactByEmail",
"email": "person@example.com"
}
For imports, the file tool value contains a filename and base64 content, and the server converts it to the official multipart file part. See ENDPOINTS.md for the complete operation catalog and docs/API_REFERENCE.md for Connectif API behavior.
Security and fidelity
- API keys are read from the environment and are not logged or included in tool arguments by the server.
- Paths are encoded, fixed routes are selected from the operation registry, and arbitrary route overrides are not accepted.
- Successful results preserve the upstream HTTP status, headers, and body. HTTP errors preserve the same upstream metadata in an MCP error result.
- The wrapper does not add retries, rate-limit handling, response projection, business middleware, or other policy beyond the request timeout.
- Never put API keys in source control, URLs, tool arguments, or logs. Use
.env.exampleas a variable reference only.
Development
npm run format:check
npm run typecheck
npm test
npm run build
pnpm pack --dry-run
Tests use mocked HTTP and do not require credentials or network access.
License
MIT. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。