productivity
Gorgias MCP Integration for Claude Agent SDK
Connect Gorgias to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gorgias to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Gorgias MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |