home / mcp / invoices generator mcp server

Invoices Generator MCP Server

Provides an MCP interface to access the Invoices Generator API for generating invoices.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bach-ai-tools-bachai-invoices-generator": {
      "command": "uvx",
      "args": [
        "--from",
        "bach-invoices_generator",
        "bach_invoices_generator"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

You can access the Invoices Generator API through a dedicated MCP server that runs locally via stdio. This setup lets your applications generate invoices by invoking a simple, self-contained server process that handles authentication and formatting for you.

How to use

Start the server using a lightweight runtime so you can call its provided endpoints from your applications. Begin by ensuring you have an API key configured, which authenticates your requests.

Run the server through an MCP client by using the stdio configuration shown below. This starts the server and exposes its functionality to your MCP environment. Once running, you can request invoice data through the client’s normal workflow, and the server will generate invoices according to the parameters you provide.

How to install

Prerequisites you need before installing: Python is installed on your system and accessible from the command line. The MCP runtime uvx is used to run the server in stdio mode.

Install the Python package from PyPI, then run the server via uvx for a streamlined experience.

pip install bach-invoices_generator

# Run using the recommended uvx-based method
uvx --from bach-invoices_generator bach_invoices_generator

# Or run a specific latest version
uvx --from bach-invoices_generator@latest bach_invoices_generator

Additional configuration and usage notes

Configure the required environment variable for API authentication before starting the server. Set the API key in your environment to authorize requests.

export API_KEY="your_api_key_here"

If you prefer to run the server in development mode, you can start it directly with Python. This is suitable for local testing and debugging.

python server.py

Configuration samples for MCP clients

Use these example configurations in your MCP clients to connect to the Invoices Generator MCP server. They include the required API key in the environment.

{
  "mcpServers": {
    "bach-invoices_generator": {
      "command": "uvx",
      "args": ["--from", "bach-invoices_generator", "bach_invoices_generator"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

Using Cursor MCP and Claude Desktop configurations

If you use Cursor MCP, add the following configuration snippet to your Cursor MCP file to manage this server.

{
  "mcpServers": {
    "bach-invoices_generator": {
      "command": "uvx",
      "args": ["--from", "bach-invoices_generator", "bach_invoices_generator"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

For Claude Desktop, insert this configuration to integrate the server into your desktop workflow.

{
  "mcpServers": {
    "bach-invoices_generator": {
      "command": "uvx",
      "args": ["--from", "bach-invoices_generator", "bach_invoices_generator"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

Available tools

generate_invoice

Generates invoices via a REST-like endpoint exposed by the MCP server, accepting invoice details and returning the generated invoice data.