Boxkite — Xero Backup & Export
Complete read-only backup and export of Xero accounting data as a ZIP plus a manifest.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"xero-backup-export": {
"url": "https://app.getboxkite.com/mcp"
}
}
}远程端点
https://app.getboxkite.com/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢list_organisations
List the accounting organisations (Xero, Sage, Reckon, or QuickBooks) connected to the authenticated Boxkite account.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴start_export(organisationId)
Starts a read-only export of one accounting organisation's data (Xero, Sage, Reckon, or QuickBooks). Costs $39 per organisation: when payment is outstanding the response is status 'awaiting_payment' with a Stripe checkoutUrl for the user to complete in a browser, and the export begins once that payment settles. This is not a status endpoint: it reports only the state at creation, and repeat calls return the existing export for that organisation rather than creating or charging for a second one. Export progress is reported by get_export_status, and newly created exports appear in list_exports. A typical export runs for hours, and pauses whenever it meets a provider rate limit or Boxkite's egress budget — anything from under a minute to the next UTC day. get_export_status reports when it resumes.
输入模式
{
"type": "object",
"properties": {
"organisationId": {
"description": "Organisation id from list_organisations",
"type": "string"
}
},
"required": [
"organisationId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_exports(organisationId)
List one-off exports (newest first), optionally for one organisation. Use this to find an export after payment and to poll its status until it is 'ready'. Side-effect free: it never starts a new export or charges anything. Each entry carries progress, parkedUntil and pollAfterSeconds.
输入模式
{
"type": "object",
"properties": {
"organisationId": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_export_status(exportId)
Reports the state of one export: status (queued | running | ready | failed) and whether its download is available yet. Also returns progress {discovered, transferred, percent}; parkedUntil; and pollAfterSeconds, the interval after which this status is expected to have changed. A large export runs for hours, so pollAfterSeconds can be a long interval. parkedUntil is a timestamp, present whenever work on the organisation is paused and expected to resume. How long varies by cause and is not worth guessing at: hitting Xero's per-minute limit pauses for under a minute, approaching its daily quota pauses for about an hour, and exhausting the daily quota or Boxkite's own egress budget pauses until the next UTC day. Wait until the timestamp (or pollAfterSeconds, which already accounts for it) rather than describing a cause to the user.
输入模式
{
"type": "object",
"properties": {
"exportId": {
"type": "string"
}
},
"required": [
"exportId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_export_manifest(exportId, fileOffset, fileLimit)
See what an IN-PROGRESS export contains so far (entities included, per-entity record/file counts, and per-file checksums), growing as discovery and downloading proceed. The per-file list is paged: check filesPage.hasMore and pass fileOffset to walk it. Once the export finishes, this returns status 'complete' with a pointer instead of a list, because the full manifest travels inside the ZIP as manifest.json: get a download URL, then read manifest.json from the archive.
输入模式
{
"type": "object",
"properties": {
"exportId": {
"type": "string"
},
"fileOffset": {
"description": "Index of the first file to return (default 0)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"fileLimit": {
"description": "Files per page (default 500, max 5000)",
"type": "integer",
"minimum": 1,
"maximum": 5000
}
},
"required": [
"exportId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_export_mapping(exportId, fileOffset, fileLimit)
For an IN-PROGRESS export, get the mapping of each file discovered so far to the accounting object it represents or is attached to (e.g. which invoice a receipt PDF belongs to). Paged (default 200 files, max 500): check filesPage.hasMore and pass fileOffset for the next page; the `objects` map covers only the files on the current page. Once the export finishes, this returns status 'complete' with a pointer instead: the full mapping ships under Info/ inside the ZIP, so download the archive and read Info/files.json from it.
输入模式
{
"type": "object",
"properties": {
"exportId": {
"type": "string"
},
"fileOffset": {
"description": "Index of the first file to return (default 0)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"fileLimit": {
"description": "Files per page (default 200, max 500)",
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"required": [
"exportId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_download_url(exportId)
Returns a short-lived signed URL for the export ZIP, valid within the export's 7-day retention window, along with byteSize (the archive's size in bytes, null if unavailable) and fileCount. These archives range from a few MB to several GB. The archive contains the exported files plus manifest.json (every file with its sha256) and Info/ (the file-to-Xero-object mapping).
输入模式
{
"type": "object",
"properties": {
"exportId": {
"type": "string"
}
},
"required": [
"exportId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据