Skip to main content
Glama

rms-mcp

楽天RMSのMCPサーバー — 自然言語で楽天市場運用を操作するAIエージェント向けツール群

26ツール | 読取12 + 書込10 + ブラウザ操作4

ツール一覧

売上・分析

ツール

説明

rms_daily_sales

日別売上サマリー(件数・税・クーポン・送料)

rms_product_ranking

商品別ランキング(数量・売上・平均単価)

rms_cancel_rate

キャンセル率・件数

注文管理

ツール

説明

rms_order_detail

注文番号指定で全詳細JSON

rms_unconfirmed_orders

未確認(注文確認待ち)の注文一覧

rms_pending_shipping

発送待ち注文一覧

rms_get_sub_status_list

サブステータス一覧

rms_confirm_order

受注確認(確認待ち→処理中)

rms_update_shipping

配送情報更新(配送業者・追跡番号)

rms_update_sub_status

サブステータス更新

rms_update_memo

注文メモ更新

rms_cancel_order

注文キャンセル

商品管理

ツール

説明

rms_search_products

商品検索(管理番号・商品名・ジャンル)

rms_all_products

全商品の管理番号・商品名・価格の一覧

rms_upsert_product

商品の新規登録・更新

rms_update_price

商品価格の変更

在庫管理

ツール

説明

rms_get_inventory

指定商品の在庫情報を取得

rms_update_inventory

在庫数の更新(バリアント単位)

クーポン

ツール

説明

rms_search_coupons

発行済みクーポンの一覧

rms_issue_coupon

新規クーポンの発行

問い合わせ

ツール

説明

rms_inquiries

問い合わせ管理(件数・一覧・詳細・返信)

ツール

説明

rms_post_review_reply

レビューに返信を投稿

rms_set_rpp_budget

RPP広告の月予算を設定

rms_check_calendar_events

イベントカレンダー確認

rms_generate_rmail_draft

R-Mail(メルマガ)文面自動生成

Related MCP server: shopdate MCP

セットアップ

git clone https://github.com/yasuhidekoizumi-afk/rms-mcp.git
cd rms-mcp
uv sync

認証

RMS管理画面 → API設定 で serviceSecret と licenseKey を発行。

export RMS_SERVICE_SECRET="SP404839_xxxxxxxxxx"
export RMS_LICENSE_KEY="SL404839_xxxxxxxxxx"

接続方法

ローカル(stdio / Claude Code / Hermes)

.mcp.json または claude_desktop_config.json:

{
  "mcpServers": {
    "rms-mcp": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/rms-mcp", "rms-mcp"],
      "env": {
        "RMS_SERVICE_SECRET": "SP404839_xxx",
        "RMS_LICENSE_KEY": "SL404839_xxx"
      }
    }
  }
}

リモート(Railway / HTTP)

{
  "mcpServers": {
    "rms-mcp": {
      "url": "https://rms-mcp-production.up.railway.app/mcp",
      "headers": {
        "Authorization": "Bearer oryzae-rmcp-2026"
      }
    }
  }
}

動作確認

RMS_SERVICE_SECRET="SP404839_xxx" RMS_LICENSE_KEY="SL404839_xxx" uv run python -c "
from rms_mcp.order_api import OrderAPI
from rms_mcp.client import RMSClient
c = RMSClient('SP404839_xxx', 'SL404839_xxx')
api = OrderAPI(c)
nums = api.search_orders('2026-05-01T00:00:00+0900','2026-05-08T23:59:59+0900').get('orderNumberList', [])
orders = api.get_order(nums).get('OrderModelList', [])
total = sum(o.get('totalPrice', 0) or 0 for o in orders)
print(f'接続成功! {len(nums)}件  {total:,}円')
c.close()
"

開発・テスト

uv sync --extra dev
uv run pytest
RMS_SERVICE_SECRET=SP_xxx RMS_LICENSE_KEY=SL_xxx uv run pytest tests/test_live_smoke.py

License

MIT — ORYZAE Inc.

Available Tools

4 tools
rms_cancel_rateC

Cancellation rate and counts

Inputs: start_date, end_date.

rms_daily_salesB

Daily sales summary (orders, revenue, tax, coupons, delivery)

Inputs: start_date, end_date.

rms_order_detailC

Full order detail by order number(s)

Inputs: order_numbers (required).

rms_product_rankingC

Product sales ranking by revenue (from PackageModelList)

Inputs: start_date, end_date, top_n.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of RMS data: cancellation rates, daily sales, order details, and product rankings. There is no overlap in functionality, making it easy for an agent to select the correct tool.

    Naming Consistency5/5

    All tools follow a consistent pattern: 'rms_' prefix followed by a descriptive noun phrase using underscores (cancel_rate, daily_sales, order_detail, product_ranking). This predictability aids both human and agent understanding.

    Tool Count5/5

    With 4 tools, this server is well-scoped for a focused analytics/reporting domain. Each tool serves a clear purpose without unnecessary bloat, and the count fits comfortably within the optimal range of 3-15 tools.

    Completeness4/5

    The tool set covers key reporting and analytics needs for an RMS: cancellation, sales summary, order details, and product ranking. Minor gaps exist, such as the absence of time-range filtering or trend comparisons, but the core query functionality is present.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching and retrieving information from Rakuten services (Ichiba, Books, Travel, Recipe, Kobo, GORA) via the new API endpoints with secure authentication.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides read-only access to JD Shop Intelligence, Business Advisor, and Wanxiangtai data through a local Chrome bridge, enabling AI assistants to query authorized stores’ operations, products, inventory, transactions, refunds, and advertising reports.
      5
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables read-only retrieval of Taobao/Tmall seller analytics from 生意参谋, free market insights, and Qianniu order/product data through a logged-in Ziniao store browser, without Open Platform keys.
      73 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP clients to read and manage online shop data, including orders, products, customers, and sales reports, plus opt-in order status, notes, and refunds recorded without moving money.
      2
      Functional Source , Version 1.1, ALv2 Future