Skip to main content
Glama

@artisanxl/etsy-mcp

npm CI License: MIT

MCP server for the Etsy Open API v3.

Quick start

  1. Create an app at https://www.etsy.com/developers/your-apps and note its keystring (ETSY_API_KEY) and shared secret (ETSY_SHARED_SECRET).

  2. Add the server to your MCP client:

{
  "mcpServers": {
    "etsy": {
      "command": "npx",
      "args": ["-y", "@artisanxl/etsy-mcp"],
      "env": {
        "ETSY_API_KEY": "your-keystring",
        "ETSY_SHARED_SECRET": "your-shared-secret"
      }
    }
  }
}

Claude Code:

claude mcp add etsy -e ETSY_API_KEY=your-keystring -e ETSY_SHARED_SECRET=your-shared-secret -- npx -y @artisanxl/etsy-mcp

That is enough for public data (listings, shops, taxonomy, reviews). For your own shop's data (receipts, inventory, ...) run login once. To let the agent change your shop, set ETSY_ALLOW_WRITES=true.

Upgrading from 0.1.x? See the CHANGELOG for renamed Tools and removed settings.

Related MCP server: Etsy MCP Server

Environment variables

Variable

Required

Default

Purpose

ETSY_API_KEY

yes

Your Etsy app keystring. Also the OAuth client_id for login.

ETSY_SHARED_SECRET

yes (server)

Your Etsy app shared secret. Every request sends x-api-key: keystring:shared_secret. login does not need it.

ETSY_TOOLSETS

no

all Toolsets

Comma-separated Toolsets to offer. An unknown or empty value fails at startup.

ETSY_ALLOW_WRITES

no

false

true offers Write Tools; anything other than true/false fails at startup.

ETSY_REFRESH_TOKEN

no

Seeds the token file for headless use, see Authentication.

ETSY_REDIRECT_PORT

no

3003

Port of the login callback (http://localhost:<port>/callback). Only login reads it.

ETSY_ACCESS_TOKEN

removed

No longer supported; if set, a warning is printed to stderr and it is ignored.

The server does not load .env files; set variables in your MCP client's env block or your shell. .env.example lists all of them.

Tools

One Tool per Etsy Open API v3 Operation (107), named as the snake_case operationId (e.g. get_listing, get_listings_by_shop) and generated from the Etsy spec committed in spec/. Input schemas (enums, bounds, required/optional, arrays) come from the spec; path, query and body fields form one flat input set. Array query and form-urlencoded body values are sent comma-joined (e.g. listing_ids=1,2,3, tags=blue,mug); JSON bodies (e.g. update_listing_inventory) are sent as real JSON with nested objects and arrays. Successful responses are returned as the raw JSON text; non-2xx responses are Tool errors with the HTTP status and body. limit/offset are passed through as-is, there is no auto-pagination.

Toolsets

Every Tool belongs to exactly one Toolset. Set ETSY_TOOLSETS (e.g. ETSY_TOOLSETS=listings,orders) to offer only those; unset offers all.

Toolset

Tools

Etsy tags

listings

41

all ShopListing*

shop

20

Shop, Shop Section, Shop Return Policy, Shop ProductionPartner, Shop Economic Operators

shipping

21

Shop ShippingProfile, Shop ProcessingProfiles, Shop HolidayPreferences

orders

13

Shop Receipt, Shop Receipt Transactions, Payment, Ledger Entry

reviews

2

Review

taxonomy

4

BuyerTaxonomy, SellerTaxonomy

users

4

User, UserAddress

other

2

Other

Read-only Mode and Write Tools

By default the server is in Read-only Mode: only the 64 GET Tools plus token_scopes (a POST that changes nothing) are offered, 65 in total. Set ETSY_ALLOW_WRITES=true to also offer the 42 Write Tools (every other POST, PUT, PATCH and DELETE Operation).

Every Tool carries MCP annotations: openWorldHint: true on all; readOnlyHint: true on GETs and token_scopes; for Write Tools readOnlyHint: false, destructiveHint: true only for DELETE, and idempotentHint: true for PUT and DELETE.

File uploads

upload_listing_image (image), upload_listing_file (file) and upload_listing_video (video) take an absolute local file path in that field (relative paths and ~ are rejected). The server reads the file and sends it as multipart with the original filename. The field stays optional where the Etsy spec says so (e.g. upload_listing_image with only listing_image_id reads no file). A missing or unreadable path returns a Tool error and no request is sent to Etsy. These are Write Tools, so they need ETSY_ALLOW_WRITES=true. Security: with writes enabled the agent can upload any file the server process can read (for example ~/.config/etsy-mcp/tokens.json), so only enable writes for agents you trust with that access.

Rate limits

A 429 response is retried up to 3 times per Tool call, waiting the Retry-After value (default 1s if absent; a Retry-After of at most 60s is waited, a longer one is not retried, see below); after that the 429 is returned as a Tool error. A 429 is treated as daily-quota exhaustion and returned immediately without retrying when it carries x-remaining-today: 0 or a Retry-After longer than 60s; the error then says retrying will not help. Cancelling the MCP request aborts the wait and stops retrying.

Authentication

Public Operations (31 of 107) need only ETSY_API_KEY and ETSY_SHARED_SECRET; they never touch an OAuth token. The 76 Operations that require OAuth (e.g. get_shop_receipts) send Authorization: Bearer <access token>.

Login

Etsy app setup: in your app's settings on Etsy, register the redirect URI http://localhost:3003/callback (or http://localhost:<port>/callback if you set ETSY_REDIRECT_PORT). It must match exactly.

Then run ETSY_API_KEY=your-keystring npx @artisanxl/etsy-mcp login once to authorize in your browser. It uses OAuth 2.0 Authorization Code with PKCE (S256) and a state check, and saves the tokens below. If the browser cannot be opened, the authorize URL is printed to stderr. By default it requests every scope used by any Operation (address_r, email_r, listings_d, listings_r, listings_w, shops_r, shops_w, transactions_r, transactions_w); narrow it with --scopes (unknown scope names are rejected), e.g. login --scopes listings_r,shops_r. Running etsy-mcp with no subcommand starts the MCP server.

Tokens

Tokens live in ~/.config/etsy-mcp/tokens.json ({access_token, refresh_token, expires_at, seed_sha256?}, expires_at in epoch milliseconds; mode 0600). The server refreshes the access token 60 seconds before it expires and once after a 401, and always saves the new token pair (Etsy may rotate refresh tokens).

For headless use (CI, containers) set ETSY_REFRESH_TOKEN instead of running login: it seeds the token file only when the file is absent, or when the file was itself seeded from a different ETSY_REFRESH_TOKEN value. A file without seed_sha256 (for example one written by login) always wins over the environment value and is then marked as seeded. The file records a SHA-256 of the seeded value (seed_sha256, never the raw token), so a rotated refresh token is not overwritten by the stale environment value on restart; to re-seed an already-seeded file, set a new ETSY_REFRESH_TOKEN value.

If an Operation needs OAuth and no token is available, the Tool returns an error telling you to run npx @artisanxl/etsy-mcp login; a 403 adds a hint to re-run login with the needed scopes.

Maintaining the spec

Regenerate the Tools offline from the Spec Snapshot with npm run gen:local; npm run gen first downloads the latest Etsy spec into the Snapshot, then runs gen:local. Generated output is committed and CI fails if gen:local changes it. A weekly GitHub Action (spec-refresh) runs npm run gen and opens a PR when anything changed (and closes it again if the snapshot is back in sync). Without a SPEC_REFRESH_TOKEN secret (a PAT) it uses GITHUB_TOKEN: the repo setting "Allow GitHub Actions to create and approve pull requests" must be enabled, and refresh PRs won't trigger CI. See ADR 0001.

Development

npm install
npm run typecheck
npm test
npm run build

Releases are published to npm automatically via trusted publishing (OIDC, with provenance) when a GitHub Release is published.

See CONTRIBUTING.md and SECURITY.md.

License

MIT

Available Tools

65 tools
find_all_active_listings_by_shopC
Read-only

Retrieves a list of all active listings on Etsy in a specific shop, paginated by listing creation date.

Inputs: shop_id (required), limit, offset, sort_on, +2 more.

find_all_listings_activeB
Read-only

A list of all active listings on Etsy paginated by their creation date. Without sort_order listings will be returned newest-first by default.

Inputs: limit, offset, is_safe, sort_on, +8 more.

find_shopsB
Read-only

Open API V3 endpoint for searching shops by name. Note: We make every effort to ensure that frozen or removed shops are not included in the search results. However, rarely, due to timing issues, they may appear.

Inputs: shop_name (required), limit, offset.

get_all_listing_filesA
Read-only

Retrieves all the files associated with the given digital listing. Requesting files from a physical listing returns an empty result.

Inputs: shop_id (required), listing_id (required).

get_buyer_taxonomy_nodesB
Read-only

Retrieves the full hierarchy tree of buyer taxonomy nodes.

Inputs: no named parameters.

get_holiday_preferencesB
Read-only

Retrieves a list of holidays that are available to a shop to set a preference for. Currently only supported in the US and CA

Inputs: shop_id (required).

get_listingC
Read-only

Retrieves a listing record by listing ID. Inactive, draft, and expired listings are visible only to the listing's owner, using an access token with the listings_r scope.

Inputs: listing_id (required), includes, language, allow_suggested_title.

get_listing_fileB
Read-only

Retrieves a single file associated with the given digital listing. Requesting a file from a physical listing returns an empty result.

Inputs: shop_id (required), listing_id (required), listing_file_id (required).

get_listing_imageC
Read-only

Retrieves the references and metadata for a listing image with a specific image ID.

Inputs: listing_id (required), listing_image_id (required).

get_listing_imagesC
Read-only

Retrieves all listing image resources for a listing with a specific listing ID.

Inputs: listing_id (required).

get_listing_inventoryB
Read-only

Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. Only the owner of the listing may retrieve its inventory record.

Inputs: listing_id (required), includes, show_deleted.

get_listing_personalizationC
Read-only

Retrieves a listing's personalization questions by listing ID.

Inputs: listing_id (required).

get_listing_productC
Read-only

Open API V3 endpoint to retrieve a ListingProduct by ID.

Inputs: listing_id (required), product_id (required), legacy.

get_listing_propertiesC
Read-only

Get a listing's properties

Inputs: shop_id (required), listing_id (required).

get_listing_propertyC
Read-only

Retrieves a listing's property

Inputs: listing_id (required), property_id (required).

get_listings_by_listing_idsA
Read-only

Allows to query multiple listing ids at once. Limit 100 ids maximum per query. Inactive, draft, and expired listings are returned only to the listing's owner, using an access token with the listings_r scope, and are omitted from the results for everyone else.

Inputs: listing_ids (required), legacy, currency, includes, +1 more.

get_listings_by_shopC
Read-only

Endpoint to list Listings that belong to a Shop. Listings can be filtered using the 'state' param.

Inputs: shop_id (required), limit, state, offset, +3 more.

get_listings_by_shop_receiptC
Read-only

Gets all listings associated with a receipt.

Inputs: shop_id (required), receipt_id (required), limit, legacy, +1 more.

get_listings_by_shop_return_policyC
Read-only

Gets all listings associated with a Return Policy.

Inputs: shop_id (required), return_policy_id (required), legacy.

get_listings_by_shop_section_idC
Read-only

Retrieves all the listings from the section of a specific shop.

Inputs: shop_id (required), shop_section_ids (required), limit, legacy, +3 more.

get_listings_inventory_by_listing_idsA
Read-only

Retrieves the inventory record for each listing referenced by listing ID. Requires the listings_r OAuth scope. Limit 100 listing IDs per request. All requested listing IDs must exist — if any single ID is not found, the entire request returns a 404. SKUs within product records are only returned for listings owned by the authenticated user; they are stripped (returned as empty string) for listings owned by other sellers.

Inputs: listing_ids (required).

get_listings_shipping_by_listing_idsA
Read-only

Retrieves the shipping profile for each listing referenced by listing ID. Requires the shops_r OAuth scope. Limit 100 listing IDs per request. All requested listing IDs must exist — if any single ID is not found, the entire request returns a 404. Shipping profile data (including shipping_profile_id) is only returned for listings owned by the authenticated user; it is nulled out for listings owned by other sellers.

Inputs: listing_ids (required).

get_listing_translationC
Read-only

Get a Translation for a Listing in the given language

Inputs: shop_id (required), language (required), listing_id (required).

get_listing_variation_imagesC
Read-only

Gets all variation images on a listing.

Inputs: shop_id (required), listing_id (required).

get_listing_videoC
Read-only

Retrieves a single video associated with the given listing. Requesting a video from a listing returns an empty result.

Inputs: video_id (required), listing_id (required).

get_listing_videosC
Read-only

Retrieves all listing video resources for a listing with a specific listing ID.

Inputs: listing_id (required).

get_meC
Read-only

Returns basic info for the user making the request.

Inputs: no named parameters.

get_payment_account_ledger_entry_paymentsC
Read-only

Get a Payment from a PaymentAccount Ledger Entry ID, if applicable

Inputs: shop_id (required), ledger_entry_ids (required).

get_paymentsC
Read-only

Retrieves a list of payments from a shop identified by shop_id. You can also filter results using a list of payment IDs.

Inputs: shop_id (required), payment_ids (required).

get_properties_by_buyer_taxonomy_idC
Read-only

Retrieves a list of product properties, with applicable scales and values, supported for a specific buyer taxonomy ID.

Inputs: taxonomy_id (required).

get_properties_by_taxonomy_idC
Read-only

Retrieves a list of product properties, with applicable scales and values, supported for a specific seller taxonomy ID.

Inputs: taxonomy_id (required), supports_attributes, supports_variations.

get_reviews_by_listingC
Read-only

Open API V3 to retrieve the reviews for a listing given its ID.

Inputs: listing_id (required), limit, offset, max_created, +1 more.

get_reviews_by_shopC
Read-only

Open API V3 to retrieve the reviews from a shop given its ID.

Inputs: shop_id (required), limit, offset, max_created, +1 more.

get_seller_taxonomy_nodesC
Read-only

Retrieves the full hierarchy tree of seller taxonomy nodes.

Inputs: no named parameters.

get_shipping_carriersA
Read-only

Retrieves a list of available shipping carriers and the mail classes associated with them for a given country

Inputs: origin_country_iso (required).

get_shopC
Read-only

Retrieves the shop identified by a specific shop ID.

Inputs: shop_id (required).

get_shop_by_owner_user_idC
Read-only

Retrieves the shop identified by the shop owner's user ID.

Inputs: user_id (required).

get_shop_economic_operatorA
Read-only

Retrieves a single economic operator, referenced by economic operator ID and shop ID. Returns 404 if the operator does not exist in the shop or has been deleted. See the GPSR Economic Operators Tutorial for the full guide.

Inputs: shop_id (required), economic_operator_id (required).

get_shop_economic_operatorsA
Read-only

Retrieves all economic operators (manufacturer and EU responsible person records) of a specific shop, used for GPSR compliance on listings. Deleted operators are not included. Use the economic_operator_id of an entry as gpsr_manufacturer_id or gpsr_responsible_person_id on a listing. See the GPSR Economic Operators Tutorial for the full guide.

Inputs: shop_id (required).

get_shop_payment_account_ledger_entriesC
Read-only

Get a Shop Payment Account Ledger's Entries

Inputs: shop_id (required), max_created (required), min_created (required), limit, +1 more.

get_shop_payment_account_ledger_entryC
Read-only

Get a single Shop Payment Account Ledger's Entry

Inputs: shop_id (required), ledger_entry_id (required).

get_shop_payment_by_receipt_idC
Read-only

Retrieves a payment from a specific receipt, identified by receipt_id, from a specific shop, identified by shop_id

Inputs: shop_id (required), receipt_id (required).

get_shop_production_partnersB
Read-only

Retrieves a list of production partners available in the specific Etsy shop identified by its shop ID.

Inputs: shop_id (required).

get_shop_readiness_state_definitionC
Read-only

Retrieves a ProcessingProfile referenced by readiness state definition ID.

Inputs: shop_id (required), readiness_state_definition_id (required).

get_shop_readiness_state_definitionsC
Read-only

Retrieves a list of ProcessingProfiles available in the specific Etsy shop identified by its shop ID.

Inputs: shop_id (required), limit, offset.

get_shop_receiptB
Read-only

Retrieves a receipt, identified by a receipt id, from an Etsy shop. NOTE Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy

Inputs: shop_id (required), receipt_id (required), legacy.

get_shop_receiptsB
Read-only

Requests the Shop Receipts from a specific Shop, unfiltered or filtered by receipt id range or offset, date, paid, and/or shipped purchases. NOTE Access to ShopReceipt's first_line, second_line, city, state, zip, country_iso and formatted_address is contingent in some regions to a preferred partnership status with Etsy

Inputs: shop_id (required), limit, legacy, offset, +10 more.

get_shop_receipt_transactionC
Read-only

Retrieves a transaction by transaction ID.

Inputs: shop_id (required), transaction_id (required).

get_shop_receipt_transactions_by_listingC
Read-only

Retrieves the list of transactions associated with a listing.

Inputs: shop_id (required), listing_id (required), limit, legacy, +1 more.

get_shop_receipt_transactions_by_receiptC
Read-only

Retrieves the list of transactions associated with a specific receipt.

Inputs: shop_id (required), receipt_id (required), legacy.

get_shop_receipt_transactions_by_shopC
Read-only

Retrieves the list of transactions associated with a shop.

Inputs: shop_id (required), limit, legacy, offset.

get_shop_return_policiesC
Read-only

Returns a shop's list of existing Return Policies

Inputs: shop_id (required).

get_shop_return_policyC
Read-only

Retrieves an existing Return Policy.

Inputs: shop_id (required), return_policy_id (required).

get_shop_sectionC
Read-only

Retrieves a shop section, referenced by section ID and shop ID.

Inputs: shop_id (required), shop_section_id (required).

get_shop_sectionsC
Read-only

Retrieves the list of shop sections in a specific shop identified by shop ID.

Inputs: shop_id (required).

get_shop_shipping_profileC
Read-only

Retrieves a Shipping Profile referenced by shipping profile ID.

Inputs: shop_id (required), shipping_profile_id (required).

get_shop_shipping_profile_destinations_by_shipping_profileC
Read-only

Retrieves a list of shipping destination objects associated with a shipping profile.

Inputs: shop_id (required), shipping_profile_id (required), limit, offset.

get_shop_shipping_profilesC
Read-only

Retrieves a list of shipping profiles available in the specific Etsy shop identified by its shop ID.

Inputs: shop_id (required).

get_shop_shipping_profile_upgradesC
Read-only

Retrieves the list of shipping profile upgrades assigned to a specific shipping profile.

Inputs: shop_id (required), shipping_profile_id (required).

get_userA
Read-only

Retrieves a user profile based on a unique user ID. Access is limited to profiles of the authenticated user or linked buyers. For the primary_email field, specific app-based permissions are required and granted case-by-case.

Inputs: user_id (required).

get_user_addressC
Read-only

Open API V3 endpoint to retrieve a UserAddress for a User.

Inputs: user_address_id (required).

get_user_addressesC
Read-only

Open API V3 endpoint to retrieve UserAddresses for a User.

Inputs: limit, offset.

pingB
Read-only

Check to confirm connectivity to the Etsy API with an application

Inputs: no named parameters.

token_scopesC
Read-only

Check the scopes of the provided token

Inputs: token (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 65 tools

    Disambiguation3/5

    Most tools target distinct resources, but there are genuine overlaps: find_all_active_listings_by_shop, find_all_listings_active, and get_listings_by_shop all retrieve shop listings; get_listing_property (a 501 stub) sits beside get_listing_properties; and get_all_listing_files vs get_listing_file blur together. The singular/plural pairs (e.g. get_listing_image vs get_listing_images) are mostly distinguishable via descriptions but easy to misselect.

    Naming Consistency4/5

    The overwhelming majority use a consistent get_<resource> snake_case pattern, with standard singular/plural conventions (get_shop_receipt vs get_shop_receipts). Minor deviations are the find_* verbs used for essentially the same listing-lookup action and the two verb-less names token_scopes and ping.

    Tool Count2/5

    65 tools is far above a comfortable range and reflects a near 1:1 dump of the GET endpoints of the Etsy Open API. The sheer surface makes tool selection costly, with many narrow, rarely-needed lookups (production partners, readiness state definitions, economic operators) padding the set.

    Completeness2/5

    The surface is entirely read-only — no create/update/delete for listings, inventory, shipping profiles, or policies — so an agent cannot actually manage a shop, only inspect it. It is also missing obvious read domains (conversations/messages, listing creation drafts), leaving significant lifecycle gaps.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search for products, retrieve listing details, get shop information, discover trending items, and access reviews on Etsy through the Etsy API v3.
      7
      21
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides full access to the Etsy Open API v3 for both buyer browsing and seller shop management through 37 specialized tools. It enables users to manage listings, process orders, handle shipping, and access inventory data via secure OAuth 2.0 authentication.
      41
      13
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects Claude to the Etsy Open API v3 to search and manage listings, set required category attributes, update prices via the correct endpoint, upload images and digital files, and publish or delete listings as callable tools.
      2
      MIT