OpenAI's Codex CLI is a terminal-based AI assistant that runs locally with kernel-level sandboxing. It's fast, token-efficient, and supports MCP servers for connecting to external tools. Pair it with TIDY and you get a turnover scheduling machine that runs from your terminal.
This guide covers setting up Codex CLI with TIDY for short-term rental operations: turnovers, guest changes, maintenance, inventory, and multi-property coordination.
Setup (5 Minutes)
You need a TIDY account (free) and Codex CLI installed.
Install Codex CLI
npm install -g @openai/codexConnect TIDY
# Get your API token
curl -X POST https://api.tidy.com/v1/customer/login \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com", "password": "your-password"}'
# Save it
export TIDY_API_TOKEN=your-token-here
# Add the MCP server
codex mcp add tidy -- npx @tidyapp/mcp-serverTest it: open Codex CLI and ask "Use TIDY to list my properties."
Setting Up Properties
You: Add 789 Beach Rd. 3bed/2bath, 1,400 sqft.
Gate code #4521, park in driveway.
Lockbox side door, code 8832.
Hot tub needs cover replaced after every clean.
Codex: ✓ Property created: 789 Beach Rd
3 bed / 2 bath / 1,400 sqft
Access details and special instructions saved.
Pros will receive these automatically.Booking Turnovers
You: Guest checks out of Beach Rd Saturday 11am.
New guest at 4pm.
Codex: ✓ Turnover scheduled at 789 Beach Rd.
Saturday 11:30 AM – 2:30 PM (3 hours).
Buffer: 30 min after checkout, 90 min before check-in.
Pro: Maria S. (preferred cleaner)
Access details sent automatically.When Plans Change
You: Beach Rd guest wants late checkout at 1pm.
Can we still make the turnover?
Codex: Updated. Turnover moved to 1:30 PM – 3:30 PM.
⚠ Tight — only 30 min buffer before 4pm check-in.
Maria notified of the new time.
Want me to ask the incoming guest if 5pm works?"Cancel the turnover at Oak Ave. Booking fell through."
"Same-day booking at Palm Dr. Can anyone clean by 3pm?"
Back-to-Back Turnovers
You: Saturday turnovers:
Beach Rd: out 10am, in 4pm
Oak Ave: out 11am, in 3pm
Surf Ln: out 10am, in 5pm
Palm Dr: out 11am, in 4pm
Codex: ✓ 4 turnovers scheduled:
Beach Rd — 10:30 AM – 1:30 PM (Maria)
Oak Ave — 11:30 AM – 2:00 PM (Carlos)
Surf Ln — 10:30 AM – 2:30 PM (Maria)
Palm Dr — 11:30 AM – 2:30 PM (Carlos)
⚠ Maria has Beach Rd and Surf Ln back-to-back
with 0 min gap. Assign Surf Ln to backup?Inventory and Restocking
You: Set up post-turnover supply checks.
Flag anything below 3 days' supply.
Codex: ✓ Supply check rule created for all properties.
After each turnover, pro reports levels on TP,
paper towels, trash bags, coffee, dish soap,
laundry pods. Low items flagged to you.Damage Documentation
You: Maria found a burn mark on the Beach Rd
counter and a broken blind. Last guest was John D.
Codex: Damage logged at 789 Beach Rd.
1. Kitchen counter — burn mark
2. Bedroom blinds — broken slat
Guest: John D. (checkout today)
I have pre-stay photos from the last turnover.
Can Maria take damage photos now?
I'll create a before/after report for your claim.Guest Complaint Triage
You: Guest at Oak Ave says WiFi is down and
hot water is lukewarm.
Codex: Two issues at 456 Oak Ave:
1. WiFi — Netgear Orbi in office closet.
Power cycle usually fixes it.
Send guest reset instructions?
2. Hot water — 50-gal tank in garage.
Likely needs a pro.
Suggested guest message ready.
Send it and dispatch your plumber?Maintenance Between Guests
You: Guest at Beach Rd says AC isn't cooling.
Next guest arrives Thursday.
Codex: ✓ Urgent maintenance at 789 Beach Rd.
Issue: AC not cooling
HVAC pro notified.
You have a turnover Thu 11am.
Sequence the AC repair before the clean?Upsells: Early Check-In, Late Checkout, Mid-Stay Cleans
Every booking is a revenue opportunity beyond the nightly rate. Early check-ins, late checkouts, and mid-stay cleans are easy wins that most hosts leave on the table because the coordination overhead isn't worth it. With Codex + TIDY, the overhead disappears.
"Guest at Pine St wants early check-in at 1pm instead of 4pm. Charge $50."
"Offer the Oak Ave guest late checkout at noon for $75. Move the turnover back if they accept."
"Add a mid-stay clean on day 4 for the Beach Rd guest. Bill it as a $120 add-on."
The $50 early check-in fee goes straight to you. TIDY's 3.9% platform fee applies only to the cleaning cost — on a $120 mid-stay clean, that's under $5.
Where this really adds up: automating mid-stay cleans for longer bookings. A 7+ night guest almost always appreciates a refresh, and many booking platforms let you bill it as a line item. That's $50–$100 per long booking you're currently missing.
You: For any booking 7+ nights, auto-schedule a
mid-stay clean on day 4. Use the guest's
preferred time slot if they have one, otherwise
default to 11am. Price it at $95.
Codex: ✓ Rule created: mid-stay clean on day 4 for
bookings ≥ 7 nights.
Time: guest preference or 11 AM default.
Price: $95 (billed as booking add-on).
Applied to all 4 active properties.
You have 3 upcoming 7+ night bookings:
• Beach Rd (9 nights) — mid-stay Apr 12
• Pine St (8 nights) — mid-stay Apr 15
• Lake Dr (10 nights) — mid-stay Apr 19
Schedule all three?Linen and Laundry Coordination
Linen logistics trip up even experienced hosts. You need clean sets staged before every turnover, laundry service needs 24-hour lead time, and same-day bookings blow up the whole system. Set it up once and let Codex handle the scheduling.
You: Set up linen coordination for all properties.
Linen Express picks up dirty sets and delivers
clean ones. They need 24-hr notice.
Each property has 1 backup set on-site.
Codex: ✓ Linen service configured:
Provider: Linen Express (24-hr lead time)
Backup sets: 1 per property
Workflow per turnover:
1. Dirty linen pickup request → 24 hrs before
2. Clean delivery → morning of turnover
3. Pro swaps linens during clean
For same-day bookings:
→ Use on-site backup set
→ Rush pickup/delivery ordered for restock
→ You'll get a ⚠ if backup is already depletedYou: Same-day booking just came in at Oak Ave.
Guest arrives at 6pm.
Codex: ⚠ No time for Linen Express (need 24 hrs).
Oak Ave backup set is available.
Using backup for tonight's turnover.
Rush restock ordered for tomorrow AM.
Carlos will swap to fresh set on arrival.
Backup restocked by 10am tomorrow.Hot Tub and Pool Maintenance
Hot tubs and pools are guest magnets and scheduling nightmares. A full water change takes 6+ hours — drain, clean, refill, heat. That doesn't fit in a 3-hour turnover window. Chemical shock is faster (2 hours) but needs to be planned around guest arrival. Codex flags the conflicts before they become problems.
You: Beach Rd hot tub rules: full water change every
3rd guest. Chemical shock between every guest.
Pool at Lake Dr: shock after every checkout,
full service weekly on Wednesdays.
Codex: ✓ Hot tub rules for Beach Rd:
• Chemical shock between guests (2 hrs)
• Full water change every 3rd guest (6+ hrs)
✓ Pool rules for Lake Dr:
• Chemical shock after every checkout (2 hrs)
• Full service every Wednesday
⚠ Beach Rd: next turnover is guest #3 — full
water change needed. Checkout 11am, check-in
4pm. That's only 5 hours.
Options:
1. Ask incoming guest for 6pm check-in
2. Start drain at 10am (overlap last hour of stay)
3. Do shock only, push water change to next gapYou: Auto-flag any turnover where hot tub or pool
work won't fit in the window.
Codex: ✓ Rule created. I'll flag turnovers where:
• Water change (6 hrs) won't fit in gap
• Chemical shock (2 hrs) overlaps check-in
• Pool service day conflicts with guest stay
Flagged 1 upcoming conflict:
Lake Dr Wed Apr 9 — pool service day,
but guest is in-house. Move to Thursday?Quality Control
Trust but verify. Photo verification after turnovers catches problems before guests do. New pros need more oversight; established pros have earned shorter checklists. Set different standards and let the system enforce them.
You: Set up photo verification after every turnover.
New pros (< 5 cleans): full photo set of every
room plus kitchen counters and bathrooms close-up.
Established pros (5+ cleans): kitchen, bathrooms,
and any flagged areas only.
Codex: ✓ Photo verification rules created:
New pros (< 5 completed cleans):
• Every room — wide shot
• Kitchen counters — close-up
• Each bathroom — close-up
• Beds — made and photographed
• 12-15 photos expected
Established pros (5+ completed cleans):
• Kitchen — 1 photo
• Each bathroom — 1 photo
• Flagged areas only (e.g., hot tub cover)
• 4-6 photos expected
Photos due within 15 min of clean completion.
You'll get a notification with the photo set
to review before guest arrival.You: Sarah just finished Beach Rd. How did it look?
Codex: Sarah submitted 14 photos (new pro, clean #3).
✓ All rooms photographed
✓ Kitchen counters clean
✓ Both bathrooms look good
⚠ Hot tub cover not in photo set
She may have forgotten to replace it.
Want me to message her to confirm and
send a photo of the covered hot tub?Automated Morning Briefings
Codex's autonomous mode can run tasks on a schedule without you initiating them. Set up a daily briefing and wake up to a summary of everything happening across your properties — no morning scramble checking three different apps.
You: Set up a daily morning briefing. Run it at 7am.
Include: today's turnovers, active guest issues,
supply alerts, and anything that needs my decision.
Send it to my Slack #properties channel.
Codex: ✓ Autonomous task scheduled: daily at 7:00 AM.
Pulls from TIDY: turnovers, issues, inventory.
Output → Slack #properties channel.
Preview tomorrow's briefing?
You: Yes.
Codex: Here's what tomorrow (Apr 8) would look like:
─── MORNING BRIEFING: Tue Apr 8 ───
TURNOVERS (3):
• Beach Rd — 11:30 AM, Maria ✓
• Oak Ave — 10:30 AM, Carlos ✓
• Palm Dr — 12:00 PM, Sarah ✓ (clean #4, photo verification)
ACTIVE ISSUES (1):
• Lake Dr — guest reported dripping faucet yesterday.
Plumber available Wed 9am. Approve?
SUPPLY ALERTS (2):
• Beach Rd — low on coffee pods (2 left)
• Oak Ave — low on trash bags (1 roll)
DECISIONS NEEDED:
1. Approve plumber for Lake Dr? (reply "yes" in Slack)
2. Beach Rd coffee pods — reorder from Amazon list?
────────────────────────────────────Power User Workflows
Once you're comfortable with the basics, these workflows push Codex + TIDY further:
- PMS integration: Connect your property management system (Guesty, Hostaway, OwnerRez, etc.) so Codex reads bookings directly. No more copying checkout times manually.
- Team Slack channel: Pipe TIDY notifications to a shared Slack channel. Your co-host, VA, or cleaning lead sees everything in real time.
- Market rate checks: Ask Codex to pull comparable nightly rates before you price a new listing. "What are 3bed/2bath STRs near Beach Rd averaging in April?"
- Seasonal deep cleans: Schedule quarterly or seasonal deep cleans across all properties. "Book deep cleans for all 6 properties during the first vacancy after May 1."
- AGENTS.md for property templates: Create an AGENTS.md file per property with access codes, Wi-Fi passwords, appliance quirks, and preferred pros. Codex loads the right context automatically when you mention the property.
- Multi-property reporting: Ask for weekly or monthly summaries. "How many turnovers did each pro complete last month? What was the average cost per clean?"
Codex CLI Advantages for STR
- Token efficiency: Codex CLI uses up to 4x fewer tokens than competitors, meaning longer property management sessions without hitting limits.
- Kernel sandboxing: Commands run in an OS-level sandbox, so TIDY operations can't accidentally affect your system.
- AGENTS.md: Store property details and operational preferences in AGENTS.md files. Codex reads them automatically.
- Plugins: Codex Plugins bundle MCP servers, skills, and app connectors. Add TIDY alongside Slack, Gmail, or your PMS.
- Autonomous mode: Delegate complex multi-step tasks and Codex handles them in the background. "Set up all my weekend turnovers and notify me when done."
Full Session: Weekend Prep
You: What does this weekend look like?
Codex: Weekend: 6 turnovers, 1 deep clean, 2 mid-stays.
Saturday:
• Beach Rd — Turnover 11am (Maria ✓)
• Oak Ave — Turnover 10am (Carlos ✓)
• Palm Dr — Turnover 11am (Carlos ✓)
Sunday:
• Pine St — Turnover 11am (Maria ✓)
• Lake Dr — Turnover 12pm (unassigned ⚠)
You: Assign Sarah to Lake Dr. And I got a last-minute
booking at Elm St, guest arrives Saturday 5pm.
Codex: ✓ Sarah assigned to Lake Dr, Sun 12:30–3:30 PM.
Carlos finishes Palm Dr at ~2pm.
He could do Elm St 2:30–4:30 PM. Book it?
You: Yes.
Codex: ✓ Elm St booked. Weekend is 7 turnovers,
all pros confirmed.Get Started
TIDY's MCP server is free to connect. You pay TIDY's 3.9% platform fee when you book pros — 90% less than a traditional property manager.
- Create a TIDY account
- Add MCP server:
codex mcp add tidy -- npx @tidyapp/mcp-server - Book your first turnover
More resources: