“六个月前,每个人都在谈论MCP。我当时想,拧紧MCP。每个MCP作为CLI都会更好。” — 彼得·斯坦伯格OpenClaw创始人 在YouTube上观看(~2:39:00) | 莱克斯·弗里德曼播客#491
Taxamo命令行界面
生产就绪的命令行界面 Taxamo 全球税收合规API。直接从您的终端计算税款、管理交易、生成欧盟增值税报告和浏览国家设置。
免责声明:这是一个非官方的CLI工具,不隶属于Taxamo,也不受Taxamo的认可或支持。
特性
- 税款计算 --计算数字商品和服务的税额
- 交易 --创建、确认、列出和获取税务交易
- 欧盟增值税报告 --为欧盟增值税MOSS生成合规报告
- 国家/地区设置 --浏览任何国家的税务设置和税率
- JSON输出 --所有命令支持
--json用于脚本和管道 - 彩色输出 --用粉笔清洁、可读的终端输出
为什么选择CLI>MCP
MCP服务器是复杂的、有状态的,需要一个正在运行的服务器进程。CLI是:
- 更简单 --只是一个你直接调用的二进制文件
- 可组合 --管道输出至
jq,grep,awk,和其他工具 - 可编写脚本的 --在shell脚本、CI/CD管道、cron作业中使用
- 可调试 --看看到底发生了什么
--json旗帜 - AI友好 --AI代理可以像MCP一样轻松地调用CLIs,开销更少
安装
npm install -g @ktmcp-cli/taxamo身份验证设置
Taxamo使用API令牌身份验证。您需要一个私有令牌(用于交易)和一个可选的公共令牌(用于计算)。
1.获取您的代币
- 注册地址: taxamo.com网站
- 转到您的帐户设置并生成API令牌
2.配置CLI
taxamo config set --private-token YOUR_PRIVATE_TOKEN
taxamo config set --public-token YOUR_PUBLIC_TOKEN3.验证
taxamo countries list命令
配置
# Set tokens
taxamo config set --private-token
taxamo config set --public-token
# Show current config
taxamo config show税款计算
# Calculate tax for a German buyer
taxamo tax calculate --amount 100 --buyer-country DE --currency EUR
# Calculate for US buyer (no EU VAT)
taxamo tax calculate --amount 100 --buyer-country US --currency USD
# Different product types
taxamo tax calculate --amount 50 --buyer-country FR --product-type EBOOK
# Get country tax settings
taxamo tax country GB交易
# List transactions
taxamo transactions list
# Filter by date range
taxamo transactions list --from-date 2024-01-01 --to-date 2024-01-31
# Get a specific transaction
taxamo transactions get
# Create a transaction
taxamo transactions create \
--amount 100 \
--buyer-country DE \
--currency EUR \
--buyer-email customer@example.com
# Confirm a transaction
taxamo transactions confirm 报告
# Get EU VAT report
taxamo reports eu-vat
# Filter by period
taxamo reports eu-vat --start-month 2024-01 --end-month 2024-03
# Output as JSON
taxamo reports eu-vat --json国家
# List all supported countries
taxamo countries listJSON输出
所有命令支持 --json 对于机器可读输出:
# Calculate tax and extract amounts
taxamo tax calculate --amount 100 --buyer-country DE --json | jq '.transaction.transaction_lines[0] | {tax_amount, tax_rate, total_amount}'
# List transactions and filter
taxamo transactions list --json | jq '.transactions[] | {key: .key, tax_country: .tax_country_code, total: .total_amount}'贡献
欢迎在 .
许可证
麻省理工学院——见 许可证 了解详情。
______________________________________________________________________
部分 KTMCP-CLI 项目——用简单、可组合的CLI替换MCP。
______________________________________________________________________
支持KTMCP
如果您发现此CLI有用,我们将非常感谢您的支持!分享您的经验:
- 红迪
- 推特/X
- 黑客新闻
激励: 能够证明他们的支持/倡导有助于推进KTMCP的用户将优先考虑他们的功能请求和问题。
请注意,这些是真实的账户和真实的社区。真实的提及和真实的推荐会有很长的路要走!
支持这个项目
如果您发现此CLI有用,我们将感谢Reddit、Twitter、Hacker News或Moltbook的支持。请注意,这些是真实的社区账户。能够证明其支持有助于推进KTMCP的贡献者将优先考虑其PR和功能请求。
