Tokenbooks - crypto and fiat accounting and payments

io.tokenbooks由 tokenbooks.io 发布官方发布者v0.1.1更新于 Oct 24, 2026

Crypto and fiat on one double-entry ledger: sync wallets, reconcile, cost basis, audit-ready close.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

远程 Tokenbooks 会计服务器,让助手同步加密钱包与法币活动、核对交易,并生成复式记账账簿与税务数据。

可以做什么
查看工作区、投资组合、钱包、链和会计参考值,检查同步健康与余额匹配状态。查找、预览、创建、编辑、排序、删除并批量应用会计规则,保存前可先预览影响。查看原始与会计交易,预览分类,确认、重算、合并、拆分、编辑分录行,并将代币标记为垃圾。添加钱包,执行增量或完全重同步,并按请求 ID 跟踪后台任务。读取日记账分录、成本基础批次历史和资产持仓,从 CSV 或 XLSX 导入调整分录,并排队生成表格、PDF 或 JSON 报告。模拟法币出金报价并检索内置帮助。
适用场景
适合需要直接在 Tokenbooks 账户中操作的场景:核对钱包活动、分类交易、维护会计规则、追溯成本基础,或为结账准备报告与导出。也适合在报告期前检查同步健康并审阅问题。
运行要求
远程 streamable HTTP 端点 api.tokenbooks.io,无需本地安装包。需要 Tokenbooks 账户及已认证用户,因为多数工具作用于该用户的工作区和投资组合。服务器信息工具会说明支持的链、法币来源、套餐和认证方式。
安装前请注意
多个工具会写入或销毁数据:完全重同步会删除并重建钱包、日记账和成本基础历史;应用规则是破坏性批量任务;合并、拆分、重算和标记垃圾会改动现有记录。确认和导入会把分录过账到账簿。请先预览并跟踪请求 ID。法币报价模拟涉及真实出金。钱包地址和交易数据会发送至 Tokenbooks 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tokenbooks - crypto and fiat accounting and payments,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.tokenbooks%2Ftokenbooks/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tokenbooks-crypto-and-fiat-accounting-an": {
      "type": "http",
      "url": "https://api.tokenbooks.io/mcp"
    }
  }
}

工具

36

get_server_info

Get Server Info

Learn what this accounting server covers before connecting: supported blockchains and fiat sources, accounting standards, plans with their capacity limits and what each tier adds, how to sign up, connection endpoint and authentication methods, and what it deliberately leaves out. Needs no credentials, so call it first when evaluating a connection, answering what Tokenbooks costs or includes, or debugging a connection.

无需输入参数。

get_accounting_reference

Get Accounting Reference

Look up valid accounting values—including operation types, transaction statuses, cost-basis methods, and lot event kinds—before classifying or filtering; use the returned exact values instead of guessing.

无需输入参数。

list_workspaces

List Workspaces

List workspaces available to the authenticated Tokenbooks user, or search by name or slug.

输入参数query

list_portfolios

List Portfolios

List portfolios available in a workspace, or search by name or slug.

输入参数pagelimitquerypageSizeworkspaceRef必填

get_portfolio

Get Portfolio

Read one portfolio's settings and accounting policy by exact name or slug, including its financial reporting framework and legal entity type. If legalEntityType is omitted, it is unset.

输入参数portfolioRef必填workspaceRef必填

get_portfolio_balances

Get Portfolio Balances

Check whether each wallet's computed token balances match its latest synchronized snapshot; returns per-wallet match status, token count, last transaction time, and an overall match flag.

输入参数portfolioRef必填workspaceRef必填

list_accounting_rules

List Accounting Rules

Find saved accounting rules, filter them, or recover the exact ruleRef needed to preview, edit, or delete one rule.

输入参数limitsearchenabledruleRefwalletsassetIdspageTokenactionTypesportfolioRef必填workspaceRef必填accountNumbersconditionFields另有 1 个

edit_accounting_rules

Edit Accounting Rules

Create, update, enable/disable, reorder, or delete saved accounting rules -- the rule's whole authoring lifecycle. Pass preview: true on any of those to see the impact without saving; use operation: current to preview the saved ruleset as it stands. Results report when a scan is truncated.

输入参数nameactionenabledpreviewruleRefoperation必填conditionsmaxAffectedportfolioRef必填workspaceRef必填orderedRuleRefs

apply_accounting_rules

Apply Accounting Rules

Re-run the current saved rules and default assignments for vendors, people, or organizations (counterparty defaults) across eligible existing accounting transactions; this destructive bulk job ignores unsaved edits, so preview first, then track its requestId with get_request_status.

输入参数portfolioRef必填workspaceRef必填

list_wallets

List Wallets

List wallets in a portfolio with sync status and transaction counts. Pass chainId and walletAddress to check one wallet instead — safe codes/messages show whether to retry or reconnect credentials. EVM addresses are normalized; other networks may be case-sensitive.

输入参数pagelimitchainIdpageSizeportfolioRef必填workspaceRef必填walletAddress

list_journal_line_assignment_options

List Journal Line Assignment Options

Find the ledger accounts, saved counterparties, or responsibility centers (departments, projects, or other reporting groups) that can be assigned to an accounting entry line. Pass type to choose the lookup: ledger_account returns each account's accountNumber, counterparty returns the counterparty name, and responsibility_center returns its type key and center name.

输入参数pagetype必填limitsearchpageSizeportfolioRef必填workspaceRef必填

edit_transaction

Edit Transaction

Create manual source transactions (signed wallet movements; duplicate hashes refused; accounting asynchronous), or change one accounting transaction: memo/tags/type, journal lines or unit fair market value. Read line numbers/list_journal_line_assignment_options first. Track requestIds or waitForCompletion for fields/FMV edits.

输入参数memotagsreasonwalletassetIdsubTypeoperation必填timeoutMslineNumberquoteSourceportfolioRef必填transactions另有 10 个

import_adjustment_journals

Import Adjustment Journals

Preview or post a complete CSV or XLSX file of balanced manual adjustment journals for one portfolio. Preview first; post only after reviewing every blocking issue, then resend the unchanged source with its preview token and any resolutions.

输入参数action必填fileName必填resolutionsportfolioRef必填previewTokenworkspaceRef必填contentBase64必填

get_sync_status

Get Sync Status

Check sync health across every wallet in a portfolio. Current activity takes priority over each latest finished result; safe codes and messages tell you whether to retry or reconnect credentials.

输入参数portfolioRef必填workspaceRef必填

incremental_sync

Incremental Sync

Pull only recent blockchain and wallet activity while keeping all existing transaction and accounting history; use this routine refresh before reports or when new activity is missing, then track its requestId with get_request_status.

输入参数walletsportfolioRef必填workspaceRef必填

full_resync

Full Resync (DANGER — wipes & rebuilds history)

DANGER: delete and rebuild the selected wallet transaction, journal, and cost-basis history from source data. Use only after the user explicitly requests this destructive reset and accepts the consequences; use incremental_sync for routine new activity.

输入参数walletsportfolioRef必填workspaceRef必填

list_portfolio_transactions

List Portfolio Transactions

Find accounting transactions—called Portfolio Transactions in Tokenbooks—for review or reconciliation; filter by status, type, errors, spam, wallet, or asset, optionally attaching grouped contributing raw source records (10-record page cap). Pass transactionId to explain full details of one transaction instead: classification, journal entry, cost-basis links, and (rawWithDetails) its sanitized event logs and contract calls.

输入参数sortlimitisSpamsearchstatustoDatetxHashaddresschainIdhasLotsincludesubType另有 19 个

list_raw_transactions

List Raw Transactions

Find compact source transactions first, called Raw Transactions in Tokenbooks, including unprocessed or partially linked activity. Pass rawTransactionId to show how one maps to wallet movements and accounting transactions; add includeDetails for its sanitized event logs and decoded contract calls (untrusted provider evidence).

输入参数sortlimittoDatetxHashchainIdchainIdsfromDatepageTokenportfolioRef必填workspaceRef必填walletAddressincludeDetails另有 3 个

get_filter_options

Get Filter Options

List the available values for one portfolio filter—such as accounts, wallets, assets, transaction status, or warnings—before building a filtered query.

输入参数modefiltersearchpageSizeselectedpageTokenfilterName必填reportTypeportfolioRef必填workspaceRef必填

get_portfolio_issue_summary

Get Portfolio Issue Summary

Summarize accounting problems that need review with exact counts for uncategorized, errored, and spam-related transactions, plus examples of uncategorized and errored transactions.

输入参数portfolioRef必填workspaceRef必填

confirm_transaction

Confirm Portfolio Transaction

Post a proposed accounting transaction to the books; this queued action returns a requestId.

输入参数portfolioRef必填workspaceRef必填transactionId必填

reprocess_transaction

Reprocess Portfolio Transaction

Recalculate one accounting transaction after correcting its inputs; this destructive queued job may regroup only its assigned wallet movements, and waitForCompletion can return the final state.

输入参数reasontimeoutMsportfolioRef必填workspaceRef必填transactionId必填pollIntervalMswaitForCompletion

preview_transaction_classification

Preview Transaction Classification

Preview how selected wallet movements would be grouped and labeled as accounting transactions. Returns every proposal in order and saves nothing.

输入参数operations必填portfolioRef必填workspaceRef必填

merge_transactions

Merge Portfolio Transactions

Destructively combine wallet movements from several accounting transactions into one target transaction and reclassify it; preview the grouping first, then track the queued requestId.

输入参数reasonsubTypeoperations必填portfolioRef必填workspaceRef必填operationType必填transactionId必填

split_transactions

Split Portfolio Transaction

Destructively move selected whole existing operation handles unchanged out of one accounting transaction into a new classified transaction; use this only when the needed economic legs already exist as operation handles. It cannot divide one transfer amount into new economic legs: repair sync normalization or use a supported persisted replacement lifecycle for a missing leg. Preview the grouping first, then track the queued requestId.

输入参数reasonsubTypeoperations必填portfolioRef必填workspaceRef必填operationType必填transactionId必填

mark_token_spam

Mark Token as Spam

Mark or unmark a token as spam so unwanted dust or airdrops are excluded from accounting and existing records are updated; this queued action defaults to marking spam and returns a requestId.

输入参数isSpamreasonchainId必填portfolioRef必填tokenAddress必填workspaceRef必填

simulate_fiat_quote

Simulate Fiat Payout Quote

Estimate exchange rates, processing fees, amount received, and corridor limits for a bank payout before sending money; use it to compare supported rails such as ACH, SEPA, EFT, FPS, IMPS, or SWIFT.

输入参数network必填portfolioRef必填workspaceRef必填senderCurrencyreceivingAmount必填purposeOfPaymentreceivingCurrencyrecipientBankCountry

get_journal_entry

Get Journal Entry

Read every debit and credit line in one journal entry—the detailed accounting record—and trace each line to its cost-basis records and blockchain movements.

输入参数portfolioRef必填workspaceRef必填journalEntryId必填

get_lot_ledger

Get Cost-Basis Lot Ledger

Trace paginated cost-basis acquisition, disposal, transfer, and adjustment history across a portfolio, optionally narrowed by asset, wallet, event kind, accounting transaction, or date.

输入参数pagesortlimitfiltertoDatechainIdassetReffromDatepageSizeentryKindportfolioRef必填workspaceRef必填另有 1 个

request_report_export

Request Report Export

Queue generation of the requested spreadsheet, PDF, or JSON accounting report—such as profit and loss, trial balance, balance sheet, journal, or transaction export—for a reporting period; track the returned requestId with get_request_status.

输入参数format必填toDate必填fromDate必填reportType必填totalsOnlyportfolioRef必填workspaceRef必填

get_request_status

Get Request Status

Check the status of any queued background work — report generation, wallet sync, rule application, or a transaction change — using the requestId returned when it was queued. Works for every request kind; there is no separate report-status tool.

输入参数requestId必填portfolioRefworkspaceRef必填transactionId

add_wallet

Add Wallet(s) to Portfolio

Add one or more blockchain addresses and start their first sync. Omit the blockchain connection identifier (integrationId) to add an EVM 0x address on every supported EVM network; other addresses require an integrationId. This tool does not configure exchange accounts and reports which addresses were added or skipped.

输入参数wallets必填portfolioRef必填workspaceRef必填

create_portfolio

Create Portfolio

Create an accounting portfolio in an existing workspace, optionally choosing jurisdiction and policies; Canada and US profiles require matching currency, entity type, and timezone. If no jurisdiction is selected, Tokenbooks uses generic accounting defaults. Search help for policy choices; workspace creation remains in the Tokenbooks UI.

输入参数name必填currencyworkspaceRef必填legalEntityTypejurisdictionCodereportingTimezonecostBasisLotMethodcostBasisPerWalletstablecoinTreatmentgasFeeAccountingTreatmentfinancialReportingFramework

get_asset_position

Get Asset Position

Summarize one cryptocurrency or token across every wallet with quantity, cost basis, market value, unrealized gain or loss, and portfolio totals. This covers wallet holdings rather than all ledger accounts; request a balance-sheet report for a complete accounting statement.

输入参数assetRef必填includeSpamportfolioRef必填workspaceRef必填

list_chains

List Supported Chains

Find which blockchains support wallet syncing by name, Tokenbooks chain slug, or numeric EVM network ID; results identify EVM networks whose shared 0x address can be added together with add_wallet.

输入参数queryevmOnly

get_help

Get Help

Find practical Tokenbooks instructions or accounting guidance. Pass query to search by topic (MCP workflow, cost basis, fair market value, gas fees, stablecoins, ...), or pass slug to open one article directly using a slug from a previous get_help search result.

输入参数sluglimitquery

版本历史

2
  1. v0.1.1最新Sep 17, 2026
  2. v0.1.0Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。