CFT MCP Server
Enables monitoring and management of WhatsApp conversation states and supplier communication flows within the Chrome Fair Trade platform.
Click on "Deploy 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., "@CFT MCP Servershow the current market prices and latest deal statistics"
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.
CFT MCP Server
Remote MCP server for the Chrome Fair Trade platform, intended for deployment on Render.
What was fixed
Renamed
package-1.jsontopackage.jsonAdded a real TypeScript build pipeline
Fixed the
startscript to run compiled output fromdist/index.jsFixed
tsconfig.jsonso TypeScript actually includessrc/**/*.tsAdded required dev dependencies:
typescript,tsx,@types/node,@types/expressRemoved the hard-coded fallback admin secret from runtime code
Updated
render.yamlsoCFT_ADMIN_SECRETis not committed in plaintextAdded a
/healthroute and safer MCP endpoint error handling
Related MCP server: WAHA MCP Server
Tools
Tool | What it does |
| Platform + DB health check |
| Live CIF China + FOT rates, all grades |
| All deals, filter by status |
| KPIs: tonnage, fees, grade breakdown |
| Active WhatsApp conversation states |
| Unstick a supplier's WhatsApp flow |
| Approve / reject a deal |
| QR-verified deal certificate lookup |
| Reverse-Netback FOT calculation |
| All registered supplier accounts |
Local development
npm install
npm run build
CFT_BASE_URL=https://cft-terminal-hub.vercel.app CFT_ADMIN_SECRET=your-secret npm startServer routes:
GET /GET /healthPOST /mcp
Render deployment
Render accepts custom build and start commands for Node services, which fits this project layout. citeturn150812view3
1. Push to GitHub
git init
git add .
git commit -m "fix: productionize CFT MCP server"
git branch -M main
git remote add origin https://github.com/Afrinov8/cft-mcp-server.git
git push -u origin main2. Create the service on Render
New → Web Service
Connect the repository
Render will use:
Build Command:
npm install && npm run buildStart Command:
npm start
3. Set environment variables
Set these in Render:
CFT_BASE_URL=https://cft-terminal-hub.vercel.appCFT_ADMIN_SECRET=...your actual admin secret...NODE_ENV=production
Do not commit the real admin secret into the repo. Render blueprints support sync: false for secrets so values are not hardcoded in render.yaml. citeturn652236search0turn652236search3
4. Verify after deploy
Root health:
https://your-service.onrender.com/healthMCP endpoint:
https://your-service.onrender.com/mcp
Notes
This project still assumes the upstream CFT app exposes these endpoints:
/api/health/api/market/api/deals/api/admin/api/verify
If any of those routes differ on the Vercel app, the MCP server will deploy correctly but those specific tools will fail at runtime.
This server cannot be deployed
Maintenance
Related MCP Connectors
WhatsApp CRM for AI agents: search contacts, read chats, manage the sales pipeline, send messages.
- PlixanaOAuthcom.plixana
Operate the Plixana CRM from any AI: contacts, deals, quotes, WhatsApp and metrics.
Operate Obriym CRM from your AI assistant: leads, deals, orders, catalog, stock, marketplaces.
Run WhatsApp and Telegram AI assistants: projects, prompts, leads, chats, analytics.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with WhatsApp through the WAHA (WhatsApp HTTP API) platform. Supports chat management, message operations including sending/receiving messages, and marking chats as read.526 npm9ISC
- AlicenseBqualityBmaintenanceBridges the WhatsApp HTTP API with AI assistants to enable full control over messaging, chat management, and interactive workflows through 63 specialized tools. It allows users to automate WhatsApp tasks and receive real-time AI feedback directly on their mobile devices.6312 npm5MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to manage WhatsApp sessions, send multi-format messages, control group participants, and configure webhooks by wrapping the OpenWA REST API with 44 tools.442MIT
- AlicenseNot gradedqualityDmaintenanceProvides a standardized interface for interacting with WhatsApp's tools and services through a unified API.1MIT