communication
Front MCP Integration for OpenAI Agents SDK
Connect Front to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Front 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.
Front MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-front": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=front",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=front --write=deny Why Use KosmoKrator Here
Expose only Front 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.
Front Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Front integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__front__front_get_contact | front.front_get_contact | Read | Get details of a specific Front contact by ID, including name, emails, phone numbers, and custom fields. |
integration__front__front_get_conversation | front.front_get_conversation | Read | Get details of a specific Front conversation by ID, including subject, participants, status, tags, and metadata. |
integration__front__front_get_current_user | front.front_get_current_user | Read | Get the profile of the currently authenticated Front user. Returns name, email, and account details. |
integration__front__front_list_contacts | front.front_list_contacts | Read | List and search contacts in Front. Search by name, email, or other identifiers. Returns paginated contact details. |
integration__front__front_list_conversations | front.front_list_conversations | Read | List and search conversations in Front. Filter by status or search by keyword. Returns paginated results with conversation IDs, subjects, and metadata. |
integration__front__front_list_messages | front.front_list_messages | Read | List all messages in a Front conversation. Returns paginated message details including sender, body, and timestamps. |
integration__front__front_send_message | front.front_send_message | Write | Send a reply message to an existing Front conversation. Supports HTML and plain-text bodies, and explicit TO/CC recipients. |