EmailOctopus MCP Integration for LangGraph
Connect EmailOctopus to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect EmailOctopus to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
EmailOctopus MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-email-octopus": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=email-octopus",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=email-octopus --write=deny Why Use KosmoKrator Here
Expose only EmailOctopus 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.
EmailOctopus Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the EmailOctopus integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__email_octopus__emailoctopus_list_contacts | email-octopus.emailoctopus_list_contacts | Read | List contacts in an EmailOctopus mailing list. Returns contact email addresses, statuses, and pagination cursors. |
integration__email_octopus__emailoctopus_get_contact | email-octopus.emailoctopus_get_contact | Read | Get details of a specific contact in an EmailOctopus mailing list, including email address, status, and custom fields. |
integration__email_octopus__emailoctopus_create_contact | email-octopus.emailoctopus_create_contact | Write | Add a new contact to an EmailOctopus mailing list. Requires an email address. |
integration__email_octopus__emailoctopus_list_campaigns | email-octopus.emailoctopus_list_campaigns | Read | List all email campaigns in your EmailOctopus account, including their status, subject, and send dates. |
integration__email_octopus__emailoctopus_get_campaign | email-octopus.emailoctopus_get_campaign | Read | Get details of a specific EmailOctopus campaign, including status, subject, content, and delivery statistics. |
integration__email_octopus__emailoctopus_get_current_user | email-octopus.emailoctopus_get_current_user | Read | Get the authenticated EmailOctopus account details, including name and email address. |