インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Moss をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
Moss 支出管理(ドイツと欧州):カード、請求書、立替精算の経費と明細行・領収書、ウォレット残高と銀行取引、仕入先、経費勘定、VAT 税率、コストセンター。仕入先とディメンション項目を作成できますが、支払いや承認は一切できません。
こう聞いてみよう
Moss のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Moss をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Moss + Gemini
Moss 支出管理(ドイツと欧州):カード、請求書、立替精算の経費と明細行・領収書、ウォレット残高と銀行取引、仕入先、経費勘定、VAT 税率、コストセンター。仕入先とディメンション項目を作成できますが、支払いや承認は一切できません。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MOSS_KEY_ID, MOSS_SECRET_KEY
ステップ 1 — 認証情報を取得
設定は約 5 分です。Moss の管理者と、新しいキーを承認するための Moss モバイルアプリが必要です。
- 管理者として Moss にサインインし、Settings、Company Settings、API Keys(Settings、Platform、API Keys と表示される場合もあります)を開きます。
- Generate API Key をクリックし、Moss モバイルアプリで承認します。
- Key ID(
kid_で始まります)をMOSS_KEY_IDに、Secret Key(sk_で始まります)をMOSS_SECRET_KEYにコピーします。シークレットは一度しか表示されません。失くした場合は新しいキーを生成します。 - コネクタをインストールし、
moss_list_expensesを実行します。最新の経費が返され、キーが確認できます。
コネクタは Moss の /oauth2/token(クライアントクレデンシャル)でキーを 1 時間有効なトークンに交換し、自動で更新します。作成と更新のツールに必要なため、read を含む write スコープを要求します。AI に読み取りだけをさせたい場合は、それらのツールをオフにしてください。
読み取れるデータ: 明細行、正味・VAT・総額、行ごとの経費勘定と VAT 税率、ステータス、エクスポートステータス、仕入先を含む経費(カード取引、請求書、立替精算);経費に添付されたファイル(領収書、請求書 PDF)。moss_search_files で一覧し、moss_download_file が添付ファイルとして渡します;資金区分、通貨、ステータスを含む Moss の銀行口座(ウォレット)、各口座の残高と利用可能残高、記帳日の範囲を指定した銀行取引(カード購入と返金、支払い、引き出し、入金、返済。記帳日と価値日、取引相手、手数料付き);銀行情報、VAT ID、支払条件、既定の仕訳を含む仕入先;勘定番号付きの経費勘定;VAT 税率;期日と割引ルールを含む支払条件;コストセンター、コストキャリア、プロジェクトなどの会計ディメンションとその項目;チーム、上長、ロールを含むユーザー;チームと部署です。
フィルター: 経費は種類(CARD_TRANSACTION、INVOICE、REIMBURSEMENT)、ステータス(例 SUBMITTED、APPROVED、FLAGGED、REJECTED、REVIEWED、VERIFIED、COMPLETED)、エクスポートステータス(NOT_EXPORTED、READY_FOR_EXPORT、EXPORT_PENDING、EXPORTED、EXPORT_FAILED)、作成日、経費日、最終更新で絞り込み、ステータス、作成時刻、自国通貨の金額、経費時刻で並べ替えられます。銀行取引には必ず記帳日の範囲が必要です。明細行に付いたファイルは、行 ID も渡したときだけ一覧されます。
書き込める内容: moss_create_supplier、moss_create_dimension、moss_update_dimension、moss_create_dimension_item(例:新しいコストセンター)、moss_update_dimension_item は、仕訳に使うマスターデータを変更します。これらはインストール時にオンです。AI は作成または変更する内容を示してあなたの同意を待ち、Moss が変更を追跡できるよう external_user_id(依頼した人)を渡します。仕入先とディメンション項目は ACTIVE または DEACTIVATED に設定できますが、削除はできません。ディメンション項目の更新には常に名前とステータスが必要なため、AI は変えない項目について現在の値を送ります。既定より多くのディメンションを作成するには Moss の Multiple Dimensions モジュールが必要です。
インストール時はオフ: moss_update_supplier です。Moss が仕入先の請求書を支払う IBAN を置き換えられるためです。管理者が意図的にオンにし、その後も AI は呼び出す前に変更前と変更後の値を示します。
金額と日付: 金額は 10 進数文字列の amount と currency を持つオブジェクトです。homeAmount は会社の自国通貨建てです。日付は YYYY-MM-DD、タイムスタンプは UTC の ISO 8601 です。ID は UUID です。
制限: 一覧は 1 ページ最大 100 件(既定 50 件)を返し、meta.pagination.hasMore が true の間、AI は次の page を取得します。ID フィルターは最大 100 件の ID を受け付けます。Moss の上限は組織あたり毎分読み取り 180 回、書き込み 20 回です。
よくあるエラー: 401 はキーが失効したかトークンを発行できなかったことを意味します。MOSS_KEY_ID と MOSS_SECRET_KEY を確認してください。402 は Moss のモジュール(例:Multiple Dimensions)が契約されていないことを意味します。403 はトークンにスコープがないことを意味します。409 はレコードが有効な会計連携で管理されていることを意味します。422 は参照した ID(経費勘定、VAT 税率、支払条件、チーム)が存在しないか無効であることを意味します。429 はレート制限に達したことを意味します。Retry-After を待ってください。
このコネクタは支払い、承認、エクスポート、削除は一切できず、経費の作成や領収書のアップロードも行いません。Moss Public API にはそのための呼び出しがありません。
ステップ 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 が
Mossのツールを呼び出せるようになりました。
利用可能なツール
| Tool | What it does |
|---|---|
moss_list_expenses | List expenses (card transactions, invoices and reimbursements) with their line items, amounts in original and home currency, status, export… |
moss_search_files | List the files (receipts, invoice PDFs) attached directly to the given expenses: id, name, original name, size and upload time |
moss_download_file | Download one file attached to an expense (receipt or invoice, usually a PDF or image) by its id from moss_search_files |
moss_list_expense_accounts | List expense accounts (the accounting sub-categories booked on expense lines): id, name, account number and status |
moss_get_expense_account | Get one expense account by id: name, account number and status |
moss_list_dimensions | List the accounting dimensions of the organisation (e.g. cost centre, cost carrier, project; at most 50): id, name, ERP name and id, status |
moss_get_dimension | Get one accounting dimension by id: name, ERP name, ERP id and status |
moss_list_dimension_items | List the items (values) of one dimension, e.g. the cost centres: id, name, code and status |
moss_get_dimension_item | Get one dimension item (e.g. a cost centre) by id: name, code and status |
moss_list_suppliers | List suppliers: id, name, supplier number (code), status, currency, VAT id, bank details, default payment method, payment term and default… |
moss_get_supplier | Get one supplier by id (e.g. the supplierId of an expense) with bank details, VAT id and defaults |
moss_list_payment_terms | List payment terms: id, number, description, status and the due date rules (days, discounts) |
moss_get_payment_term | Get one payment term by id, e.g. the paymentTermId of a supplier |
moss_list_tax_rates | List VAT rates: id, name, code, rate and status |
moss_get_tax_rate | Get one VAT rate by id (taxRateId of an expense line): name, code, rate and status |
moss_list_users | List the users of the organisation: id, name, e-mail, team, manager, roles and status. createdBy of an expense is a user id |
moss_get_user | Get one user by id: name, e-mail, team, manager, roles and status |
moss_list_teams | List teams: id, name, department and status |
moss_get_team | Get one team by id (teamId of a user or default team of a supplier): name, department and status |
moss_list_departments | List the departments of the organisation: id and name |
moss_get_department | Get one department by id (the department of a team) with its name |
moss_list_bank_accounts | List the Moss bank accounts (wallets) of the organisation: id, funding type (CREDIT or DEBIT), currency and status (ACTIVE or CLOSED) |
moss_get_bank_account_balance | Get the current balance of one Moss bank account: balance (ledger) and availableBalance (what can still be spent, lower when transactions… |
moss_search_bank_transactions | Search the money movements of Moss wallets by booking date: card purchases and refunds, payouts, withdrawals, top-ups and repayments, with… |
moss_create_supplier | Create a supplier in Moss with name, supplier number, currency, VAT id, bank details, default payment method, payment term and default… |
moss_update_supplier | Change fields of an existing supplier; only the fields you send change |
moss_create_dimension | Create an accounting dimension (e.g |
moss_update_dimension | Rename a dimension in Moss and set its name in the accounting system |
moss_create_dimension_item | Add an item to a dimension, e.g. a new cost centre or project with its name and code |
moss_update_dimension_item | Rename a dimension item, change its code, or activate or deactivate it |
プロンプトの例
- 「先月のカード取引のうち、まだ NOT_EXPORTED のものを金額、仕入先、経費勘定付きで一覧にしてください。」
- 「今、各 Moss ウォレットの利用可能残高はいくらですか?」
- 「10 月 14 日の 249.90 EUR の Moss 経費に添付された領収書を見せてください。」
- 「第 3 四半期の請求書を仕入先と VAT 税率ごとに合計してください。」
- 「コストセンターのディメンションにコストセンター 4300 Marketing Events を作成してください。作成する前に内容を見せてください。」
FAQ
Gemini CLI はどこから MCP サーバーを読み込みますか? ユーザー単位では ~/.gemini/settings.json、プロジェクト単位ではプロジェクト内の .gemini/settings.json です。gemini mcp list で各サーバーと接続状態を確認できます。
次のステップ
このガイドは役に立ちましたか?