OwnerRez MCP Server

OwnerRez MCP Server

Connects OwnerRez property management data to MCP clients, enabling natural-language queries about bookings, check-ins, guest messaging, expenses, and webhooks.

Category
访问服务器

README

OwnerRez MCP Server

CI License: MIT Python 3.10+

A Model Context Protocol server that connects OwnerRez to Claude (Cowork / Claude Desktop) and any other MCP client. Ask about bookings, see who's checked in, message guests, record expenses, and manage webhooks — in natural language. Built with Python + FastMCP.

⚠️ Community project, not affiliated with OwnerRez.

Quickstart

New here? QUICKSTART.md gets you to a working connection in two commands.

The fastest path — no clone, no venv — using uv:

This same server works in any MCP client — Claude, Cursor, Windsurf, VS Code, Cline, Zed, and more. Add the standard block below to your client's MCP config (QUICKSTART.md lists each client's config file location and the few that use a different key):

{
  "mcpServers": {
    "ownerrez": {
      "command": "uvx",
      // Before a PyPI release, run straight from GitHub:
      "args": ["--from", "git+https://github.com/buildwithmanag/ownerrez-mcp", "ownerrez-mcp"],
      // After `pip`/PyPI publish this becomes simply: "args": ["ownerrez-mcp"],
      "env": {
        "OWNERREZ_USERNAME": "you@example.com",
        "OWNERREZ_TOKEN": "your_personal_access_token"
      }
    }
  }
}

Restart your client and the OwnerRez tools appear. That's it.

Prefer to run from source? See Install from source.

What it can do

Tools

Tool Purpose Endpoint
list_bookings Bookings changed since a time; filter by status / property / arrival window GET /v2/bookings ✅
get_booking Full detail for one booking GET /v2/bookings/{id} ✅
who_is_staying Who's checked in right now, per property derived ✅
list_properties / list_owners / find_guest Reference lookups GET ✅
list_quotes / list_payments / list_refunds / list_fees Financial reads GET ✅
list_messages Messages in a thread (by threadId) GET /v2/messages ✅
send_message Reply to a guest (write) POST /v2/messages ✅
list_webhook_subscriptions List webhooks GET ✅
create_webhook_subscription / delete_webhook_subscription Manage webhooks (write) POST/DELETE ✅
list_open_messages / get_message_event / mark_message_handled Inbound-message inbox, fed by the webhook receiver local store ✅

Resources: ownerrez://properties, ownerrez://owners Prompts: draft_checkin_message, draft_guest_reply

Verified against the live API — two OwnerRez limitations to know: there is no public expense-creation endpoint, and no endpoint that lists message threads. Inbound guest messages arrive via webhooks — subscribe to the message category with create_webhook_subscription, then use the event's threadId with list_messages / send_message. Bookings and guests are bounded by a "since" time, not by stay dates.

Example prompts

  • "Who's checking in this weekend?"
  • "Who's currently staying at the Beach House?"
  • "Draft a check-in message for the guest arriving tomorrow at Cabin 3."
  • "Show me all payments on booking 84213."
  • "List the messages on thread 55123 and draft a reply."

Authentication

Pick whichever fits — the server prefers OAuth if both are set.

Personal Access Token (simplest for one account). OwnerRez → Settings → API → Personal Access Tokens. Set OWNERREZ_USERNAME + OWNERREZ_TOKEN.

OAuth (for multi-account / distribution). Create an OAuth app in OwnerRez, set OWNERREZ_CLIENT_ID + OWNERREZ_CLIENT_SECRET, then run the built-in helper:

ownerrez-mcp auth

It opens the authorize page, captures the redirect locally, and prints the OWNERREZ_ACCESS_TOKEN to save.

Real inbound messages (webhook receiver)

OwnerRez has no endpoint to poll for open conversations — inbound guest messages are delivered by webhooks. This package ships a small receiver that captures them into a local store so list_open_messages becomes a real inbox.

# 1. Install the optional extra and run the receiver
pip install "ownerrez-mcp[webhook]"
ownerrez-mcp webhook                      # listens on 0.0.0.0:8000

# 2. Expose it on a public HTTPS URL (any tunnel works), e.g.
#    ngrok http 8000   ->   https://<something>.ngrok.app

Then register that URL (via the MCP tool or any client):

create_webhook_subscription(url="https://<something>.ngrok.app/", category="message")

Now incoming guest messages land in the store, and in your agent you can ask "show my open messages" (list_open_messages), reply with send_message using the message's thread_id, and mark_message_handled to clear it.

Config: OWNERREZ_STORE (db path, default ~/.ownerrez-mcp/messages.db), OWNERREZ_WEBHOOK_HOST / OWNERREZ_WEBHOOK_PORT, and an optional OWNERREZ_WEBHOOK_SECRET (sent as X-Webhook-Secret or ?secret=) to reject unauthenticated posts. Always run behind HTTPS.

Safety: read-only mode

Set OWNERREZ_READ_ONLY=1 to hard-block every write tool (messaging, expenses, webhook changes). Great for letting an assistant explore your data without any risk of it messaging a guest or mutating records.

Verify against the live API

ownerrez-mcp probe                 # read-only checks (safe)
ownerrez-mcp probe --probe-writes  # also tests the expense POST endpoint with
                                   # an invalid body (creates nothing)

The output tells you exactly which endpoints your token can reach and whether expense creation is WRITABLE or NOT SUPPORTED.

Install from source

git clone https://github.com/buildwithmanag/ownerrez-mcp
cd ownerrez-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env   # fill in your credentials
ownerrez-mcp probe     # sanity-check connectivity

Point your MCP client at the venv's executable:

{
  "mcpServers": {
    "ownerrez": {
      "command": "/path/to/ownerrez-mcp/.venv/bin/ownerrez-mcp",
      "env": { "OWNERREZ_ACCESS_TOKEN": "..." }
    }
  }
}

Configuration reference

Variable Default Purpose
OWNERREZ_ACCESS_TOKEN — OAuth access token (preferred)
OWNERREZ_USERNAME / OWNERREZ_TOKEN — Personal Access Token (Basic auth)
OWNERREZ_READ_ONLY 0 Block all write tools when truthy
OWNERREZ_MAX_RETRIES 3 Retries on 429/5xx
OWNERREZ_TIMEOUT 30 Request timeout (seconds)
OWNERREZ_BASE_URL https://api.ownerrez.com/v2 API base URL
OWNERREZ_CLIENT_ID / OWNERREZ_CLIENT_SECRET — OAuth app creds (for auth)

Development

ruff check .   # lint
pytest         # tests

See CONTRIBUTING.md. Every tool returns a structured {"ok": ...} envelope, follows OwnerRez v2 pagination, redacts secrets from errors, and retries transient failures.

License

MIT — see LICENSE. API reference: https://api.ownerrez.com/help/v2

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选