KosmoKrator

productivity

Sellfy MCP Integration for Vercel AI SDK

Connect Sellfy to Vercel AI SDK 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 Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Sellfy MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

{
  "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 Vercel AI SDK

Vercel AI SDK 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