Constant Contact MCP Integration for LangChain
Connect Constant Contact to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Constant Contact to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Constant Contact MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-constant_contact": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=constant_contact",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=constant_contact --write=deny Why Use KosmoKrator Here
Expose only Constant Contact instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Constant Contact Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Constant Contact integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__constant_contact__constantcontact_list_contacts | constant_contact.constantcontact_list_contacts | Read | List contacts from Constant Contact. Supports pagination and filtering by status (active, unconfirmed, opted_out, non_subscriber). |
integration__constant_contact__constantcontact_get_contact | constant_contact.constantcontact_get_contact | Read | Get detailed information for a single Constant Contact contact by ID, including email, name, phone, address, and list memberships. |
integration__constant_contact__constantcontact_create_contact | constant_contact.constantcontact_create_contact | Write | Create a new contact in Constant Contact. Requires an email address. Optionally set first name, last name, and assign to lists. |
integration__constant_contact__constantcontact_list_campaigns | constant_contact.constantcontact_list_campaigns | Read | List email campaigns from Constant Contact. Supports cursor-based pagination. |
integration__constant_contact__constantcontact_list_lists | constant_contact.constantcontact_list_lists | Read | List all contact lists in Constant Contact. Returns list IDs, names, and membership counts. Use list IDs when creating contacts. |
integration__constant_contact__constantcontact_get_current_user | constant_contact.constantcontact_get_current_user | Read | Get the authenticated user's Constant Contact account information, including name, email, and organization details. |