
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
cafe24-admin-mcp
Advanced tools
"์ด๋ค ํ ์ด๋ธ์ด ์๋" ํ์ฅ ๊ฐ๋ฅํ ๋ฒ์ฉ ์บ์ฑยท๋ถ์ ์์คํ
Claude Desktop๊ณผ Cafe24 Admin API๋ฅผ ์ฐ๊ฒฐํ์ฌ ์ด๊ณ ์ ๋ฐ์ดํฐ ๋ถ์์ ์ ๊ณตํ๋ MCP ์๋ฒ์ ๋๋ค.
cd cafe24-admin
npm install
cp .env.example .env
# .env ํ์ผ ํธ์ง
ํ์ ์ค์ :
MALL_ID=your_mall_id
CLIENT_ID=your_client_id
CLIENT_SECRET=your_client_secret
# Redis ์บ์ฑ (๊ถ์ฅ)
ENABLE_REDIS_CACHE=true
REDIS_URL=redis://localhost:6379
REDIS_TTL=3600
macOS:
brew install redis
brew services start redis
Ubuntu/Debian:
sudo apt update
sudo apt install redis-server
sudo systemctl start redis-server
Docker:
docker run -d -p 6379:6379 redis:alpine
npm run build
claude_desktop_config.json
์ ์ถ๊ฐ:
{
"mcpServers": {
"cafe24-admin": {
"command": "node",
"args": ["/path/to/cafe24-admin/build/index.js"],
"env": {
"MALL_ID": "your_mall_id",
"CLIENT_ID": "your_client_id",
"CLIENT_SECRET": "your_client_secret",
"ENABLE_REDIS_CACHE": "true",
"REDIS_URL": "redis://localhost:6379"
}
}
}
}
ํ ํฐ์ ๊ฐ์ง๊ณ ์๋ค๋ฉด cafe24_set_tokens๋ฅผ ์ฌ์ฉํ์ธ์.
1. Cafe24 ์ฑ ์ค์ ์์ Redirect URI ๋ฑ๋ก
2. cafe24_exchange_code๋ก ํ ํฐ ๊ตํ
// Cafe24 API์์ ์๋ ์บ์ฑ
cache_table_data({
table: "products",
apiEndpoint: "/api/v2/admin/products",
chunkSize: 200,
maxRows: 10000
})
// ์ปค์คํ
๋ฐ์ดํฐ ์บ์ฑ
cache_table_data({
table: "custom_analytics",
data: [
{metric: "sales", value: 1000000, date: "2025-01"},
{metric: "orders", value: 450, date: "2025-01"}
]
})
// SQL-like ์ฟผ๋ฆฌ (1-50ms)
query_cached_table({
table: "products",
filter: {
display: "T",
price: {$gte: 10000}
},
columns: ["product_no", "product_name", "price"],
limit: 100,
orderBy: "price"
})
// ๋ค์ค ๊ทธ๋ฃนํ + ๋ฉํธ๋ฆญ (5-100ms)
aggregate_cached_table({
table: "orders",
groupBy: ["product_no", "order_status"],
metrics: ["count", "sum", "avg"],
sumField: "total_amount",
filter: {order_date: {$gte: "2025-01-01"}},
limit: 20
})
// ์บ์ ์ํ ํ์ธ
list_cached_tables({action: "list"})
// ์ฑ๋ฅ ํต๊ณ
list_cached_tables({action: "stats"})
// ์บ์ ์ ๋ฆฌ
list_cached_tables({action: "clear_table", table: "products"})
์์ | ๊ธฐ์กด API ๋ฐฉ์ | ๋ฒ์ฉ ์บ์ ๋ฐฉ์ | ์ฑ๋ฅ ํฅ์ |
---|---|---|---|
10,000๊ฐ ์ํ ์กฐํ | 3์ด + Context ์ด๊ณผ | 15ms | 200๋ฐฐ |
๋ณตํฉ ์ง๊ณ ๋ถ์ | Nร3์ด (๋ถ๊ฐ๋ฅ) | 45ms | ๋ฌดํ๋ |
ํํฐ๋ง + ์ ๋ ฌ | 2์ด + ๋ฉ๋ชจ๋ฆฌ ๋ถ์กฑ | 8ms | 250๋ฐฐ |
๋ฐ๋ณต ๋ถ์ | ๋งค๋ฒ 2-3์ด | 1-10ms | 300๋ฐฐ |
cafe24_exchange_code
- OAuth ์ฝ๋ ๊ตํcafe24_refresh_token
- ํ ํฐ ๊ฐฑ์ cafe24_set_tokens
- ๊ธฐ์กด ํ ํฐ ์ง์ ์ค์ cafe24_get_token_status
- ํ ํฐ ์ํ ํ์ธcafe24_clear_tokens
- ํ ํฐ ์ญ์ products_search_by_name
- ์ํ๋ช
๊ฒ์products_list
- ์ํ ๋ชฉ๋ก ์กฐํproducts_count
- ์ํ ๊ฐ์ ํ์ธproducts_detail
- ์ํ ์์ธ ์ ๋ณดorders_list
- ์ฃผ๋ฌธ ๋ชฉ๋ก ์กฐํorders_count
- ์ฃผ๋ฌธ ๊ฐ์ ํ์ธorders_detail
- ์ฃผ๋ฌธ ์์ธ ์ ๋ณดsales_volume
- ๋งค์ถ๋ ๋ฐ์ดํฐsales_volume_analyze
- ๋งค์ถ ๋ถ์sales_top_selling_products
- ์ธ๊ธฐ ์ํproducts_download_csv
- ์ํ CSV ๋ค์ด๋ก๋orders_download_csv
- ์ฃผ๋ฌธ CSV ๋ค์ด๋ก๋sales_download_csv
- ๋งค์ถ CSV ๋ค์ด๋ก๋cache_table_data
- ์ด๋ค ํ
์ด๋ธ์ด๋ Redis ์บ์ฑquery_cached_table
- ์ด๊ณ ์ ํ
์ด๋ธ ์ฟผ๋ฆฌaggregate_cached_table
- ๋ณตํฉ ์ง๊ณ ๋ถ์list_cached_tables
- ์บ์ ๊ด๋ฆฌ์ด 22๊ฐ ๋๊ตฌ (๊ธฐ์กด 18๊ฐ + ๋ฒ์ฉ ์บ์ฑ 4๊ฐ)
# ๋ฐ์ดํฐ ํน์ฑ์ ๋ฐ๋ฅธ ์ฒญํฌ ํฌ๊ธฐ ์กฐ์
# ๊ฐ๋จํ ํ
์ด๋ธ: 200-500
# ๋ณต์กํ ํ
์ด๋ธ: 50-100
# ๋์ฉ๋ ํ
์คํธ: 25-50
REDIS_TTL=3600 # 1์๊ฐ (๊ธฐ๋ณธ)
REDIS_TTL=86400 # 24์๊ฐ (์์ ์ ๋ฐ์ดํฐ)
REDIS_TTL=1800 # 30๋ถ (์์ฃผ ๋ณ๊ฒฝ๋๋ ๋ฐ์ดํฐ)
AWS_REGION=ap-northeast-2
AWS_ACCESS_KEY_ID=your_key
AWS_SECRET_ACCESS_KEY=your_secret
S3_BUCKET_NAME=your-bucket
# Redis ์๋ฒ ์ํ ํ์ธ
redis-cli ping
# ์ฐ๊ฒฐ ํ
์คํธ
redis-cli -h localhost -p 6379 ping
# ๋ฉ๋ชจ๋ฆฌ ์ฌ์ฉ๋ ํ์ธ
redis-cli info memory
# ์บ์ ์ ๋ฆฌ
# Claude์์: list_cached_tables({action: "clear"})
# ํ ํฐ ์ํ ํ์ธ
# Claude์์: cafe24_get_token_status()
# ํ ํฐ ๊ฐฑ์
# Claude์์: cafe24_refresh_token({refresh_token: "..."})
$gte
, $lte
, $between
)MIT License
๋ฒ์ฉ ํ ์ด๋ธ ์บ์ฑ์ผ๋ก ์ด๋ค ํฌ๊ธฐ์ ๋ฐ์ดํฐ๋ Claude Desktop์์ ์ค์๊ฐ ๋ถ์ํ์ธ์! ๐
FAQs
Cafe24 Admin API MCP Server with Memory Optimization
The npm package cafe24-admin-mcp receives a total of 0 weekly downloads. As such, cafe24-admin-mcp popularity was classified as not popular.
We found that cafe24-admin-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.