エアレジCSV取得MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AIRREGI_DEBUG | No | Set to 1 to output unexpected error details to standard error. | |
| AIRREGI_APP_DATA | No | Overrides the application data directory where CSV downloads and auth.json are stored. Defaults to %APPDATA%\airregi-csv-mcp\ on Windows and ~/Library/Application Support/airregi-csv-mcp/ on Mac. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_reportsA | 取得できるエアレジの帳票の一覧を返します。verified が false の帳票は、画面の確認がまだで、取得が止まることがあります。period が false の帳票は期間がなく、start_download で from と to を省きます。 |
| statusA | Chrome を開いているか、実行中の取得があるか、保存先のフォルダを返します。 |
| open_loginA | Chrome でエアレジのログイン画面を開きます。ログインは利用者が手動で行います。LOGIN_REQUIRED が返ったときに使います。 |
| list_storesA | エアレジの店舗一覧を返します。ログインが切れていると LOGIN_REQUIRED を返します。 |
| start_downloadA | 指定した帳票のCSVを、店舗ごと・月ごとに取得して保存します。期間のない帳票(list_reports で period が false。例:product_settings、category_settings)は from と to を省き、店舗ごとに1ファイル取得します。すぐに job_id を返すので、get_download で終わるまで確認してください。取得に失敗した店舗や期間を売上ゼロと扱わないでください。 |
| get_downloadA | start_download の進み具合と結果を返します。status が running のあいだは、少し待ってからもう一度呼んでください。 |
| cancel_downloadA | 実行中の取得を止めます。取得済みのファイルは残ります。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a largely distinct role: discovery (list_reports, list_stores), auth (open_login), job lifecycle (start_download, get_download, cancel_download), and environment inspection (status). The only mild overlap is between status (reporting whether a fetch is running) and get_download (reporting progress of a running job), but the descriptions make the boundary reasonably clear.
Six of seven tools follow a clean verb_noun pattern (list_reports, list_stores, open_login, start_download, get_download, cancel_download). The lone outlier is the bare noun 'status', which is slightly out of family but still unambiguous.
Seven tools is well within the sweet spot for a scoped automation server. Every tool maps to a needed step in the workflow (discover, authenticate, start, poll, cancel, inspect) with no filler.
The core lifecycle — report discovery, manual login handling, store listing, async download with polling and cancellation — is fully covered. Minor gaps remain: there is no tool to enumerate already-saved files/results per store, and no way to retry only the failed store/period combinations after a partial run.