RemittanceAdviceGen

RemittanceAdviceGen

Enables generation of realistic remittance advice PDFs for testing purposes with configurable templates and comprehensive payment details.

Category
Visit Server

README

Business Automation MCP Servers

Multi-tool MCP server repository for business automation using FastMCP and Python.

Overview

This repository contains multiple MCP servers for business process automation:

1. RemittanceAdviceGen Server

Generates realistic remittance advice PDFs for testing purposes with configurable templates and comprehensive payment details.

Features:

  • Generate single or batch remittance PDFs
  • Realistic test data with suppliers, invoices, and payments
  • Support for payment adjustments (surcharges, credits, discounts, fees)
  • Configurable invoice line items
  • Multiple page sizes (Letter, A4)
  • Professional PDF formatting

2. APPaymentAnalyser Server (Coming Soon)

Tools for analyzing accounts payable payments, GL posting status, and payment analytics.

Installation

# Clone repository
git clone <repo-url>
cd CustomMCPServer

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -e ".[dev]"

Usage

Running RemittanceAdviceGen Server

# STDIO mode (for Claude Desktop integration)
python -m src.remittance_server.server

# HTTP mode (for network access)
fastmcp run src/remittance_server/server.py --transport http --port 8000

Available Tools

generate_remittance_pdf

Generate a single remittance advice PDF with realistic test data.

{
    "invoice_count": 3,
    "include_line_items": true,
    "page_size": "LETTER",
    "include_adjustments": true
}

batch_generate_pdfs

Generate multiple remittance PDFs in batch.

{
    "count": 10,
    "invoices_per_remittance": 3,
    "include_line_items": true
}

list_templates

List available remittance templates.

get_server_info

Get server information and statistics.

Configuration

Create a .env file in the project root:

DEBUG=false
SERVER_PORT=8000
DEFAULT_PAGE_SIZE=LETTER
DEFAULT_TEMPLATE=standard
INCLUDE_LINE_ITEMS=true

Project Structure

CustomMCPServer/
├── src/
│   ├── common/                    # Shared utilities
│   │   ├── models.py             # Pydantic models
│   │   ├── database.py           # Database utilities
│   │   ├── config.py             # Configuration
│   │   └── test_data.py          # Test data generation
│   ├── remittance_server/        # Remittance advice server
│   │   ├── server.py             # FastMCP server
│   │   └── pdf_generator.py     # PDF generation engine
│   └── payment_analyser/         # Payment analyser server (coming soon)
├── tests/                         # Test suite
├── templates/                     # PDF templates
├── output/                        # Generated PDFs
├── data/                          # Database files
├── pyproject.toml                # Dependencies
└── README.md

Testing

# Run all tests
pytest

# Run with coverage
pytest --cov=src

# Run specific test file
pytest tests/test_remittance_server.py

Claude Desktop Integration

Add to your Claude Desktop config:

{
  "mcpServers": {
    "remittance-advice": {
      "command": "python",
      "args": ["-m", "src.remittance_server.server"],
      "cwd": "/path/to/CustomMCPServer"
    }
  }
}

Development

Adding New Servers

  1. Create new directory under src/
  2. Implement FastMCP server with tools
  3. Use shared models from src/common/
  4. Add tests in tests/
  5. Update documentation

Data Models

All servers share common Pydantic models in src/common/models.py:

  • PaymentDetail: Payment information with adjustments
  • Invoice: Invoice details with line items
  • Supplier: Vendor information
  • Company: Paying company information
  • RemittanceAdvice: Complete remittance document

License

MIT License - See LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured