
Wave 的 MCP 服务器
概览
一个模型上下文协议(MCP)服务器,集成了Claude与波动会计,实现费用跟踪和收入交易生成。 - 📸 : 自动从收据文本提取并创建费用 - 💰 : 从支付数据创建收入交易 - 🏢 : 无缝管理多个 Wave 业务 - 🔍 : 查找现有供应商和客户 - 📊 : 通过适当账户列出和分类交易 - 🔄 : 直接连接 Wave 的 GraphQL API - Python 3.8 或更高版本 - 带 API 访问权限的 Wave Business 账户 - Claude 桌面应用程序 - Wave OAuth2 访问令牌 1. 遵循本指南:https://developer.waveapps.com/hc/en-us/articles/360020948171-Create-a-Wave-Account-and-Test-Businesses#application : Wave API 访问可能需要批准。请查看 Wave 当前的开发者项目状态。 将服务器添加到您的Claude桌面配置中: : ~/Library/Application Support/Claude/claude_desktop_config.json : %APPDATA%\Claude\claude_desktop_config.
概述(AI 翻译)
一个模型上下文协议(MCP)服务器,集成了Claude与波动会计,实现费用跟踪和收入交易生成。
特色
- 📸 从收据创建费用:自动从收据文本提取并创建费用
- 💰 收益交易创建:从支付数据创建收益交易
- 🏢 多业务支持:无缝管理多家Wave企业
- 🔍 供应商与客户搜索:查找现有供应商和客户
- 📊 账户管理:列出并分类与适当账户的交易
- 🔄 实时集成:直接连接Wave的GraphQL API
先修条件
- Python 3.8 或更高版本
- 带API访问权限的Wave商务账户
- Claude桌面应用程序
- Wave OAuth2访问令牌
安装
-
克隆仓库:
-
安装依赖:
-
创建一个
.env文件:
获取你的波浪通行令牌
注意:Wave API访问可能需要批准。请查看Wave当前的开发者项目状态。
配置
Claude桌面设置
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Wave Accounting MCP Server
A Model Context Protocol (MCP) server that integrates Claude with Wave Accounting to automate expense tracking and income transaction creation.
Features
- 📸 Expense Creation from Receipts: Automatically extract and create expenses from receipt text
- 💰 Income Transaction Creation: Create income transactions from payment data
- 🏢 Multi-Business Support: Manage multiple Wave businesses seamlessly
- 🔍 Vendor & Customer Search: Find existing vendors and customers
- 📊 Account Management: List and categorize transactions with proper accounts
- 🔄 Real-time Integration: Direct connection to Wave’s GraphQL API
Prerequisites
- Python 3.8 or higher
- Wave Business account with API access
- Claude Desktop application
- Wave OAuth2 access token
Installation
- Clone the repository:
git clone https://github.com/vinnividivicci/wave_mcp.git
cd wave_mcp
- Install dependencies:
pip install -r requirements.txt
- Create a
.envfile:
WAVE_ACCESS_TOKEN=your_wave_oauth2_access_token_here
Getting Your Wave Access Token
- Follow this guide: https://developer.waveapps.com/hc/en-us/articles/360020948171-Create-a-Wave-Account-and-Test-Businesses#application
Note: Wave API access may require approval. Check Wave’s current developer program status.
Configuration
Claude Desktop Setup
Add the server to your Claude Desktop configuration:
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"
}
}
}
}
Restart Claude Desktop after saving the configuration.
Usage Examples
Creating an Expense from a Receipt
I have a receipt from Office Depot for $45.99 dated March 15, 2024.
It's for office supplies - printer paper and pens.
Creating Income from Payment
Received payment of $1,500 from ABC Company on March 20, 2024
for consulting services invoice #1234.
Listing Available Accounts
Show me my expense accounts in Wave.
Setting Active Business (Multi-Business Accounts)
List my Wave businesses and set the active one.
Available MCP Tools
Expense Management
create_expense_from_receipt: Create expenses from receipt textsearch_vendor: Search for existing vendorsget_expense_accounts: List available expense accounts
Income Management
create_income_from_payment: Create income transactionssearch_customer: Search for existing customersget_income_accounts: List available income accounts
Business Management
set_business: Set the active businesslist_businesses: List all available businesses
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"wave-accounting": {
"command": "python",
"args": ["/absolute/path/to/wave_mcp/mcp_server.py"],
"env": {
"WAVE_ACCESS_TOKEN": "your_wave_oauth2_access_token_here"
}
}
}
}