Labsco
profplum700 logo

Etsy

β˜… 9

from profplum700

A TypeScript-based MCP server for interacting with the Etsy API, featuring a simple notes system.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredAdvanced setup

Etsy MCP Server

This project exposes a subset of the Etsy API through the Model Context Protocol. It allows tools to be called from an MCP client to retrieve shop data and manage listings.

Local Development

These instructions are for running the server directly on your machine for development purposes.

First, install dependencies:

npm install

Then, build the server:

npm run build

You can also use npm run watch to automatically rebuild the server when you make code changes.

Configuration File Location

For local development, place your etsy_mcp_settings.json file in the project root directory (same level as package.json). The server will automatically detect and load it.

Running the Server

After building, start the server with:

npm start

Important: This MCP server communicates over stdio and is designed to be connected to by MCP clients (like Claude Desktop, Cline, or other MCP-compatible applications). When run directly, it will start and wait for MCP protocol messages. To test functionality, use the MCP Inspector (see Debugging section) or connect it to an MCP client.

MCP Client Integration

To use this server with an MCP client, you typically need to:

  1. Claude Desktop: Add the server configuration to your Claude Desktop settings
  2. Cline: Configure the server in your MCP server settings
  3. Other MCP Clients: Refer to your client's documentation for adding MCP servers

The server will be started automatically by the MCP client when needed.

Available tools

getShop

Fetch information about a shop. Required argument: shop_id.

getMe

Return basic info about the authenticated user, including user_id and shop_id. This endpoint takes no arguments.

getListingsByShop

List the listings in a shop. Supports an optional state parameter (e.g. active, draft). Requires shop_id.

createDraftListing

Create a new physical draft listing using POST /v3/application/shops/{shop_id}/listings. The tool accepts all fields supported by Etsy's createDraftListing endpoint.

uploadListingImage

Upload an image to a listing. Requires shop_id, listing_id and image_path. (Implementation is currently a placeholder.)

updateListing

Update an existing listing. Requires shop_id and listing_id. Optional fields include title, description and price.

getShopReceipts

Retrieve receipts for a shop. Requires shop_id.

getShopSections

Retrieve the list of sections in a shop. Requires shop_id.

getShopSection

Retrieve a single shop section by shop_id and shop_section_id.

getSellerTaxonomyNodes

Retrieve the full hierarchy of seller taxonomy nodes.

getPropertiesByTaxonomyId

List product properties supported for a specific taxonomy node. Requires taxonomy_id.

Debugging

Using the MCP Inspector

For debugging and testing the server functionality, use the MCP Inspector with the local development setup:

npm run inspector

The inspector will:

  1. Start a proxy server and web interface
  2. Launch the locally built MCP server
  3. Provide a URL to view communication logs and test tools interactively

Important: The MCP Inspector only works with the local development setup, not with Docker. This is because:

  • Docker containers start and exit quickly when no MCP client connects
  • The inspector needs direct access to the server process
  • Network isolation prevents the inspector from communicating with containerized servers
  1. For Development and Testing: Use local development with the MCP Inspector

    npm run build
    npm run inspector
  2. For Deployment: Use Docker with MCP clients

    docker build -t etsy-mcp-server .
    # Then use with your MCP client

This approach gives you the best of both worlds: interactive debugging locally and reliable deployment with Docker.