productivity
Gorgias MCP Integration for LangChain
Connect Gorgias to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Gorgias to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Gorgias MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |