
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: support@fixpayment.org
Environment Variables
| Variable | Description | Default |
|---|---|---|
FIXPAYMENT_DB_HOST | PostgreSQL host | localhost |
FIXPAYMENT_DB_PORT | PostgreSQL port | 54432 |
FIXPAYMENT_DB_NAME | Database name | fixpayment_db |
FIXPAYMENT_DB_USER | Database user | fixpayment_user |
FIXPAYMENT_DB_PASS | Database password | (required) |
FIXPAYMENT_UPLOAD_PATH | Upload 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
| Tool | basic | reports | full |
|---|---|---|---|
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.mdDatabase Schema (required tables)
mcp_api_keysβapi_key,creditor_id,plan,active,expires_atfixpayment_accountsβ accounts tablefixpayment_paymentsβ payments tablefixpayment_settlementsβ settlements tablefixpayment_account_documentsβ document attachments
To request an API key or upgrade your plan, email support@fixpayment.org.
Copy & paste β that's it
# 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:mcpQuick 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:mcpNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.