KosmoKrator

ecommerce

Etsy MCP Integration for LangGraph

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

Etsy MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

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

LangGraph 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