support
Freshchat MCP Integration for OpenAI Agents SDK
Connect Freshchat to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Freshchat 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.
Freshchat MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-freshchat": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=freshchat",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=freshchat --write=deny Why Use KosmoKrator Here
Expose only Freshchat 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.
Freshchat Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Freshchat integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__freshchat__freshchat_list_conversations | freshchat.freshchat_list_conversations | Read | List support conversations from Freshchat. Returns paginated results with optional filters for status and inbox. Use this to find recent or unresolved conversations. |
integration__freshchat__freshchat_get_conversation | freshchat.freshchat_get_conversation | Read | Get full details of a specific Freshchat conversation by ID, including messages, participants, and metadata. |
integration__freshchat__freshchat_create_conversation | freshchat.freshchat_create_conversation | Write | Create a new Freshchat conversation. Specify the user ID, an initial message, and optionally a channel ID. The conversation will be started with the provided message. |
integration__freshchat__freshchat_list_agents | freshchat.freshchat_list_agents | Read | List support agents in Freshchat. Returns paginated results with agent details such as name, email, and availability status. |
integration__freshchat__freshchat_get_agent | freshchat.freshchat_get_agent | Read | Get details of a specific Freshchat agent by ID, including name, email, availability, and assigned conversations. |
integration__freshchat__freshchat_list_groups | freshchat.freshchat_list_groups | Read | List support groups (teams) in Freshchat. Groups organize agents into teams for routing conversations. |
integration__freshchat__freshchat_get_current_user | freshchat.freshchat_get_current_user | Read | Get the profile of the currently authenticated Freshchat user. Useful for verifying credentials and identifying the connected account. |