communication
Front MCP Integration for LangGraph
Connect Front to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Front 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.
Front MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"mcpServers": {
"kosmokrator-front": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=front",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=front --write=deny Why Use KosmoKrator Here
Expose only Front 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.
Front Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Front integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__front__front_get_contact | front.front_get_contact | Read | Get details of a specific Front contact by ID, including name, emails, phone numbers, and custom fields. |
integration__front__front_get_conversation | front.front_get_conversation | Read | Get details of a specific Front conversation by ID, including subject, participants, status, tags, and metadata. |
integration__front__front_get_current_user | front.front_get_current_user | Read | Get the profile of the currently authenticated Front user. Returns name, email, and account details. |
integration__front__front_list_contacts | front.front_list_contacts | Read | List and search contacts in Front. Search by name, email, or other identifiers. Returns paginated contact details. |
integration__front__front_list_conversations | front.front_list_conversations | Read | List and search conversations in Front. Filter by status or search by keyword. Returns paginated results with conversation IDs, subjects, and metadata. |
integration__front__front_list_messages | front.front_list_messages | Read | List all messages in a Front conversation. Returns paginated message details including sender, body, and timestamps. |
integration__front__front_send_message | front.front_send_message | Write | Send a reply message to an existing Front conversation. Supports HTML and plain-text bodies, and explicit TO/CC recipients. |