Wave Accounting MCP Serverのロゴ

Wave Accounting MCP Server

コミュニティ
vinnividivicci

An MCP server for Wave

公開者vinnividivicci
リポジトリwave_mcp
言語Python
フォーク
10
スター
22
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Wave Accounting MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 利用可能なツール(0個)

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースプロジェクトの注目度

    リンク先のリポジトリには22件のスターと10件のフォークがあります。

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

  1. Clone the repository:
bash
git clone https://github.com/vinnividivicci/wave_mcp.git
cd wave_mcp
  1. Install dependencies:
bash
pip install -r requirements.txt
  1. Create a .env file:
env
WAVE_ACCESS_TOKEN=your_wave_oauth2_access_token_here

Getting Your Wave Access Token

  1. 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

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 text
  • search_vendor: Search for existing vendors
  • get_expense_accounts: List available expense accounts

Income Management

  • create_income_from_payment: Create income transactions
  • search_customer: Search for existing customers
  • get_income_accounts: List available income accounts

Business Management

  • set_business: Set the active business
  • list_businesses: List all available businesses

Debugging

  • debug_accounts: List all accounts with types and subtypes for troubleshooting

Important Notes

Vendor and Customer Management

  • Vendors and customers must be created manually in Wave's web interface
  • The API supports searching existing vendors/customers but not creating new ones
  • Transactions can be created without vendors/customers and linked later

Limitations

  • Wave API doesn't support attaching receipt images/PDFs
  • Maximum 2 simultaneous API requests (Wave rate limiting)
  • OAuth2 tokens may expire and need refreshing

Development

Running Tests

bash
# Currently no test suite - testing via Claude Desktop integration
python mcp_server.py

Project Structure

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

Troubleshooting

"Wave client not initialized"

  • Verify your WAVE_ACCESS_TOKEN is set correctly
  • Check that the token has valid permissions

"No business selected"

  • Use the list_businesses tool to see available businesses
  • Set the active business with set_business

MCP Server Not Available in Claude

  • Ensure the path in claude_desktop_config.json is absolute
  • Verify Python and all dependencies are installed
  • Restart Claude Desktop

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Security

  • Never commit your .env file or API keys
  • Use environment variables for all sensitive data
  • Regularly rotate your API tokens
  • Follow Wave's security best practices

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "vinnividivicci-wave_mcp": {
      "command": "",
      "args": []
    }
  }
}

Wave Accounting MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Wave Accounting MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」→「詳細設定」→「Model Context Protocol」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「Model Context Protocol」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Wave Accounting MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Wave Accounting MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタのステータスが「準備完了」のままか確認するには、画面を更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "vinnividivicci-wave_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "wave_mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてWave Accounting MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Wave Accounting MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Wave Accounting MCP Serverを使ってこのタスクを手伝ってもらえますか?
Wave Accounting MCP Server
はい、読みました。
Wave Accounting MCP Serverで調べた結果をお伝えします。

よくある質問

Wave Accounting MCP Server MCPサーバーは何に使いますか?

Wave Accounting MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでは、複数のAIモデルでWave Accounting MCP Server MCPを利用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでWave Accounting MCP Serverを利用できます。

TypingMindでWave Accounting MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けのトップクラスのフロントエンドです。Wave Accounting MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Wave Accounting MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Wave Accounting MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでWave Accounting MCP Server MCPのどのようなツールを利用できますか?

Wave Accounting MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Wave Accounting MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Wave Accounting MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇