belle-mcp-server
Provides tools to query and manage property management data (properties, tenants, leases, maintenance tickets, rent roll) stored in a Supabase Postgres database, with read-only operations and a HITL-gated propose-write for drafting maintenance responses.
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., "@belle-mcp-serverDraft a response to the maintenance ticket about the leaky faucet"
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.
belle-mcp-server
A reference Model Context Protocol (MCP) server that exposes real Belle Realty property-management data — properties, tenants, leases, maintenance tickets, rent roll — as tools that Claude Desktop, Cursor, or any MCP-compatible client can call directly.
Six tools. Five are strictly read-only. One is a HITL-gated propose-write. That ratio is intentional and is the whole point of this repo.
Part of the AI Fluency Program — Level 2.
Why this exists
Most "AI + your data" demos give the model unrestricted database access. That is a footgun.
The Model Context Protocol is designed to expose a small, curated surface area with per-tool auth, rate limits, and audit — the same discipline you'd apply to a public REST API. This repo shows what that looks like for a real domain (a Louisiana shopping center) with a real Postgres schema, a working seed, and a single HITL-gated write path.
If you understand this repo, you can build one for any business you run.
What you get
Tool | What it does | Write? |
| Filter portfolio by type/city. | no |
| List tenants, optionally scoped to one property. | no |
| Fetch a lease by lease_id/suite_id/tenant_id. | no |
| Multi-filter search across tickets. | no |
| Compute a full rent roll snapshot for a property. | no |
| Save a proposed tenant reply as a DRAFT (approved=false). | HITL-gated write |
Every call is rate-limited (60/min default) and audit-logged to mcp_audit_log.
Quick start
# 1. Clone + install
git clone https://github.com/OrangeOnyx/belle-mcp-server.git
cd belle-mcp-server
npm install
# 2. Configure
cp .env.example .env
# Paste your Supabase URL + service-role key
# 3. Set up the schema (Supabase project)
# Copy supabase/migrations/0001_init.sql into the SQL editor and run.
# 4. Seed demo data
npm run db:seed
# 5. Build + inspect
npm run build
npm run inspectThe MCP Inspector opens a UI where you can list tools, call them, and see raw responses.
Wire it into Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on Windows/Linux:
{
"mcpServers": {
"belle-realty": {
"command": "node",
"args": ["/absolute/path/to/belle-mcp-server/dist/index.js"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_SERVICE_ROLE_KEY": "your-service-role-key"
}
}
}
}Restart Claude Desktop. You'll now see a belle-realty toolset. Try:
"What suites are currently occupied at On The Boulevard, and how much monthly rent are they producing?"
Claude will call get_rent_roll and answer from the returned data.
The HITL write pattern
The one write tool (draft_maintenance_response) illustrates a general pattern you should copy for any AI-facing service:
AI proposes a change — here, a reply to a tenant maintenance ticket.
The server saves it as
approved=false.Nothing is delivered, sent, or applied until a human approves it out-of-band (typically in the property manager's admin UI).
The MCP surface intentionally does not expose an approve tool. Approval is a human-only operation.
This means an over-eager or prompt-injected agent cannot silently push text to a tenant. It can propose, and it can propose loudly. It cannot ship.
For a longer walkthrough, see docs/hitl-pattern.md.
Personal-use walkthrough
You're an individual landlord with 3 rental houses or one small commercial building.
Run the migration on your Supabase project.
Seed with your own data (edit
supabase/seed.ts, or insert rows manually).Point Claude Desktop at the server.
Ask questions like "which tenant has a lease expiring in the next 90 days?" or "draft a response to the ticket about the water heater."
You've now built an AI-native tenant operations layer that speaks your data. It cost you an evening.
Company-use walkthrough
You run Belle Realty (or an equivalent management company). Multiple staff need Claude access to portfolio data without seeing raw SQL, and without any risk of accidental writes.
Deploy this server as a persistent process (Railway, Fly, or a Docker host).
Set
MCP_TRANSPORT=httpandMCP_HTTP_TOKEN=<shared-secret>.Each teammate configures Claude Desktop or Cursor with the URL + token.
Read-only tools give everyone leverage. The single write tool protects the tenant relationship.
mcp_audit_loggives you an after-the-fact record of every AI action.
Architecture
graph LR
A[Claude Desktop / Cursor] -->|MCP stdio or HTTP| B[belle-mcp-server]
B --> C[RateLimiter]
B --> D[Zod validation]
B --> E[Supabase Postgres]
B --> F[mcp_audit_log]
E --> G[(properties, tenants, leases, tickets)]Details in docs/architecture.md.
Extending it
Add a new tool in 4 steps:
Add a Zod schema for input in
src/schemas/domain.ts(if the data shape is new).Create
src/tools/<name>.tswith aninputschema, a handler, and a JSON-Schema definition.Register it in
src/tools/index.ts.Add tests in
tests/.
Every write tool should follow the propose-write pattern in draft_maintenance_response.
Deploy
Railway (recommended for HTTP transport)
railway uprailway.json builds the server and runs node dist/index.js. Set env vars in the Railway dashboard.
Local (stdio only)
Just build and point your MCP client at dist/index.js. No hosting needed.
Development
npm run dev # tsx watch mode
npm run test # vitest
npm run build # tsc → dist/
npm run inspect # MCP Inspector UIRelated repos
lease-abstractor— extract a structured abstraction from a lease PDF/DOCXsupport-triage-agent— same HITL pattern applied to support messagesdiligence-agent— RAG-based diligence over a document folderai-fluency-program— parent curriculum
License
MIT — see LICENSE.
Not legal, tax, or property-management advice. Do not use for compliance-critical decisions without a licensed professional in the loop.
This server cannot be installed
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 Connectors
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
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/OrangeOnyx/belle-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server