Skip to main content
Glama
moneyan9

rakuten-rms-mcp-remote

by moneyan9

rakuten-rms-mcp-remote

rakuten-rms-mcpRemote MCP ホストです。

  • Transport: Streamable HTTP/mcp

  • Auth: OAuth 2.1 + PKCE(共有パスコード)および任意の 静的 Bearer

  • ツール実装はコアパッケージを依存として利用(このリポに RMS ロジックは置きません)

Claude.ai / ChatGPT などの「URL を貼る」系クライアント向けです。Cursor のローカル stdio はコア側を使ってください。


必要条件

  • Node.js 20+

  • RMS の serviceSecret / licenseKey

  • 次のどちらか(または両方)

    • RMS_MCP_OAUTH_PASSCODE … OAuth 認可画面の共有パスコード

    • RMS_MCP_API_KEYAuthorization: Bearer … を直接書けるクライアント用


Related MCP server: shopline-mcp

セットアップ

git clone https://github.com/moneyan9/rakuten-rms-mcp-remote.git
cd rakuten-rms-mcp-remote
cp .env.example .env   # 値を編集
npm install
npm run build
npm start

ローカルではコア未公開でも動くように、必要なら package.json の依存を一時的に:

"rakuten-rms-mcp": "file:../rakuten-rms-mcp"

に差し替えて npm install してください。


エンドポイント

Path

説明

GET /health

存活確認

GET /.well-known/oauth-authorization-server

OAuth AS メタデータ

GET /.well-known/oauth-protected-resource

Protected Resource メタデータ

GET /.well-known/oauth-protected-resource/mcp

同上(RFC 9728 path-aware)

POST /oauth/register

Dynamic Client Registration

GET/POST /oauth/authorize

パスコード入力 → auth code

POST /oauth/token

code → access token(PKCE)

ALL /mcp

MCP Streamable HTTP(Bearer 必須・SDK requireBearerAuth


ChatGPT / Claude への接続

  1. このサーバを HTTPS で公開(Railway / Render / Fly など)

  2. ALLOWED_HOSTS に公開ホスト名を入れる(例: my-app.up.railway.app

  3. ChatGPT: Developer Mode → カスタムコネクタに https://…/mcp を追加(OAuth)

  4. Claude.ai: Connectors → カスタムコネクタに同様に追加

  5. 認可画面で RMS_MCP_OAUTH_PASSCODE を入力

ヘッダを書けるクライアント(一部の MCP クライアント)向け:

{
  "mcpServers": {
    "rakuten-rms": {
      "url": "https://YOUR_HOST/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_RMS_MCP_API_KEY"
      }
    }
  }
}

環境変数

変数

必須

説明

RMS_SERVICE_SECRET

はい

RMS serviceSecret

RMS_LICENSE_KEY

はい

RMS licenseKey

RMS_SHOP_ID

任意

問い合わせ返信時

PORT

任意

デフォルト 8000

ALLOWED_HOSTS

推奨

カンマ区切りホスト名(公開時必須級)

RMS_MCP_OAUTH_PASSCODE

OAuth 時

共有パスコード

RMS_MCP_API_KEY

任意

静的 Bearer

RMS_MCP_OAUTH_STORE_PATH

任意

トークン永続化パス

注意: 現状は 1 プロセス = 1 店舗の RMS 鍵(サーバ env)です。個人事業主ごとの鍵分離はまだありません。


Vercel

Express アプリとしてデプロイします(src/app.ts の default export)。

  1. このリポを Vercel に Import(または npx vercel

  2. Environment Variables に少なくとも次を設定

    • RMS_SERVICE_SECRET / RMS_LICENSE_KEY

    • RMS_MCP_OAUTH_PASSCODE(自分で決めた共有パスコード)

  3. Deploy 後の MCP URL: https://<project>.vercel.app/mcp

  4. ChatGPT カスタムコネクタにその URL を追加し、認可画面でパスコードを入力

ALLOWED_HOSTS は任意(未設定でも VERCEL_URL 系を自動許可)。カスタムドメイン利用時は本番ホスト名を追加してください。

OAuth トークンはサーバレス上では原則 /tmp(インスタンス内)。コールドスタートで消えることがあるので、再認可が必要になる場合があります。


開発

npm run typecheck
npm test
npm run build

License

MIT

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    B
    maintenance
    Private OAuth-backed MCP server for ChatGPT, supporting GPT Apps via MCP Streamable HTTP and GPT Actions via REST endpoints with OpenAPI 3.1.
  • A
    license
    -
    quality
    B
    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.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A UCP-compliant MCP storefront server that exposes product catalog operations (search, cart, checkout) as MCP tools, following UCP schema version 2026-04-08.
    5
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    An OAuth-protected MCP server exposing a coding-tool harness over Streamable HTTP, enabling remote MCP clients like ChatGPT to securely access a local development environment.
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.

  • Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moneyan9/rakuten-rms-mcp-remote'

If you have feedback or need assistance with the MCP directory API, please join our Discord server