productivity
Gorgias MCP Integration for OpenAI Agents SDK
Connect Gorgias to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gorgias 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.
Gorgias MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-gorgias": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=gorgias",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=gorgias --write=deny Why Use KosmoKrator Here
Expose only Gorgias 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.
Gorgias Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Gorgias integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__gorgias__gorgias_list_tickets | gorgias.gorgias_list_tickets | Read | List and search support tickets in Gorgias. Filter by status or search by keyword. Returns paginated results with ticket IDs, subjects, and metadata. |
integration__gorgias__gorgias_get_ticket | gorgias.gorgias_get_ticket | Read | Get details of a specific Gorgias ticket by ID, including subject, body, status, assignee, and customer information. |
integration__gorgias__gorgias_create_ticket | gorgias.gorgias_create_ticket | Write | Create a new support ticket in Gorgias with a subject and body. Optionally specify sender, recipient, channel, and priority. |
integration__gorgias__gorgias_list_customers | gorgias.gorgias_list_customers | Read | List and search customers in Gorgias. Filter by search query covering name, email, and other fields. Returns paginated results. |
integration__gorgias__gorgias_get_customer | gorgias.gorgias_get_customer | Read | Get details of a specific Gorgias customer by ID, including name, email, and custom fields. |
integration__gorgias__gorgias_list_satisfaction_surveys | gorgias.gorgias_list_satisfaction_surveys | Read | List satisfaction survey responses in Gorgias. Optionally filter by ticket ID. Returns paginated results with ratings and feedback. |
integration__gorgias__gorgias_get_current_user | gorgias.gorgias_get_current_user | Read | Get the profile of the currently authenticated Gorgias user. Returns name, email, and account details. |