KosmoKrator

ecommerce

Etsy MCP Integration for Vercel AI SDK

Connect Etsy to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write Manual OAuth token auth

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

Etsy MCP Config for Vercel AI SDK

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

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Etsy Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Etsy integration catalog.

MCP toolSource functionTypeDescription
integration__etsy__etsy_list_listings etsy.etsy_list_listings Read List all listings in the Etsy shop. Returns paginated results with optional state filtering (active, draft, inactive, expired).
integration__etsy__etsy_get_listing etsy.etsy_get_listing Read Get full details for a specific Etsy listing, including title, description, price, images, and state.
integration__etsy__etsy_create_listing etsy.etsy_create_listing Write Create a new listing in the Etsy shop. Requires a title, description, price, quantity, and shipping profile ID.
integration__etsy__etsy_list_orders etsy.etsy_list_orders Read List orders (receipts) for the Etsy shop. Returns paginated order data including buyer info, items, and totals.
integration__etsy__etsy_get_listing_inventory etsy.etsy_get_listing_inventory Read Get the inventory (products, offerings, and pricing) for a specific Etsy listing.
integration__etsy__etsy_get_current_user etsy.etsy_get_current_user Read Get the profile of the currently authenticated Etsy user, including user ID and primary shop info.

Related Etsy Pages