Wave Accounting MCP Server 是一个模型上下文协议(MCP)服务器,它将 Claude 与 Wave Accounting 集成,实现了费用跟踪和收入交易创建的自动化。
Wave Accounting MCP Server 可将 Claude 与 Wave Accounting 集成,实现费用跟踪和收入交易创建的自动化。你可以按照以下步骤进行安装和配置:
git clone https://github.com/yourusername/wave_mcp.git
cd wave_mcp
pip install -r requirements.txt
.env 文件:WAVE_ACCESS_TOKEN=your_wave_oauth2_access_token_here
⚠️ 重要提示
Wave API 访问可能需要审批,请查看 Wave 当前的开发者计划状态。
将服务器添加到你的 Claude 桌面配置中:
macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows:%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"wave-accounting": {
"command": "python",
"args": ["/absolute/path/to/wave_mcp/mcp_server.py"],
"env": {
"WAVE_ACCESS_TOKEN": "your_wave_oauth2_access_token_here"
}
}
}
}
保存配置后,重启 Claude 桌面应用程序。
I have a receipt from Office Depot for $45.99 dated March 15, 2024.
It's for office supplies - printer paper and pens.
Received payment of $1,500 from ABC Company on March 20, 2024
for consulting services invoice #1234.
Show me my expense accounts in Wave.
List my Wave businesses and set the active one.
create_expense_from_receipt:从收据文本创建费用search_vendor:搜索现有的供应商get_expense_accounts:列出可用的费用账户create_income_from_payment:创建收入交易search_customer:搜索现有的客户get_income_accounts:列出可用的收入账户set_business:设置活跃企业list_businesses:列出所有可用的企业debug_accounts:列出所有账户及其类型和子类型,用于故障排除# Currently no test suite - testing via Claude Desktop integration
python mcp_server.py
wave_mcp/
├── mcp_server.py # Main MCP server implementation
├── requirements.txt # Python dependencies
├── README.md # This file
├── LICENSE # MIT License
├── CLAUDE.md # Claude-specific instructions
├── .env # Your API credentials (not tracked)
└── docs/
└── wave_api_reference.md # Wave API documentation
WAVE_ACCESS_TOKEN 是否正确设置list_businesses 工具查看可用的企业set_business 设置活跃企业claude_desktop_config.json 中的路径是绝对路径本项目采用 MIT 许可证,请参阅 LICENSE 文件以获取详细信息。
.env 文件或 API 密钥