Connect OpenCode to Mews
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Mews
A preset of real Mews operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Mews
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
Mews
21 toolsRead the connected property's configuration.
Read a page of guests, optionally filtered by email or ID.
Search guests active at the property, such as checked-in companions.
Create a guest without overwriting an existing guest.
Update supplied guest fields; omitted fields are left unchanged.
Read reservations through the current versioned endpoint.
Create one reservation; rate and overbooking checks remain enabled.
Confirm one reservation, optionally emailing the guest.
Cancel one reservation with explicit fee and email choices.
Check in one reservation.
Check out a reservation, requiring a balanced account.
Read rooms and other property resources.
Update one room's housekeeping state, name or state reason.
Read a page of property tasks.
Create a property task with a UTC deadline.
Close one task.
Read services available at the property.
Read rates for one service.
Read products for one service.
Read company accounts.
Read age categories used for reservation person counts.
About OpenCode
Frequently asked questions
More ways to connect
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Mews wired in as tools. Connect your account and run.