vienle90/etsy-mcp-server
If you are the rightful owner of etsy-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for Etsy API integration, built with Node.js and TypeScript.
Etsy MCP Server
A Model Context Protocol (MCP) server for Etsy API integration, built with Node.js and TypeScript. This server provides a standardized way for Claude Desktop to programmatically manage Etsy listings without using the web interface.
Features
- OAuth 2.0 authentication with Etsy API
- Create draft listings
- Upload images to listings
- Get taxonomy information (categories)
- Compatible with Claude Desktop through the Model Context Protocol
Prerequisites
- Node.js 16+
- Yarn package manager
- Etsy Developer account with API key
- Etsy Shop
- Claude Desktop
Setup
- Clone the repository
git clone https://github.com/yourusername/etsy-mcp-server.git
cd etsy-mcp-server
- Install dependencies
yarn install
- Create a
.env
file based on.env.example
and fill in your Etsy API credentials
# Etsy API credentials
ETSY_API_KEY=your_api_key_here # This is also your Client ID
ETSY_CLIENT_SECRET=your_client_secret_here
ETSY_SHOP_ID=your_shop_id_here
# OAuth settings
ETSY_REDIRECT_URI=http://localhost:3000/callback
ETSY_SCOPES=listings_r listings_w shops_r
# Server configuration
PORT=3000
- Build the project
yarn build
- Start the server
yarn start
The server will be available at http://localhost:3000
.
- Authenticate with Etsy
Visit http://localhost:3000
in your browser and click the authentication link. After successful authentication, your tokens will be saved.
- Find your Etsy shop ID
yarn find:shop-id
Update your .env
file with the shop ID displayed.
Connecting to Claude Desktop
- Make sure the MCP server is running (
yarn start
) - Open Claude Desktop
- Click on "Settings" > "MCP Servers" > "Add New Server"
- Enter the following information:
- Name: Etsy MCP Server
- URL: http://localhost:3000/mcp
- Click "Add Server"
- Claude will automatically discover the available tools
Using the MCP Server with Claude Desktop
Once connected, you can ask Claude to perform actions like:
- "Create a new Etsy listing for a handmade ceramic mug"
- "Upload an image to my Etsy listing"
- "Show me the available Etsy categories"
Claude will use the MCP server to perform these actions through the Etsy API.
Available MCP Tools
createDraftListing
- Create a draft listing on EtsyuploadListingImage
- Upload an image to a listinggetTaxonomies
- Get all listing taxonomies
Development
Build the project:
yarn build
Run in development mode with auto-reload:
yarn dev
Project Structure
etsy-mcp-server/
āāā src/
ā āāā api/ # Etsy API client
ā āāā auth/ # OAuth authentication
ā āāā config/ # Configuration
ā āāā models/ # TypeScript interfaces
ā āāā tools/ # MCP tools implementation
ā āāā config.ts # Configuration loader
ā āāā index.ts # Main entry point
ā āāā mcp-server.ts # MCP server implementation
āāā .env.example # Example environment variables
āāā package.json # Project dependencies
āāā tsconfig.json # TypeScript configuration
License
MIT