インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、BILL をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
BILL (Bill.com) の買掛金と売掛金に接続します。仕入先、請求書、定期請求書、仕入先クレジット、請求書の承認と承認ポリシー、仕入先への支払い、顧客、売上請求書、クレジットメモ、入金を扱えます。developer key とユーザーのサインインで BILL v3 API を利用します。請求書の承認機能も含まれますが、インストール時は無効です。
こう聞いてみよう
BILL のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → BILL をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
BILL (Bill.com) + Gemini
BILL (Bill.com) の買掛金と売掛金に接続します。仕入先、請求書、定期請求書、仕入先クレジット、請求書の承認と承認ポリシー、仕入先への支払い、顧客、売上請求書、クレジットメモ、入金を扱えます。developer key とユーザーのサインインで BILL v3 API を利用します。請求書の承認機能も含まれますが、インストール時は無効です。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
BILL_API_URL, BILL_DEV_KEY, BILL_ORGANIZATION_ID, BILL_USERNAME, BILL_PASSWORD
ステップ 1 — 認証情報を取得
- BILL の API を使うには developer key が必要です。管理者が BILL のウェブアプリで Settings → Sync & Integrations → Manage Developer Keys → Generate developer key から生成します。まず試す場合は、
https://developer.bill.comでサンドボックスの開発者アカウントに登録すると、サンドボックス用のキーが付いてきます。キーをBILL_DEV_KEYに貼り付けます。 - 同じ Manage Developer Keys ページの下部に表示される組織 ID を
BILL_ORGANIZATION_IDにコピーします。008で始まります。 - その組織の BILL ユーザーのメールアドレスとパスワードを
BILL_USERNAMEとBILL_PASSWORDに入力します。API 専用のユーザーを使ってください。BILL でのそのユーザーのロールによって、AI が参照できる範囲と実行できる操作が決まります。 BILL_API_URLを、本番ではhttps://gateway.prod.bill.com/connectに、サンドボックスではhttps://gateway.stage.bill.com/connectに設定します。サンドボックスの developer key は本番では使えず、その逆も同様です。- コネクターをインストールし、最初に
bill_com_get_sessionを実行します。サインインを確認し、コネクターがどの組織とユーザーとして動作するかを表示します。
セッション: コネクターはそのユーザーとしてサインインし、セッションを自動で管理します。セッションは操作がないまま 35 分たつと切れますが、コネクターがそのままサインインし直します。
読み取れるデータ: BILL(旧 Bill.com)は米国企業の買掛金と売掛金を管理するサービスです。買掛金側では、AI は仕入先、支払期日、支払状況、承認状況を含む請求書、定期請求書、仕入先クレジット、仕入先への支払い、承認ポリシー、あなたの承認待ちの請求書を読み取ります。売掛金側では、顧客、売上請求書、クレジットメモ、入金を読み取ります。
最初に試すとよいこと: 未払いと一部支払い済みの請求書を支払期日順に、あなたの承認待ちの請求書、または未回収や一部入金の顧客向け請求書を尋ねてみてください。
承認はインストール時に無効です: bill_com_approve_or_deny_bills は、サインインしたユーザーの承認待ちの請求書を承認または却下し、請求書ごとに任意でコメントを付けられます。承認された請求書はその後支払い可能になります。AI にそのユーザーとして請求書を承認させる場合だけ有効にしてください。AI は bill_com_list_pending_approvals の一覧から始めます。それ以外はすべて読み取り専用です。
制限: developer key ごとに 1 時間あたり 20,000 リクエスト、組織ごとに同時 3 リクエスト、developer key ごとに 1 時間あたり 200 回のサインインまでです。エラー BDC_1144 と BDC_1322 は上限に達したことを意味します。少し待ってから再試行してください。
このコネクターは支払いを行わず、請求書や売上請求書の作成も行いません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Gemini にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Gemini CLI は ~/.gemini/settings.json(Windows では %USERPROFILE%\.gemini\settings.json)から MCP サーバーを読み込みます。次を追加してください:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の MCP Servers → 対象のサーバー → API keys で MCP API キーを作成し、
YOUR_MCP_API_KEYと置き換えます。 - ファイルを保存し、
geminiを再起動します。 - Gemini CLI で
/mcpを実行します(またはシェルでgemini mcp list)。anythingmcpが接続済みとして表示されるはずです。 - プロンプトを入力しましょう。Gemini CLI が
BILL (Bill.com)のツールを呼び出せるようになりました。
利用可能なツール
| Tool | What it does |
|---|---|
bill_com_get_session | Get the current API session: organization id, user id and whether the session is MFA trusted |
bill_com_list_organizations | List the BILL organizations the signed-in user can access, with organization id and name, including Accountant Console organizations |
bill_com_list_vendors | List vendors (payees) with id, name, contact, address, payment details status, bill currency and balance |
bill_com_get_vendor | Get one vendor by id with contact data, address, payment method and network status, bill currency, balance and accounting links |
bill_com_list_customers | List customers (AR) with id, name, contact, address, invoice currency, balance and whether they can be charged |
bill_com_get_customer | Get one customer by id with contact data, billing and shipping address, payment terms, invoice currency and balance |
bill_com_list_bills | List bills (AP invoices from vendors) with id, vendor, invoice number and date, due date, amount, due amount, payment and approval status |
bill_com_get_bill | Get one bill by id with vendor, invoice number, dates, line items with accounts and classifications, amounts, payment status and approval… |
bill_com_list_recurring_bills | List recurring bill templates with vendor, schedule, amount and next due date |
bill_com_list_vendor_credits | List vendor credits (amounts a vendor owes back) with vendor, credit date, amount, applied amount and status |
bill_com_list_invoices | List AR invoices with id, customer, invoice number and date, due date, total, due amount and status |
bill_com_get_invoice | Get one AR invoice by id with customer, number, dates, line items, totals, amount due, status and payment link details |
bill_com_list_credit_memos | List AR credit memos with customer, reference number, credit date, amount, applied amount and status |
bill_com_list_payments | List AP payments made to vendors with id, vendor, amount, process date, disbursement type, status and the bills paid |
bill_com_get_payment | Get one AP payment by id with vendor, amount, funding account, process and expected arrival dates, status, disbursement type and bills paid |
bill_com_list_received_payments | List payments received from customers (AR) with customer, amount, payment date, type, status and the invoices they settle |
bill_com_get_received_payment | Get one received payment by id with customer, amount, payment date, method, status and the invoices it was applied to |
bill_com_list_pending_approvals | List the bills waiting for approval by the signed-in user, with bill, vendor, amount and due date |
bill_com_list_approval_policies | List the bill approval policies of the organization: rules (for example amount thresholds or vendors) and the approvers in order |
bill_com_approve_or_deny_bills | Approve or deny bills waiting for the signed-in user's approval, with an optional comment per bill |
プロンプトの例
- 「未払いまたは一部支払い済みの請求書を支払期日順に並べ、今後 14 日以内に期日を迎える金額を教えてください。」
- 「私の承認待ちの請求書はどれですか。仕入先と金額も教えてください。」
- 「支払期日を過ぎた未回収の顧客向け請求書を、残額とともに一覧にしてください。」
- 「今月行った仕入先への支払いと、それぞれが精算した請求書を教えてください。」
FAQ
Gemini CLI はどこから MCP サーバーを読み込みますか? ユーザー単位では ~/.gemini/settings.json、プロジェクト単位ではプロジェクト内の .gemini/settings.json です。gemini mcp list で各サーバーと接続状態を確認できます。
次のステップ
このガイドは役に立ちましたか?