Skip to main content
Glama

@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

  1. Create a Connectif API key with the scopes required by the operations you use.

  2. Add this server to your MCP client's standard mcpServers configuration:

{
  "mcpServers": {
    "connectif": {
      "command": ["pnpm", "dlx", "@yoryoboy/connectif-mcp"],
      "env": {
        "CONNECTIF_API_KEY": "key-id:key-secret"
      }
    }
  }
}
  1. Restart the MCP client. pnpm dlx downloads and runs @yoryoboy/connectif-mcp when needed.

Keep credentials in the client's environment configuration or another secret store. Never commit a real API key.

Related MCP server: @hyperstar/mcp

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.example as 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.

Available Tools

12 tools
connectif_contact_fieldsD

Direct Connectif API operations for contact_fields. Use action to select an official operation.

Inputs: no named parameters.

connectif_contactsD

Direct Connectif API operations for contacts. Use action to select an official operation.

Inputs: no named parameters.

connectif_coupon_setsC

Direct Connectif API operations for coupon_sets. Use action to select an official operation.

Inputs: no named parameters.

connectif_custom_eventsC

Direct Connectif API operations for custom_events. Use action to select an official operation.

Inputs: no named parameters.

connectif_custom_event_typesD

Direct Connectif API operations for custom_event_types. Use action to select an official operation.

Inputs: no named parameters.

connectif_custom_integrationsC

Direct Connectif API operations for custom_integrations. Use action to select an official operation.

Inputs: no named parameters.

connectif_exportsD

Direct Connectif API operations for exports. Use action to select an official operation.

Inputs: no named parameters.

connectif_importsD

Direct Connectif API operations for imports. Use action to select an official operation.

Inputs: no named parameters.

connectif_productsD

Direct Connectif API operations for products. Use action to select an official operation.

Inputs: no named parameters.

connectif_purchasesC

Direct Connectif API operations for purchases. Use action to select an official operation.

Inputs: no named parameters.

connectif_storeC

Direct Connectif API operations for store. Use action to select an official operation.

Inputs: no named parameters.

connectif_workflowsC

Direct Connectif API operations for workflows. Use action to select an official operation.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.5/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool is clearly scoped to a distinct Connectif resource (contacts, purchases, products, etc.), so there is no overlap in target entities. An agent can easily choose the correct tool based on the resource name.

    Naming Consistency5/5

    All tools follow the exact same pattern of `connectif_<resource>`, with consistent lowercase and underscore separation. This makes the naming perfectly predictable and easy to navigate.

    Tool Count5/5

    The 12 tools cover the primary Connectif resource types (contacts, purchases, products, workflows, etc.) without being excessive. This falls comfortably within the well-scoped range for a domain-specific server.

    Completeness4/5

    The tool set covers core resources like contacts, purchases, products, and workflows, but the generic nature of each tool (requiring an 'action' parameter) obscures detailed operations. Some potentially important resources like campaigns or segments are missing, but the main lifecycle is represented.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Acts as a stdio-to-HTTP proxy for the 1C runtime-MCP service, enabling MCP clients like Claude Desktop to interact with 1C tools.
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Local stdio MCP server for Hyperstar headless workflows, providing tools for creator search, campaign management, bulk email, and inbox operations.
      60
      305 npm
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that exposes HubSpot CRM operations as tools over stdio, enabling any MCP client to query and modify HubSpot data.
      -