BILLZ MCP Bridge Server
BILLZ MCPブリッジサーバー
このプロジェクトは、BILLZ 2.0 REST API(https://api-admin.billz.ai)とClaudeの間の「ブリッジ」として機能します。Claudeはこのサーバーを介して、BILLZの商品、販売、顧客、その他のデータを読み取ることができます。
1. 必要なもの
Node.js 18+(プロジェクト実行用)
BILLZ 2.0から取得したClient ID(ログイン)とAPIキー(シークレット)(画像で見た「Advanced settings」内の2つのフィールド)
サーバーをインターネットに公開するための無料ホスティングアカウント(例:Render.comまたはRailway.app)
Related MCP server: BizDesk MCP
2. エンドポイントパスについて
✅ 認証(ログイン)部分は確認済みで正しく動作します — 公式BILLZドキュメントの「Аутентификация」セクションに基づいて記述されています:POST /v1/auth/login + {"secret_token": "..."}。
⚠️ 商品/販売/顧客に使用されるパス(/v1/products、/v1/orders、/v1/clients、/v1/categories)はまだ仮のものです — BILLZドキュメントの「Методы」セクションがまだ確認されていないためです。このセクションを開いて、正確なパスを確認してください:https://billzuz.notion.site/API-c2f91aa254f94f8eb7c1b26415dcb25b
そのため、最初は**billz_request(汎用リクエスト)**ツールのみを使用してください — これは正しいパスであれば動作します。なぜなら、正しい認証にのみ依存しているからです。例えばClaudeに:「billz_request を介して GET /v1/products パスにリクエストを送信」 と指示できます — パスが間違っている場合はエラーメッセージが表示され、修正します。
3. お使いのコンピューターでテストする(任意)
cd billz-mcp-server
npm install
cp .env.example .env
# .env faylini ochib, BILLZ_LOGIN, BILLZ_SECRET va MCP_BRIDGE_SECRET
# qiymatlarini to'ldiring
npm startブラウザで http://localhost:3000/health を開けば、サーバーが動作していることを意味します。
4. インターネットに公開する(Render.comの例)
このプロジェクトをGitHubにアップロードします(新しいリポジトリを作成し、ファイルをプッシュします)。
https://render.com サイトでアカウント登録します。
New + → Web Service → GitHubリポジトリを選択します。
設定:
Build Command:
npm installStart Command:
npm start
Environmentセクションで以下を追加します:
BILLZ_BASE_URL=https://api-admin.billz.aiBILLZ_LOGIN=(お使いのClient ID、例:200400493)BILLZ_SECRET=(お使いのAPIキー)MCP_BRIDGE_SECRET=(自分で考えた長いランダムな文字列)
Create Web Serviceボタンを押し、デプロイが完了するのを待ちます。
Renderから次のようなURLが提供されます:
https://billz-mcp-server-xxxx.onrender.com
5. Claudeに接続する
Claudeで Customize → Connectors → 「+」 → Add custom connector ウィンドウを開きます(または組織のOwnerがOrganization Settings経由で)。
Name:
BILLZRemote MCP server URL:
https://billz-mcp-server-xxxx.onrender.com/mcp(必ず末尾が/mcpで終わる必要があります — これはNotionやダッシュボードのリンクではなく、あなた自身のサーバーのアドレスです)Advanced settings内のフィールドに(OAuthではなく、単純なトークンが要求される場合)
MCP_BRIDGE_SECRETの値を入力します。Addボタンを押します。
その後、Claudeに:「BILLZの商品一覧を表示」 または 「BILLZから過去30日間の販売を取得」 と入力すると、自動的に billz_get_products または billz_get_orders ツールが呼び出されます。
6. セキュリティに関する注意事項
.envファイルは決してGitHub(公開リポジトリ)にアップロードしないでください —.gitignoreファイルに.env行を必ず追加してください。MCP_BRIDGE_SECRET— これはサーバーを外部から保護します。これを誰にも渡さないでください。もし
BILLZ_SECRETがどこかで漏洩した場合(例:チャットに書き込んでしまった場合)、BILLZパネルですぐにそれを無効にし、新しいものを作成してください。
7. ファイル構成
billz-mcp-server/
├── package.json # bog'liqliklar ro'yxati
├── .env.example # sozlamalar namunasi
├── README.md # ushbu qo'llanma
└── src/
├── billzClient.js # BILLZ API bilan gaplashish (autentifikatsiya + so'rov)
└── server.js # MCP server (Claude bilan gaplashadigan qism)This server cannot be deployed
Maintenance
Related MCP Connectors
- KonnektaOAuthnl.konnekta
Connect Claude to Dutch accounting software: e-Boekhouden invoices, contacts and ledgers.
1 Any REST/SOAP/GraphQL/OData/SQL API as MCP tools for Claude & ChatGPT. 338 connectors: SAP, ERP.
Amazon Seller Central, Ads and Vendor Central in ChatGPT & Claude. 106 tools; writes need approval.
Connect Amazon Seller Central to Claude or ChatGPT via MCP. Orders, inventory, pricing, fees, FBA.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude with Piriod.com API to manage invoicing and payments, enabling listing/creating invoices, searching customers, and viewing payments through natural language.-
- AlicenseNot gradedqualityCmaintenanceProvides structured, read-mostly access to small-business back-office data including customers, invoices, and account notes, allowing Claude to query overdue invoices, revenue summaries, and more.MIT
- FlicenseCqualityDmaintenanceMCP server for the BILLZ POS/Retail API 2.0, enabling AI agents to perform analytics and full retail operations including sales, products, customers, reports, and inventory management.18-
- FlicenseNot gradedqualityCmaintenanceEnables Claude to fully interact with the Cin7 Omni API, including listing, fetching, creating, updating, and deleting records across resources like products, stock, sales orders, and purchase orders, plus uploading product images. Supports read-only mode and respects Cin7 rate limits with automatic retries.-