ecommerce
Etsy MCP Integration for LangChain
Connect Etsy to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Etsy 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.
Etsy MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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
Expose only Etsy instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Etsy Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Etsy integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |