KosmoKrator

productivity

Sellfy MCP Integration for LangChain

Connect Sellfy to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

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

Sellfy MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-sellfy": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=sellfy",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=sellfy --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Sellfy 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.

Sellfy Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Sellfy integration catalog.

MCP toolSource functionTypeDescription
integration__sellfy__sellfy_list_products sellfy.sellfy_list_products Read List all products in your Sellfy store. Returns product names, prices, and status.
integration__sellfy__sellfy_get_product sellfy.sellfy_get_product Read Get details for a specific Sellfy product by ID. Returns full product information including pricing, description, and status.
integration__sellfy__sellfy_create_product sellfy.sellfy_create_product Write Create a new product in your Sellfy store. Supports digital products, subscriptions, and physical goods.
integration__sellfy__sellfy_list_orders sellfy.sellfy_list_orders Read List all orders in your Sellfy store. Returns order details including status, totals, and customer info.
integration__sellfy__sellfy_get_order sellfy.sellfy_get_order Read Get details for a specific Sellfy order by ID. Returns full order information including line items, totals, and customer data.
integration__sellfy__sellfy_list_customers sellfy.sellfy_list_customers Read List all customers in your Sellfy store. Returns customer names, emails, and purchase history.
integration__sellfy__sellfy_get_current_user sellfy.sellfy_get_current_user Read Get the currently authenticated Sellfy user profile. Useful for verifying API credentials and viewing account info.

Related Sellfy Pages