FixPayment

FixPayment MCP for Creditors

FixPayment MCP Server

A FastMCP server exposing a creditor-facing API for the FixPayment portal.
Connect any MCP-enabled AI assistant (e.g. Claude) to your FixPayment account to create accounts, update statuses, and run reports — all in plain English.

  • MCP server URL: http://fixpayment.org:8000
  • Docs: https://fixpayment.org/mcp/fixpayment-mcp.html
  • Support: [email protected]

Quick Start

# 1. Clone & install dependencies
pip install -r requirements.txt

# 2. Configure credentials
cp .env.example .env
# Edit .env and set FIXPAYMENT_DB_* variables

# 3. Run the server
python -m mcp.server
# or via FastMCP CLI:
fastmcp run mcp/server.py:mcp

Environment Variables

VariableDescriptionDefault
FIXPAYMENT_DB_HOSTPostgreSQL hostlocalhost
FIXPAYMENT_DB_PORTPostgreSQL port54432
FIXPAYMENT_DB_NAMEDatabase namefixpayment_db
FIXPAYMENT_DB_USERDatabase userfixpayment_user
FIXPAYMENT_DB_PASSDatabase password(required)
FIXPAYMENT_UPLOAD_PATHUpload root directory/var/www/fixpayment/uploads/

Auth Model

Every MCP tool requires an api_key argument.
The key maps to a creditor_id and a plan (basic, reports, or full) in the mcp_api_keys table.


Plans & Tools

Toolbasicreportsfull
ping
get_plan_info
get_account_summary
list_accounts_basic
validate_account_payload
accounts_report
payments_report
settlements_report
performance_report
create_account
bulk_create_accounts
update_account_status
add_account_document

Project Structure

fixpayments/
├── mcp/
│   ├── __init__.py
│   ├── server.py          # FastMCP instance + entrypoint
│   ├── db.py              # DB connection helper
│   ├── auth.py            # API key validation
│   └── tools/
│       ├── __init__.py
│       ├── basic.py       # Basic plan tools (5 tools)
│       ├── reports.py     # Reports plan tools (4 tools)
│       └── accounts.py    # Full plan tools (4 tools)
├── docs/
│   └── fixpayment-mcp.html
├── .env.example
├── .gitignore
├── requirements.txt
└── README.md

Database Schema (required tables)

  • mcp_api_keysapi_key, creditor_id, plan, active, expires_at
  • fixpayment_accounts — accounts table
  • fixpayment_payments — payments table
  • fixpayment_settlements — settlements table
  • fixpayment_account_documents — document attachments

To request an API key or upgrade your plan, email [email protected].

Server Terkait