ST

sellersmith/tailorkit-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6 stars 3 forks 质量 54 趋势 14

TailorKit MCP is a powerful product customization framework for e-commerce that enables merchants to create interactive personalization experiences.

概览

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. 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. - Get a list of templates with shop domain - Required inputs: - shopDomain (string): The shop domain ending with .myshopify.

README

以下为原文 README 节选,完整内容请查看原文。

TailorKit MCP

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.

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

    • Get a list of templates with shop domain
    • Required inputs:
      • shopDomain (string): The shop domain ending with .myshopify.com
    • 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
    • Returns: List of templates with their details
  2. get_detail_template

    • Get detailed information about a specific template
    • Required inputs:
      • _id (string): The ID of the template
      • shopDomain (string): The shop domain ending with .myshopify.com
    • Returns: Detailed template information including layers and settings
  3. create_template

    • Create a new template for a shop
    • Required inputs:
      • shopDomain (string): The shop domain ending with .myshopify.com
      • name (string, default: “New Template”): Name of the template
      • dimension (object): Width, height, measurement unit, and resolution
    • Optional inputs:
      • _id (string, format: uuid): Custom ID for the template
      • layers (array): Initial layers configuration
    • Returns: Confirmation of template creation with template ID
  4. get_list_layers_of_template

    • Get all layers for a specific template
    • Required inputs:
      • _id (string): The ID of the template
      • shopDomain (string): The shop domain ending with .myshopify.com
    • 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

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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