나는 Shopify와 Stripe 쓰기 작업을 위한 MCP 서버를 구축했다 — 아무도 메우지 못한 격차

발행: (2026년 3월 18일 AM 10:44 GMT+9)
4 분 소요
원문: Dev.to

Source: Dev.to

What it does

npx mcp-ecom-hub

다른 도구들이 제공하지 않는 기능을 모두 타입이 지정된 MCP 서버가 제공합니다.

Shopify — write ops

  • shopify_update_product — 제목, 가격, 재고 업데이트
  • shopify_bulk_update_prices — 여러 변형을 한 번에 업데이트
  • shopify_fulfill_order — 주문을 완료 처리
  • shopify_cancel_order — 한 번의 호출로 취소 + 환불
  • shopify_create_discount — 할인 코드 생성

Shopify — read ops

  • shopify_get_orders — 필터(상태, 날짜, 고객)와 함께 조회
  • shopify_get_products — 전체 제품 및 변형 상세 정보 조회
  • shopify_get_analytics — 매출, 평균 주문 금액(AOV), 전환율 조회
  • shopify_get_customers — 고객 목록 및 LTV 조회

Stripe

  • stripe_get_revenue — MRR, ARR, 기간별 세부 내역 조회
  • stripe_list_subscriptions — 활성 구독 목록 조회
  • stripe_cancel_subscription — 비례 정산(proration) 처리 포함 취소
  • stripe_create_coupon — 할인 코드 생성
  • stripe_get_payouts — 지급 내역 조회
  • stripe_refund_payment — 환불 처리

Multi‑store

  • hub_list_stores — 설정된 모든 스토어 조회
  • hub_get_overview — 스토어 간 매출 요약 제공

The gap it fills

Featuremcp‑ecom‑hubShopify MCP (official)pipeboard
Shopify write ops
Bulk price update
Stripe integrated
Subscription mgmt
Multi‑store
Self‑hosted
Open source

Setup

{
  "mcpServers": {
    "ecom-hub": {
      "command": "npx",
      "args": ["-y", "mcp-ecom-hub"],
      "env": {
        "MCP_ECOM_CONFIG": "/path/to/stores.json"
      }
    }
  }
}

Config file (stores.json)

{
  "stores": [
    {
      "id": "mystore",
      "name": "My Store",
      "shopify": {
        "domain": "mystore.myshopify.com",
        "accessToken": "shpat_xxx"
      },
      "stripe": {
        "secretKey": "sk_live_xxx"
      }
    }
  ],
  "defaultStore": "mystore"
}

Safety first

파괴적인 작업(취소, 환불)은 명시적인 확인이 필요합니다:

User: Cancel order #1234 and refund the customer
Agent: I'll cancel order #1234 ($89.00) and issue a full refund. Confirm? [yes/no]
User: yes
Agent: ✅ Order cancelled. Refund of $89.00 issued — arrives in 5‑10 days.

우발적인 취소가 일어나지 않습니다.

Multi‑store

여러 고객을 담당하는 에이전시인가요? 하나의 설정 파일로 모든 스토어를 관리합니다:

User: Show me revenue across all stores this week
Agent:
  - Store A: €2,340 (12 orders, AOV €195)
  - Store B: €890 (8 orders, AOV €111)
  - Total: €3,230

오픈 소스, MIT 라이선스. 다수의 전자상거래 클라이언트를 관리하는 에이전시를 위해 제작되었습니다. PR을 환영합니다 — 특히 WooCommerce 지원(다음 목표) 추가를 기대합니다.

0 조회
Back to Blog

관련 글

더 보기 »