loading…
Search for a command to run...
loading…
MCP server for the Fund Tracking System, enabling agents to manage lending business data such as entities, borrowers, investors, deals, and referrals with full
MCP server for the Fund Tracking System, enabling agents to manage lending business data such as entities, borrowers, investors, deals, and referrals with full CRUD and bulk operations.
A standalone Model Context Protocol (MCP) server for the Fund Tracking System. This server enables agents to create, read, update, and delete lending business data (entities, borrowers, investors, deals, referrals) through a standardized interface.
cd /Users/chiragpatel/Projects/vybog/fts-mcp
npm install
.env file from template:cp .env.example .env
BACKEND_URL=http://localhost:2000
[email protected]
ADMIN_PASSWORD=admin123
Development mode (with auto-reload):
npm run dev
Production mode:
npm start
The server communicates via stdio and is designed to be invoked by Claude or other MCP clients.
create_borrower - Create a new borrowerlist_borrowers - List all borrowers with paginationget_borrower - Get borrower detailsupdate_borrower - Update borrower informationdelete_borrower - Delete a borrowerbulk_create_borrowers - Create multiple borrowers at oncecreate_entity - Create a borrower entitylist_entities - List all borrower entitieslist_unmapped_entities - List entities not currently mapped to borrowers or dealsget_entity - Get entity detailsupdate_entity - Update entity informationcreate_investor - Create a new investorlist_investors - List all investorsget_investor - Get investor detailsupdate_investor - Update investor informationdelete_investor - Delete an investorbulk_create_investors - Create multiple investors at oncecreate_deal - Create a new lending deallist_deals - List all deals (filterable by status)get_deal - Get deal detailsupdate_deal - Update deal informationdelete_deal - Delete a dealcreate_referral - Create a referrallist_referrals - List all referralsget_referral - Get referral detailsupdate_referral - Update referraldelete_referral - Delete a referralWhen invoked by Claude, you can ask it to:
"Create a borrower entity for TechStart Solutions LLC"
"List all unmapped entities"
"Create 5 borrowers with sample data"
"List all active deals"
"Create a new deal between borrower XYZ and investor ABC"
"Update the status of deal 123 to completed"
"Create bulk investors from this list: [...]"
The MCP seed script now creates entities first, then creates borrowers and links each borrower to its matching entity ID when available.
Run it with:
npm run seed
Seeded data currently includes 10 entities, 10 borrowers, 10 investors, 10 deals, and 10 referrals.
vybog-mcp-server/
├── src/
│ ├── index.js # Main MCP server implementation
│ └── api-client.js # HTTP client for backend API
├── package.json
├── .env.example
└── README.md
This MCP server requires the fts-be backend service to be running:
cd /Users/chiragpatel/Projects/vybog/fts-be
npm run dev
docker start mysql-vybog
If Docker container doesn't exist, create it:
docker run --name mysql-vybog -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=vybog_db -p 3306:3306 -d mysql:8.0
To use this MCP server with Claude in VS Code:
src/index.js.envSee: https://modelcontextprotocol.io/
The server includes comprehensive error handling:
/api/v2/borrower-entityВыполни в терминале:
claude mcp add vybog-mcp-server -- npx