productivity
Gorgias MCP Integration for LangGraph
Connect Gorgias to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gorgias to LangGraph
Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.
Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with
--write=deny so LangGraph can inspect read-capable tools without receiving write access by default.
Gorgias MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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 LangGraph
LangGraph 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. |