TenantCloud MCP Server
Enables AI agents to manage rental properties on TenantCloud via natural language, including contacts, messaging, maintenance, and financials.
README
tenantcloud-client-ts
TypeScript client library and MCP server for TenantCloud, a rental property management platform. A port of yllibed/TenantCloudClient (C#/.NET), extended well beyond parity.
This is not an official TenantCloud product. TenantCloud does not provide a public API; this library works against their internal endpoints and can break whenever TenantCloud changes their frontend. Use at your own risk.
Packages
| Package | npm | Description |
|---|---|---|
packages/client |
tenantcloud-client |
API client: typed sub-clients for messaging, maintenance, financials, and leasing; paginated sources with fluent filters; generic JSON:API CRUD; token stores (OS credential store, file); CDP-based browser auth |
packages/mcp |
tc-mcp |
MCP server (stdio) exposing TenantCloud to AI agents (Claude Desktop, Claude Code, Cursor), with a login/logout/install CLI |
Quick start
Client library
npm install tenantcloud-client
import { TcClient, SecureTokenStore } from "tenantcloud-client";
import { CdpTokenProvider } from "tenantcloud-client/cdp";
const provider = new CdpTokenProvider({
tokenStore: new SecureTokenStore(),
allowInteractiveLogin: true,
});
const tc = new TcClient(provider);
// Reads with fluent filters
const user = await tc.getUserInfo();
const tenants = await tc.contacts.onlyTenants().getAll();
const overdue = await tc.transactions.forCategory("income").forStatus("with_balance").getAll();
// Typed sub-clients
const threads = await tc.messaging.threads("tenant");
await tc.messaging.sendMessage(threads.items[0].id, "Hi!");
const request = await tc.maintenance.create({ title: "Leaky faucet", property_id: 123 });
// First contact with a lead (creates their message thread)
const thread = await tc.leasing.openLeadThread(leadId);
await tc.messaging.sendMessage(thread.id, "Thanks for your interest!");
// Any other endpoint via generic JSON:API CRUD
const tasks = tc.resource("/tasks", "task");
await tasks.create({ title: "Call plumber" });
MCP server
One command (needs Node 20+):
npx tc-mcp install claude-code # or: claude-desktop
Restart Claude Code and ask things like "who owes rent?", "message the lead who inquired yesterday", or "create a maintenance request for unit 3B". The first time, the agent notices you are not signed in and offers to open a TenantCloud sign-in window (normal password + 2FA); tokens go to your OS credential store. To sign in ahead of time instead: npx tc-mcp login.
Hosted server (Claude on web, teams)
For teammates on claude.ai, tc-mcp serve runs a multi-user remote server: OAuth 2.1 in front (claude.ai custom connector flow, email + invite code), an encrypted per-user TenantCloud token vault in Postgres, and per-person pairing via tc-mcp login --remote. Each teammate's tool calls run under their own TenantCloud account and permissions.
Each company hosts its own instance (fork or clone this repo - there is no shared multi-company server by design). Step-by-step Railway guide, including CLI commands and troubleshooting: docs/DEPLOY_RAILWAY.md.
MCP tools
35 tools across six areas, plus resources tc://guide, tc://catalog, tc://property/{id}, tc://unit/{id}, tc://contact/{id}:
- Core reads:
get_user_info,list_contacts,list_properties,list_units,list_transactions,list_leases - Messaging:
list_message_channels,list_threads,find_threads,list_messages,send_message,message_lead(first contact with a lead: creates their thread and sends in one step),mark_thread_read - Maintenance:
list_maintenance_requests,get_maintenance_request,create_maintenance_request,update_maintenance_request,resolve_maintenance_request,list_inspections - Financials:
get_transaction_statistics,create_transaction,update_transaction,delete_transaction,list_recurring_transactions,list_payments,list_reconciliation_accounts,owner_balances - Leasing:
get_lease,update_lease,list_lease_notices,list_applications,list_screenings,list_leads,create_lead - Escape hatch:
tc_request(any of the ~1100 cataloged endpoints; seetc://catalog)
Tool responses resolve foreign-key IDs to human-readable names via an entity cache, and messenger payloads are slimmed so they fit agent context windows.
How authentication works
TenantCloud has no OAuth or API keys. The CDP token provider:
- Returns the in-memory token if its JWT is still valid
- Loads from the token store, refreshing via
POST /auth/tokenif expired - Connects to a running Chromium browser (debug port 9222) and extracts
access_token/fingerprintfrom localStorage and thetc_refresh_tokencookie of anapp.tenantcloud.comtab - If allowed, launches a temporary browser window for interactive login and polls until you finish signing in
Development
npm install
npm run build # tsc --build for both packages
npm test # vitest (unit + MCP in-memory transport tests)
TC_AUTH_TOKEN=<jwt> npm test # also runs live API integration tests
See SPEC.md for design decisions and the documented internal API surface (~1100 endpoints, discovered from the SPA bundle; full list in docs/api-catalog.txt).
License
MIT. Portions derived from yllibed/TenantCloudClient, copyright Carl de Billy, MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。