Get the FREE Ultimate OpenClaw Setup Guide →

loanpro

MCP server from MiloCreditPlatform/loanpro-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio milocreditplatform-loanpro-mcp-server go run . --transport=stdio \
  --env PORT="8080" \
  --env LOG_LEVEL="INFO" \
  --env LOG_FORMAT="TEXT" \
  --env LOANPRO_API_KEY="your_api_key" \
  --env LOANPRO_API_URL="https://your-loanpro-instance.com/api" \
  --env LOANPRO_TENANT_ID="your_tenant_id"

How to use

The LoanPro MCP Server exposes read-only LoanPro data through multiple MCP transport protocols, including HTTP, Server-Sent Events (SSE), and stdio. It aggregates loan, customer, balance, payments, and transaction information from LoanPro and serves it via the MCP API so clients can discover tools and invoke operations in a standardized way. Endpoints and transports support real-time streaming (SSE), standard REST-like requests (HTTP), and local client integration via stdio for MCP clients.

To use the server, run it with the desired transport (stdio for local MCP clients, or start HTTP/SSE transports in a separate deployment). Tools such as get_loan, search_loans, get_customer, search_customers, get_loan_payments, and get_loan_transactions are available through the MCP tool interface. You can query tool metadata or call specific tools with the appropriate parameters (e.g., loan_id or search_term) to retrieve comprehensive data from LoanPro in a read-only fashion.

How to install

Prerequisites:

  • Go (1.20+ recommended) installed on your system
  • Access to a LoanPro instance with API URL and API key
  • Optional: Go modules proxy configuration if behind a corporate firewall

Install steps:

  1. Clone the repository: git clone https://github.com/yourorg/milocreditplatform-loanpro-mcp-server.git cd milocreditplatform-loanpro-mcp-server

  2. Create and configure environment variables: cp .env.example .env

    Edit .env to set LoanPro credentials and server settings

  3. Build or run the server directly (stdio transport example): go run . --transport=stdio

    To run HTTP or SSE transports, you can start the server with the respective transport flags, for example: go run . --transport=http go run . --transport=sse

  4. Verify startup by checking the server output and health endpoint if enabled.

Note: If you prefer building a binary for distribution, you can use: go build -o loanpro-mcp-server . ./loanpro-mcp-server --transport=stdio

Additional notes

Environment variables:

  • LOANPRO_API_URL: The base API URL for LoanPro (e.g., https://your-loanpro-instance.com/api)
  • LOANPRO_API_KEY: API key for authenticating with LoanPro
  • LOANPRO_TENANT_ID: Tenant or account identifier for LoanPro data access
  • PORT: Port on which the MCP server will listen (default 8080)
  • LOG_LEVEL / LOG_FORMAT: Optional logging configuration (e.g., INFO, DEBUG; TEXT or JSON)

Common issues:

  • Ensure the LoanPro API URL and API key are correct and have the necessary permissions for read-only data access.
  • If using the HTTP transport, ensure port exposure and firewall rules allow inbound connections.
  • When using stdio transport, ensure your MCP client is correctly wired to stdin/stdout and matches the MCP protocol version.
  • If transpiling to a microservice container, consider pinning Go version and caching dependencies to speed up builds.

Related MCP Servers

Sponsor this space

Reach thousands of developers