marketing
Zendesk Marketing MCP Integration for LangChain
Connect Zendesk Marketing to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Zendesk Marketing 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.
Zendesk Marketing MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-zend": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=zend",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=zend --write=deny Why Use KosmoKrator Here
Expose only Zendesk Marketing 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.
Zendesk Marketing Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Zendesk Marketing integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__zend__zend_list_campaigns | zend.zend_list_campaigns | Read | List all email marketing campaigns in your Zendesk account. Returns campaign IDs, subjects, and status. |
integration__zend__zend_get_campaign | zend.zend_get_campaign | Read | Get detailed information about a specific email marketing campaign, including subject, content, and delivery stats. |
integration__zend__zend_create_campaign | zend.zend_create_campaign | Write | Create a new email marketing campaign with subject, content, and target lists. |
integration__zend__zend_list_lists | zend.zend_list_lists | Read | List all subscriber lists in your Zendesk account. Returns list IDs and names. |
integration__zend__zend_get_list | zend.zend_get_list | Read | Get detailed information about a specific subscriber list, including subscriber counts and custom fields. |
integration__zend__zend_list_subscribers | zend.zend_list_subscribers | Read | List subscribers on a Zendesk list. Returns email addresses, names, and subscription dates. |
integration__zend__zend_get_subscribers | zend.zend_get_subscribers | Read | Get detailed information about a specific subscriber, including email, name, and subscription status. |
integration__zend__zend_get_current_user | zend.zend_get_current_user | Read | Get the authenticated user's Zendesk account details, including name and email. |