EmailOctopus MCP Integration for OpenAI Agents SDK
Connect EmailOctopus to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect EmailOctopus to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
EmailOctopus MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |