
woraphol-j/lineshopping-api-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
LINE SHOPPING API를 위한 모델 Context Protocol (MCP) 서버. 자동 생성 MCP 도구를 통해 LINE SHOPPING의 제품, 재고, 주문 및 결제를 관리 할 수있는 AI 에이전트 및 도구가 ...
개요
사이트맵 LINE Shopping API의 Server, AI 에이전트 및 도구가 모델 Context 프로토콜을 통해 LINE 쇼핑 데이터 및 작업과 상호 작용할 수 있습니다. 이 서버는 공식 LINE Shopping API를 사용하여 제품, 재고, 주문, 결제 등을 관리할 수 있는 도구를 제공합니다. - : 검색, 생성, 업데이트 및 삭제 제품 및 변형 - : 조정, 증가, 또는 재고 수준 감소 - : 쿼리,보기, 취소 및 업데이트 주문 - : 주문에 대한 결제 세부 사항 검색 - : 모든 도구는 OpenAPI spec에서 자동 생성됩니다 1. Python >= 3.13 2. uv (Python 포장 매니저) 3. LINE 쇼핑 API 열쇠 (X API KEY) uvx를 사용하여 PyPI에서 직접 설치하고 실행하십시오: persistent 구성의 경우, 작업 디렉토리에 .env 파일을 만듭니다. PyPI 설치 패키지를 사용하는 에이전트 구성 : 지역 개발 또는 복제 된 저장소에 대 한: 다음 도구는 MCP 서버에 의해 노출됩니다 (전체 세부 사항에 대한 openapi.json 참조):
개요(AI 번역)
사이트맵 LINE Shopping API의 Server, AI 에이전트 및 도구가 모델 Context 프로토콜을 통해 LINE 쇼핑 데이터 및 작업과 상호 작용할 수 있습니다. 이 서버는 공식 LINE Shopping API를 사용하여 제품, 재고, 주문, 결제 등을 관리할 수 있는 도구를 제공합니다.
특징
-제품 관리: 검색, 생성, 업데이트 및 삭제 제품 및 변형
- Inventory Management: 조정, 증가, 또는 재고 수준 감소
- 주문 관리: Query, view, cancel 및 업데이트 주문
- Settlement: 주문에 대한 결제 세부 정보를 검색
- OpenAPI 통합: 모든 도구는 OpenAPI spec에서 자동 생성됩니다.
필수품
- 파이썬 >= 3.13
- uv (Python 포장 매니저)
- LINE 쇼핑 API 키 (
X_API_KEY)
설치
방법 1: uvx 사용 (추천)
PyPI에서 직접 설치 및 실행 uvx:
또는 환경 변수와 실행:
# # # 방법 2 : 복부 및 실행
-
** 저장소 : **
-
모든 의존성:
-
** 서버:**
환경 구성
persistent 구성의 경우, 작업 디렉토리에 .env파일을 생성합니다.
구성 및 통합
uvx 사용 (PyPI 설치)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
LINE Shopping API MCP Server
MCP Server for the LINE Shopping API, enabling AI agents and tools to interact with LINE Shopping data and operations via the Model Context Protocol. This server provides tools for managing products, inventory, orders, settlements, and more, using the official LINE Shopping API.
Features
- Product Management: Search, create, update, and delete products and variants
- Inventory Management: Adjust, increase, or decrease inventory levels
- Order Management: Query, view, cancel, and update orders
- Settlement: Retrieve settlement details for orders
- OpenAPI Integration: All tools are auto-generated from the OpenAPI spec
Prerequisites
- Python >= 3.13
- uv (Python package manager)
- LINE Shopping API Key (
X_API_KEY)
Installation
Method 1: Using uvx (Recommended)
Install and run directly from PyPI using uvx:
# Install and run the MCP server (note the different executable name)
uvx --from lineshopping-api-mcp lineshopping-mcp
Or run with environment variables:
# Set your API key and run
X_API_KEY=your_api_key_here uvx --from lineshopping-api-mcp lineshopping-mcp
Method 2: Clone and Run
-
Clone the repository:
git clone https://github.com/woraphol-j/lineshopping-api-mcp.git cd lineshopping-api-mcp -
Install dependencies:
uv add fastmcp httpx -
Run the server:
# Set your API key and run X_API_KEY=your_api_key_here uv run --with fastmcp fastmcp run app.py
Environment Configuration
For persistent configuration, create a .env file in your working directory:
X_API_KEY=your_api_key_here
Configuration & Integration
Using uvx (PyPI Installation)
Configure your agent to use the PyPI-installed package:
{
"inputs": [
{
"type": "promptString",
"id": "line-shopping-api-key",
"description": "LINE Shopping API Key",
"password": true
}
],
"servers": {
"LINE Shopping API MCP": {
"command": "uvx",
"args": [
"--from",
"lineshopping-api-mcp",
"lineshopping-mcp"
],
"env": {
"X_API_KEY": "${input:line-shopping-api-key}"
}
}
}
}
Using Local Clone
For local development or cloned repository:
{
"inputs": [
{
"type": "promptString",
"id": "line-shopping-api-key",
"description": "LINE Shopping API Key",
"password": true
}
],
"servers": {
"LINE Shopping API MCP": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"/Users/xxx/lineshopping-api-mcp/app.py"
],
"env": {
"X_API_KEY": "${input:line-shopping-api-key}",
"FASTMCP_EXPERIMENTAL_ENABLE_NEW_OPENAPI_PARSER": "true"
}
}
}
}
Available Tools
The following tools are exposed by the MCP server (see openapi.json for full details):
Checkout & Links
create-checkout-link: Generate a checkout link for order items
설치
uvx --from lineshopping-api-mcp lineshopping-mcp