KosmoKrator

communication

Front MCP Integration for Claude Agent SDK

Connect Front to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Front 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.

Front MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Front instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Front Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Front integration catalog.

MCP toolSource functionTypeDescription
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.

Related Front Pages