communication
Intercom MCP Integration for OpenAI Agents SDK
Connect Intercom to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Intercom 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.
Intercom MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-intercom": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=intercom",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=intercom --write=deny Why Use KosmoKrator Here
Expose only Intercom 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.
Intercom Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Intercom integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__intercom__intercom_list_conversations | intercom.intercom_list_conversations | Read | List Intercom conversations with pagination and sorting. Returns conversation IDs, created dates, and state. Use limit, starting_after, and sort_order for pagination and ordering. |
integration__intercom__intercom_get_conversation | intercom.intercom_get_conversation | Read | Retrieve an Intercom conversation by its ID. Returns the full conversation including message parts, contacts, and metadata. |
integration__intercom__intercom_create_conversation | intercom.intercom_create_conversation | Write | Create a new conversation in Intercom. Requires a user_id (Intercom contact ID) and a message body. Returns the created conversation with its ID. |
integration__intercom__intercom_list_contacts | intercom.intercom_list_contacts | Read | List Intercom contacts with pagination. Returns contact IDs, emails, names, and roles. Use limit and starting_after for pagination. |
integration__intercom__intercom_get_contact | intercom.intercom_get_contact | Read | Retrieve an Intercom contact by its ID. Returns the contact's ID, email, name, phone, role, and custom attributes. |
integration__intercom__intercom_list_companies | intercom.intercom_list_companies | Read | List Intercom companies with pagination. Returns company IDs, names, and employee counts. Use limit and starting_after for pagination. |
integration__intercom__intercom_get_current_user | intercom.intercom_get_current_user | Read | Retrieve the currently authenticated Intercom admin user. Returns the admin's ID, name, email, and avatar. Useful for identifying which workspace or token is in use. |