Loan MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Loan MCP ServerGet loan summary for reference LN-2025-00123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Loan MCP Server
A Model Context Protocol (MCP) server that exposes read and analytics tools for a Loan Management System backed by Microsoft Dataverse. It can be consumed by MCP clients (Claude Desktop, Copilot Studio) over stdio or HTTP, and includes an optional WhatsApp assistant.
Features
12 loan tools: lookups, search, timeline, eligibility, officer workload and portfolio analytics.
Two transports: stdio (Claude Desktop) and Streamable HTTP (Copilot Studio / remote clients), JSON-RPC 2.0.
Optional WhatsApp assistant via Twilio + an LLM.
Microsoft Entra ID authentication (client credentials); Dataverse Web API v9.2.
TypeScript, Node.js 22+, structured logging, typed error handling.
Related MCP server: dataverse-mcp-server
Tools
Tool | Input | Description |
|
| Full loan summary |
|
| Status, eligibility, officer, review flag |
|
| Loans for a phone number |
|
| Applications for an applicant |
|
| Milestone timeline |
|
| Eligibility explanation |
|
| Required document checklist |
| – | Loans under manual review |
|
| An officer's assigned loans and workload |
|
| Loans by status |
|
| Loans assigned to an officer |
| – | Portfolio totals and amount statistics |
Prerequisites
Node.js 22 or later
A Microsoft Dataverse environment
An Entra ID app registration with a corresponding Dataverse application user (Read access to the loan table)
Getting started
npm install
cp .env.example .env # then fill in the required values
npm run build
npm start # HTTP server (dist/http.js)For local development with reload:
npm run dev:http # HTTP
npm run dev # stdioConfiguration
Set these in .env (local) or as environment variables / Azure App settings (hosted).
Required
Variable | Description |
| Entra ID directory (tenant) ID |
| App registration (client) ID |
| Client secret value |
| e.g. |
Common optional (defaults in parentheses)
Variable | Description |
| Shared secret for the HTTP endpoint ( |
| Loan entity set name ( |
| Listen port/host ( |
|
|
See .env.example for the full list, including the WhatsApp settings below.
Usage
The server is transport-only; a client drives the tools.
Claude Desktop (stdio): point an
mcpServersentry atnode dist/index.js(ornpm run start:stdio).Copilot Studio / remote (HTTP): add an MCP tool at
https://<host>/mcpwith API-key auth (headerx-api-key).
GET /healthz returns liveness and WhatsApp status.
WhatsApp (optional)
Lets users query loans over WhatsApp. Enabled only when HUGGINGFACE_API_KEY and the TWILIO_* variables are set.
Set
HUGGINGFACE_API_KEY(or another OpenAI-compatible endpoint viaLLM_BASE_URL/LLM_MODEL).Create a Twilio WhatsApp Sandbox; set
TWILIO_ACCOUNT_SID,TWILIO_AUTH_TOKEN,TWILIO_WHATSAPP_FROM.In the sandbox settings, set the inbound webhook to
https://<host>/whatsapp(POST).Set
TWILIO_VALIDATE_SIGNATURE=trueonce the URL is stable.
Deployment
Deployed on Azure App Service. Pushing to main builds and deploys via GitHub Actions
(.github/workflows/main_loan-mcp-server.yml). Set all required and secret variables as
App settings; Azure runs npm start (the HTTP server) and injects PORT automatically.
Scripts
Script | Description |
| Compile TypeScript to |
| Run the HTTP server |
| Run the stdio server |
| Run from source with reload |
| Type-check without emitting |
| Integration test (requires a populated |
| Integration test over HTTP |
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceThe most complete MCP server for Microsoft Dataverse.Last updated15212MIT
- AlicenseAqualityBmaintenanceMCP server for Microsoft Dataverse API with safe-by-default configuration. Works with any Dataverse / Dynamics 365 environment.Last updated23267MIT
- Flicense-qualityDmaintenanceA production-grade MCP server that exposes real-time banking data replicated via Oracle GoldenGate CDC as structured tools for AI agents, enabling read, score, and write operations on customer, account, transaction, and alert data.Last updated1
- Flicense-qualityBmaintenanceA production-grade MCP server for a fictional digital bank, exposing tools for an AI copilot to service customers across the full risk spectrum from read-only lookups to money movement and destructive admin actions, with OAuth 2.1 security and a realistic dataset.Last updated20
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Hosted MCP server exposing US hospital procedure cost data to AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Yogeshwara7/loan-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server