tailorkit mcp

Local 2025-09-01 00:50:49 0

Connects AI assistants to the TailorKit API, enabling them to manage customizable product templates for e-commerce platforms through natural language conversations.


TailorKit MCP is a powerful product customization framework for e-commerce that enables merchants to create interactive personalization experiences. Features template management, layer control, and Shopify integration for offering customizable products with minimal development effort.

TailorKit MCP

Overview

This MCP (Model Context Protocol) server connects Claude and other AI assistants to the TailorKit API, enabling them to manage customizable product templates for e-commerce platforms. With TailorKit MCP, AI assistants can create, retrieve, and manipulate product templates and their layers directly through natural language conversations.

Tools

  1. get_list_templates

  2. Get a list of templates with shop domain

  3. Required inputs:
    • shopDomain (string): The shop domain ending with .myshopify.com
  4. Optional inputs:
    • limit (number, default: 5): Maximum number of templates to return
    • page (number, default: 1): Page number for pagination
    • sort (string, default: "updatedAt__desc"): The sort order
    • filter (string): Filter string for template search
  5. Returns: List of templates with their details

  6. get_detail_template

  7. Get detailed information about a specific template

  8. Required inputs:
    • _id (string): The ID of the template
    • shopDomain (string): The shop domain ending with .myshopify.com
  9. Returns: Detailed template information including layers and settings

  10. create_template

  11. Create a new template for a shop

  12. Required inputs:
    • shopDomain (string): The shop domain ending with .myshopify.com
    • name (string, default: "New Template"): Name of the template
    • dimensions (object): Width, height, measurement unit, and resolution
  13. Optional inputs:
    • _id (string, format: uuid): Custom ID for the template
    • layers (array): Initial layers configuration
  14. Returns: Confirmation of template creation with template ID

  15. get_list_layers_of_template

  16. Get all layers for a specific template
  17. Required inputs:
    • _id (string): The ID of the template
    • shopDomain (string): The shop domain ending with .myshopify.com
  18. Returns: List of all layers in the template with their properties

Setup

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "tailorkit-mcp": {
      "command": "node",
      "args": ["path/to/your/dist/index.js"],
      "env": {
        "HOST": "https://your-api-host.com",
        "ACCESS_TOKEN": "your-access-token"
      }
    }
  }
}

Environment Variables

  1. HOST: Required. The host URL for your TailorKit API.
  2. ACCESS_TOKEN: Required. Your TailorKit API access token for authentication.

Access Token

Go to Settings -> Preferences -> Generate access token

TailorKit Access Token

Installation

From npm

npm install @sellersmith/tailorkit-mcp

From GitHub

git clone https://github.com/sellersmith/tailorkit-mcp.git
cd tailorkit-mcp
npm install
npm run build

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run the server locally
node dist/index.js

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.