mcp_invoice_server

mdakeel/mcp_invoice_server

3.1

If you are the rightful owner of mcp_invoice_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

FastAPI-based MCP server using ChatGPT 4.0 mini to extract client details and totals from uploaded PDF invoices.

# Box Invoice Extraction using MCP

This project extracts invoice data from files stored in a Box folder using MCP tools and stores the results in a local SQLite database.

## Setup

```bash
git clone https://github.com/TechyhutSolutions/GenAI-Projects.git
cd GenAI-Projects/box_invoice_extraction_mcp
pip install -r requirements.txt
```

How to Run

1. Start MCP server manually

python src/mcp_server_box.py --transport stdio

Leave this terminal running.

2. Run the notebook

Open L3.ipynb and run:

await process_invoices()

Output

  • Extracted data is stored in invoices.db
  • Final report includes total invoices, total amount, and breakdown by client

Notes

  • Replace BOX_FOLDER_ID with your actual Box folder ID
  • Ensure Box credentials are configured