ribbo-mcp
ribbo-mcp
MCP(Model Context Protocol)サーバー Ribbo。お使いのAIアシスタント(Claude Desktop、Cursor など)を Ribbo の定期課金 API に接続し、それをオペレーターに変えます。AI が実際のアクションを実行できるようになります — サブスクリプションの作成・管理、entitlements の照会、支払いの返金、即時請求、支払い/更新リンクの生成。
認証には、テナントの API key(プレフィックス bk_)を使います。これは 開発者 → API keys のパネルで生成します。このサーバーは公開APIのシンクライアントです。コードにシークレットは一切含まれていません — キーは環境変数で提供します。
要件
Node.js 18+
Ribbo の APIキー(
bk_…)。参照のみの場合はreadスコープのキーを、AI に操作(返金・請求・キャンセルなど)させる場合はwriteスコープのキーを使います。
Related MCP server: Agent Billy MCP Server
インストール
最も手早い方法 — 何もクローンせずに — は、npx 経由で AIクライアントをパッケージに接続することです。ターミナルで試すには:
# direto do GitHub (funciona já):
npx -y github:andrespadeto/ribbo-mcp
# ou, depois de publicado no npm:
npx -y ribbo-mcpこれは stdio で待機します — MCP サーバーはこのように動作します。それと「対話」するのは(後述の)お使いの AIクライアントであり、ターミナではありません。終了するには:
Ctrl+C。
設定
環境変数は2つです:
変数 | 説明 |
| あなたのAPIキー( |
| するAPIのベースURL。末尾のスラッシュなし。例: |
Claude Desktop
claude_desktop_config.json(メニュー → Settings → Developer → Edit Config)内で:
{
"mcpServers": {
"ribbo": {
"command": "npx",
"args": ["-y", "github:andrespadeto/ribbo-mcp"],
"env": {
"RIBBO_API_KEY": "bk_sua_chave_aqui",
"RIBBO_API_BASE": "https://api.ribbo.app"
}
}
}
}Claude Desktop を再起動します。Ribbo のツールがチャットのツールアイコンに表示されます。
Cursor
.cursor/mcp.json(プロジェクト内)またはグローバル MCP 設定で、上記の同じ mcpServers ブロックを使用します。
npm に公開された後、
"github:andrespadeto/ribbo-mcp"を"ribbo-mcp"に置き換えます。
ツール
読み取り(read キーで十分):
ツール | 説明 |
| 顧客の entitlements を照会します。 |
| テナントのサブスクリプション一覧を表示します(フィルター/ページング)。 |
| サブスクリプションの詳細を表示します。 |
| 課金時にゲートウェイが応答した内容のタイムライン。 |
| 支払いの詳細を表示します。 |
| 顧客のサブスクリプション一覧( |
| 顧客の支払い履歴。 |
| 紹介リンク。 |
| 利用者向けの更新キャンペーンリンク。 |
| キャンペーンのすべてのリンク。 |
| サブスクリプションの未払い請求書の支払いリンク。 |
| 注文(単発購入または更新の前払い)の Pix の2枚目 / 再アクセス。 |
書き込み(write キー必須 — お金/状態を変更):
ツール | 説明 |
| サブスクリプションを作成します(カードなし、手動Pix/移行を含む)。 |
| プランを変更します(アップグレード/ダウングレード/サイクル変更)。 |
| 予約されたプラン変更をキャンセルします。 |
| サブをキャンセルします。 |
| 今すぐ請求を実行します。 |
| 次の請求を通知へ変更します。 |
| サブスクからクーポンを削除します。 |
| 更新の前払いリンクを生成します。 |
| 支払い方法変更リンクを生成します。 |
| 支払いを返金します。 |
| 顧客の名前 / 電話番号を更新します。 |
| 顧客のメールアドレスを更新します(ローカル + ゲートウェイ)。 |
セキュリティ
このキーは テナントを識別し、分離します — 他のテナントのデータには決してアクセスできません。
書き込みツールはお金/状態を変更します(返金、請求、キャンセル)。AI が参照のみの場合は
readキーを、操作が必要な場合のみwriteキーを使用してください。キーは MCP クライアントの
env(自分のマシン上)にあります — 秘密として取り扱ってください。絶対にコミットしないでください。コードはオープンで、シークレットは含まれていません: すべての認証情報は環境から取得されます。
API の規約
金額はセント(整数); ID はプレフィックス付き(sub_、cus_、pay_、ord_…); 日付は ISO-8600 UTC。エラーは Erro <status>: {…} の形式で返されます。完全なコントラクト (OpenAPI 3.1) は GET {RIBBO_API_BASE}/v1/public/schema/ にあります。
開発
git clone https://github.com/andrespadeto/ribbo-mcp.git
cd ribbo-mcp
npm install # o "prepare" compila o TypeScript para dist/
cp .env.example .env # preencha RIBBO_API_KEY e RIBBO_API_BASE
npm run dev # build + startソースコードは
src/(TypeScript ESM)。src/index.tsがツールを登録し、src/api.tsが HTTP クライアント(Bearer)です。ビルド成果物(
dist/)はnpm run buildで生成され、バージョン管理はされません。
ライセンス
MIT © Ribbo
Maintenance
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
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with GoCardless payment data, providing tools to manage customers, payments, mandates, subscriptions, and payouts. Includes Xero integration support for automatic parsing of metadata.12MIT
- AlicenseNot gradedqualityDmaintenanceProvides secure, role-based access to Stripe billing operations for AI assistants like Claude and Cursor. It enables users to manage customers, subscriptions, invoices, and refunds through a local proxy with server-side permission enforcement.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access Magpie Payment Platform APIs for processing payments, creating checkout sessions, sending invoices, and managing payment links through natural conversation.901MIT

Revenium MCP Serverofficial
AlicenseCqualityBmaintenanceConnects AI agents to Revenium for cost tracking, alerting, and usage-based billing, enabling AI assistants to manage costs, set alerts, and handle billing operations.7MIT
Related MCP Connectors
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
Let AI agents add Yolfi crypto checkout, paylinks, webhooks, and status checks.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/andrespadeto/ribbo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server