Skip to main content
Glama

smartstore-mcp

스마트스토어 판매자 작업을 MCP 도구로 사용할 수 있게 만든 FastMCP 서버입니다.

이 저장소는 네이버 커머스 API를 MCP 도구로 감싸서 상품, 주문, CS, 정산 작업을 Claude나 GPT 같은 MCP 클라이언트에서 다룰 수 있게 합니다. 단순 예제가 아니라 실제 판매자 계정으로 읽기/쓰기 검증을 진행했고, 검증 기록과 운영용 스크립트도 함께 포함되어 있습니다.

이 프로젝트로 할 수 있는 일

  • SmartStore 공식 API를 MCP 도구로 사용

  • 상품/주문/CS/정산 관련 읽기 도구 사용

  • 일부 상품/주문 쓰기 작업 검증

  • 템플릿 도구로 안전한 payload 초안 만들기

  • 검증 상태, blocker, 다음 액션을 스크립트로 바로 확인

Related MCP server: sellabot-mcp

현재 상태

  • 전체 도구 수: 127

  • 읽기 검증 완료: 75

  • 실쓰기 검증 완료: 28

  • 부분 확인: 24

  • 요청 shape 미해결: 0

  • 미검증: 0

즉, 일반 판매자 계정 기준으로는 구현이 거의 끝난 상태이고, 남은 건 대부분 외부 조건이나 특정 주문 상태가 필요한 항목입니다.

먼저 읽으면 좋은 문서

아래 순서로 보면 구조를 가장 빨리 파악할 수 있습니다.

  1. docs/VERIFICATION_MATRIX.md

    • 현재 어디까지 검증됐는지 보는 기준 문서

  2. docs/REMAINING_BLOCKERS.md

    • 지금 막혀 있는 항목과 이유 정리

  3. docs/WRITE_RUNBOOK.md

    • 실제 쓰기 검증 순서와 주의점

  4. docs/IMPLEMENTATION_NOTES.md

    • request body shape, live behavior, caveat 기록

  5. docs/HANDOFF_NEXT_THREAD.md

    • 다음 스레드나 다른 계정으로 이어갈 때 보는 문서

로컬 실행 준비

1. 저장소 받기

git clone "https://github.com/Hayeon27/smartstore-mcp.git"
cd smartstore-mcp

2. 의존성 설치

권장:

uv sync --extra dev

대안:

pip install -e .[dev]

3. 환경 변수 설정

.env.example을 참고해서 아래 값을 넣습니다.

  • SMARTSTORE_CLIENT_ID

  • SMARTSTORE_CLIENT_SECRET

예시:

SMARTSTORE_CLIENT_ID=your_client_id
SMARTSTORE_CLIENT_SECRET=your_client_secret

4. 서버 실행

python -m smartstore_mcp

MCP 클라이언트 연결 예시

{
  "mcpServers": {
    "smartstore": {
      "command": "python",
      "args": ["-m", "smartstore_mcp"],
      "env": {
        "SMARTSTORE_CLIENT_ID": "your_client_id",
        "SMARTSTORE_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

처음 실행하면 바로 해볼 것

1. 읽기 스모크 테스트

uv run python scripts/smoke_readonly.py

현재 계정에서 기본 읽기 API가 정상인지 빠르게 확인합니다.

2. 상태 리포트 확인

uv run python scripts/verification_matrix.py
uv run python scripts/remaining_blockers_report.py
uv run python scripts/next_actions_report.py
uv run python scripts/write_validation_dashboard.py

각 스크립트 용도:

  • verification_matrix.py

    • 전체 검증 상태 요약

  • remaining_blockers_report.py

    • 남은 blocker만 추출

  • next_actions_report.py

    • 지금 당장 할 수 있는 것과 막힌 것을 분리

  • write_validation_dashboard.py

    • 쓰기 readiness를 단계별로 보여줌

3. 리포트 무결성 확인

uv run python scripts/report_smoke.py

리포트끼리 숫자와 상태가 서로 맞는지 확인합니다.

현재 계정에서 바로 가능한 것

상대적으로 안전한 write:

  1. smartstore_change_product_status

  2. smartstore_create_delivery_bundle_group

주의해서 봐야 하는 것:

  • smartstore_update_stock

    • 동작은 하지만 useStockManagement=true가 남을 수 있음

  • smartstore_update_inquiry_answer

    • 현재 계정에서는 ERR-NC-101006

  • orderOperations

    • 실제 주문 상태를 바꾸므로 운영 영향이 큼

Q&A와 Inquiry는 다릅니다

이 프로젝트에서 CS 계열은 두 가족으로 나뉩니다.

Q&A

  • 상품 문의 계열

  • 경로: /v1/contents/qnas*

  • 관련 도구:

    • smartstore_get_qnas

    • smartstore_get_qna_templates

    • smartstore_answer_qna

Naver Pay Inquiry

  • 네이버페이 문의 계열

  • 경로: /v1/pay-merchant/inquiries*

  • 관련 도구:

    • smartstore_get_inquiries

    • smartstore_answer_inquiry

    • smartstore_update_inquiry_answer

참고 문서

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for the Shopline Open API. Exposes 140+ tools for querying and managing orders, products, customers, promotions, analytics, and store settings from your Shopline store via Claude.
      100
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      An MCP server that exposes marketplace seller operations (Shopee first) as tools Claude can call, enabling automation of product, pricing, inventory, customer service, and other seller tasks.
      32
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to fetch live exchange and cryptocurrency prices, persist key-value JSON records, and perform invoice, shipping, and inventory business logic through seven tools.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to browse products, look up orders, and place orders through MCP tools, with API-key authentication, rate limiting, and idempotent order operations.
      MIT