Moneybirdのロゴ

Moneybird

コミュニティ
vanderheijden86

Moneybird MCP Server - AI-powered bookkeeping

公開者vanderheijden86
リポジトリmoneybird-mcp-server
言語TypeScript
フォーク
12
スター
28
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

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

  • 0個の利用可能なツール

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

  • コピーして使える設定

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

  • オープンソースの注目度

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

MseeP.ai Security Assessment Badge

Moneybird MCP Server

A Model Context Protocol (MCP) server that connects AI assistants like Claude to Moneybird accounting software via API.

Features

  • Contact Management: List, retrieve, filter, create, and update contacts
    • Advanced filtering by creation date, update date, name, and more
  • Financial Data: Access sales invoices, financial accounts, and payments
  • Business Operations: Manage products, projects, and time entries
  • Custom Requests: Make custom API requests to Moneybird endpoints
  • Interactive Assistant: Preconfigured prompt for a Moneybird assistant

New Developments

  • Enhanced Contact Filtering: Filter contacts using Moneybird's advanced query syntax
    • Filter by creation date: created_after:2023-01-01 00:00:00 UTC
    • Filter by update date: updated_after:2023-01-01 10:45:35 UTC
    • Filter by properties: first_name:value, etc.
  • Improved Error Handling: Better error messages and recovery
  • Performance Optimizations: Response chunking for large datasets
  • TypeScript Integration: Full type safety with Zod schema validation

Setup Instructions

Basic Setup

  1. Install the package:

    bash
    npm install -g moneybird-mcp-server
  2. Create a .env file with your Moneybird credentials:

    MONEYBIRD_API_TOKEN=your_api_token
    MONEYBIRD_ADMINISTRATION_ID=your_administration_id
  3. Run the server:

    bash
    npx moneybird-mcp-server

Claude Desktop Setup

To set up this MCP server in Claude Desktop:

  1. Install the package globally if you haven't already:

    bash
    npm install -g moneybird-mcp-server
  2. Create or edit the Claude Desktop configuration file (usually in ~/Library/Application Support/Claude/claude_desktop_config.json) to include the MCP server configuration:

    json
    {
      "mcpServers": {
        "moneybird": {
          "command": "npx",
          "args": [
            "-y",
            "moneybird-mcp-server"
          ],
          "env": {
            "MONEYBIRD_API_TOKEN": "your_api_token_here",
            "MONEYBIRD_ADMINISTRATION_ID": "your_administration_id_here"
          }
        }
      }
    }
  3. Restart Claude Desktop to apply the changes

  4. Connect to the MCP server by typing /mcp moneybird in the Claude chat input

Usage Examples

Basic Contact Listing

Overview

This server allows AI assistants to interact with your Moneybird accounting data using the Model Context Protocol. It provides various tools to:

  • List and retrieve contacts
  • View sales invoices
  • Check financial accounts
  • Access products and projects
  • View time entries
  • Make custom Moneybird API requests

Prerequisites

  • Node.js (v18 or higher recommended)
  • A Moneybird account with API access
  • A Moneybird API token

Setup

  1. Clone this repository:

    git clone https://github.com/vanderheijden86/moneybird-mcp-server.git
    cd moneybird-mcp-server
  2. Install dependencies:

    npm install
  3. Create .env file from the example:

    cp .env.example .env
  4. Edit the .env file with your Moneybird API credentials:

    • MONEYBIRD_API_TOKEN: Your Moneybird API token (generate at https://moneybird.com/user/applications)
    • MONEYBIRD_ADMINISTRATION_ID: Your Moneybird administration ID (found in URL when logged in)
    • MCP_SERVER_PORT: The port to run the MCP server on (default: 3000)

Running the Server

For development:

npm run dev

For production:

npm run build
npm start

Using with AI Assistants

This MCP server is compatible with any AI assistant that supports the Model Context Protocol. Once running, you can connect it to your AI assistant by providing the server URL:

http://your-server-address:3000

Available Tools

The server provides the following tools:

  • list_contacts: List all contacts in Moneybird
  • get_contact: Get details for a specific contact by ID
  • list_sales_invoices: List all sales invoices
  • get_sales_invoice: Get details for a specific sales invoice by ID
  • list_financial_accounts: List all financial accounts
  • list_products: List all products
  • list_projects: List all projects
  • list_time_entries: List all time entries
  • moneybird_request: Make a custom request to the Moneybird API

Security

This server should be deployed with appropriate security measures, as it provides access to your Moneybird data. Consider:

  • Running behind a secure proxy
  • Implementing authentication for the MCP server
  • Using HTTPS
  • Restricting network access

License

MIT

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "moneybird": {
      "command": "npx",
      "args": [
        "-y",
        "moneybird-mcp-server"
      ],
      "env": {
        "MONEYBIRD_API_TOKEN": "your_api_token_here",
        "MONEYBIRD_ADMINISTRATION_ID": "your_administration_id_here"
      }
    }
  }
}

MoneybirdのMCPを複数のAIモデルで活用

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

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

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

1

MCP設定を開く

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

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

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

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

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

Moneybirdをサーバーとして追加

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

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

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

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

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

よくある質問

Moneybird MCPサーバーは何に使いますか?

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

TypingMindでMoneybird MCPを複数のAIモデルと併用できますか?

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

TypingMindでMoneybird MCPを使うメリットは何ですか?

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

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

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

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

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

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

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

関連するMCPサーバー

すべて見る

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

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