RentSmart MCP
Powers an AI-powered WhatsApp bot that generates rental agreements and receipts on the fly for property rental management
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., "@RentSmart MCPgenerate a rental agreement for a 2BHK in Mumbai with rent of 25,000"
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.
RentSmart MCP
This repository contains a minimal Multi‑Channel Plugin (MCP) service for RentSmart, an AI‑powered WhatsApp bot that generates rental agreements and receipts on the fly.
Features
/validate – Performs a simple bearer token check and returns a dummy phone number.
Update the token inapp/main.pyto secure your deployment./tool/generate_agreement – Accepts rental agreement details, fills a text template, converts it into a PDF and serves it back via a public link under
/files/agreements./tool/generate_rent_receipt – Creates a PDF rent receipt with the specified particulars and exposes it under
/files/receipts./tool/stamp_duty_info – Returns state‑specific stamp duty information for quick reference. A default set of values has been provided for demonstration and can easily be expanded to include all Indian states.
/health – A simple heartbeat endpoint returning
{"status":"ok"}.
Directory Structure
rentsmart_mcp/
├── app/
│ ├── __init__.py
│ ├── main.py # FastAPI application
│ └── templates/
│ ├── agreement_template.txt
│ └── receipt_template.txt
├── files/ # Generated PDFs will be saved here
├── requirements.txt # Python dependencies
└── README.mdQuick Start
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000Navigate to http://localhost:8000/health to verify the server is running.
Deployment
Deploy on any platform that supports FastAPI: Render, Railway, Vercel or your own server. Make sure to expose the service over HTTPS for compatibility with Puch AI.
Puch AI Integration
After deployment, connect your MCP service to Puch AI using the /mcp connect command
in your WhatsApp chat. Replace the URL and token below with your deployment:
/mcp connect https://YOUR-DEPLOYED-URL your_test_tokenOn successful connection you’ll see the available tools (generate_agreement,
generate_rent_receipt and stamp_duty_info).
Customisation
Templates – Edit the files in
app/templatesto customise the layout and wording of your generated agreements and receipts. Placeholders in curly braces (e.g.{landlord},{rent}) will be replaced with the values supplied in the JSON request.Stamp Duty Data – Modify the
STAMP_DUTY_DATAdictionary inapp/main.pyto reflect accurate state‑wise stamp duty charges and links. This example contains a few states for illustration.Token Validation – Change the
VALID_TOKENconstant inapp/main.pyto enforce your own bearer token. In production you should implement a proper authentication mechanism.
License
This starter is provided as‑is for hackathon or educational use. Feel free to modify and extend it to suit your needs.
This server cannot be deployed
Maintenance
Related MCP Connectors
- KeyioOAuthcom.gokeyio
Run your rentals in Spain from your AI assistant: SES filings, VeriFactu invoices, rent, taxes.
1 AI transaction coordinator + legal-matters platform for real estate and law firms.
Manage Thai rental dorms by chat: rooms, tenants, invoices, meters. Writes need approval.
Create invoices from your AI assistant in 6 languages and 10 currencies, ready for WhatsApp.
Related MCP Servers
- AlicenseAqualityDmaintenanceConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without the risk of account bans.1811 npm23MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to operate property management systems via natural language, covering repair orders, owner info, payments, notices, and inspections. Features a full agentic workflow with human-in-the-loop and observability.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access French residential rental tools including lease creation and e-signing, rent control checks, rent revision, and document generation.MIT

Formify MCPofficial
AlicenseNot gradedqualityAmaintenanceEnables AI agents to create fillable PDFs, send contracts for e-signature, verify signers via BankID or ID scans, and track post-send document workflows.5MIT