Skip to main content
Glama
mews-mcp-server
by tjg37

mews-mcp-server

License: MIT TypeScript MCP SDK

A Model Context Protocol (MCP) server that connects Claude to the Mews Connector API — the property management system used by thousands of hotels worldwide.

Ask Claude to look up reservations, search guests, check room availability, pull accounting data, and more — all through natural conversation.

What is this?

This is a local MCP server that runs on your machine and acts as a bridge between Claude (via Claude Desktop or Claude Code) and the Mews hospitality platform. It exposes Mews API operations as MCP tools that Claude can call during conversation.

Example interactions:

  • "Show me all check-ins for next week"

  • "Find the reservation for John Smith"

  • "What rooms are available in the Deluxe category?"

  • "Pull the accounting items for March"

Related MCP server: Cendyn MCP Connector

Quick Start

Prerequisites

Install

git clone https://github.com/tjg37/mews-mcp-server.git
cd mews-mcp-server
npm install
npm run build

Configure Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mews": {
      "command": "node",
      "args": ["/absolute/path/to/mews-mcp-server/dist/index.js"],
      "env": {
        "MEWS_CLIENT_TOKEN": "your-client-token",
        "MEWS_ACCESS_TOKEN": "your-access-token",
        "MEWS_CLIENT_NAME": "YourApp/1.0.0",
        "MEWS_PLATFORM_URL": "https://api.mews.com"
      }
    }
  }
}

Restart Claude Desktop. You should see a MCP indicator in the conversation input area.

Configure Claude Code

claude mcp add mews \
  -e MEWS_CLIENT_TOKEN=your-client-token \
  -e MEWS_ACCESS_TOKEN=your-access-token \
  -e MEWS_CLIENT_NAME=YourApp/1.0.0 \
  -e MEWS_PLATFORM_URL=https://api.mews.com \
  -- node /absolute/path/to/mews-mcp-server/dist/index.js

Development mode (no build step)

For local development, use tsx to run TypeScript directly:

{
  "mcpServers": {
    "mews": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/mews-mcp-server/src/index.ts"],
      "env": { "..." : "..." }
    }
  }
}

Demo Credentials

Mews provides shared demo properties for development. Copy .env.example to .env — it includes working demo tokens for the Net Pricing test property.

cp .env.example .env

Note: Demo tokens are shared across all developers and subject to rate limits. If you get 429 responses, try the Gross Pricing demo property or wait a few minutes. See Mews demo environments for all available test properties.

Authentication

Mews uses static token authentication (no OAuth). Every API request includes two tokens in the request body:

Credential

Source

Purpose

ClientToken

Issued by Mews when you register as an integration partner

Identifies your application

AccessToken

Issued per-property by the property admin in Mews Operations

Identifies which hotel/property to connect to

Client

You choose it

A name + version string for your application

To get production credentials:

  1. Register as a Mews integration partner

  2. Mews issues your ClientToken

  3. Each property you want to connect provides their AccessToken

Multi-property setups: Run separate instances with different MEWS_ACCESS_TOKEN values, or use a Portfolio Access Token and pass EnterpriseId per tool call.

Available Tools

Configuration

Tool

Description

mews_get_configuration

Get property details, services, timezone, and pricing model

mews_get_enterprises

List all linked properties (multi-property support)

Reservations

Tool

Description

mews_get_reservations

List reservations filtered by dates, states, customer IDs

mews_add_reservations

Create new reservations

mews_update_reservation

Modify an existing reservation

mews_cancel_reservation

Cancel a reservation

Customers

Tool

Description

mews_get_customers

List customers by IDs, emails, or date range

mews_search_customers

Full-text search for active customers

mews_add_customer

Create a new customer profile

mews_update_customer

Update customer details

Companies

Tool

Description

mews_get_companies

List company profiles

mews_add_company

Create a new company

Resources (Rooms & Spaces)

Tool

Description

mews_get_resources

Get rooms/spaces with state and assignments

mews_get_resource_categories

Get room types and categories

Services & Rates

Tool

Description

mews_get_services

List all services (Accommodation, etc.)

mews_get_rates

Get rate plans

mews_get_rate_pricing

Get actual pricing for date ranges

Accounting & Billing

Tool

Description

mews_get_accounting_items

Revenue items and charges

mews_get_payments

Payment records

mews_get_bills

Guest bills and folios

Tasks

Tool

Description

mews_get_tasks

List tasks (housekeeping, maintenance, etc.)

mews_add_task

Create a new task

Environment Variables

Variable

Required

Default

Description

MEWS_CLIENT_TOKEN

Yes

—

Your Mews integration client token

MEWS_ACCESS_TOKEN

Yes

—

Property-specific access token

MEWS_CLIENT_NAME

No

MewsMCP/1.0.0

Application name sent with requests

MEWS_PLATFORM_URL

No

https://api.mews.com

Mews API base URL

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run production build
npm start

# Run smoke test against demo API
npm run test:smoke

# Lint
npm run lint

# Format
npm run format

Architecture

Claude Desktop / Claude Code
       |
       | stdio (JSON-RPC)
       v
  +-------------+
  |  MCP Server  |  <- @modelcontextprotocol/sdk
  |  (index.ts)  |
  +------+-------+
         |  registers tools
         v
  +-------------+
  |  Tool files  |  <- src/tools/*.ts (one per domain)
  +------+-------+
         |  calls
         v
  +-------------+
  | Mews Client  |  <- src/mews-client.ts (auth injection, error handling, pagination)
  +------+-------+
         |  HTTPS POST
         v
  +-------------+
  |  Mews API   |  <- https://api.mews.com/api/connector/v1/*
  +-------------+

All Mews API operations are POST requests with authentication tokens in the JSON body (not headers). The Mews client layer handles injecting credentials, error mapping, and cursor-based pagination.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

MIT

Disclaimer

This project is not affiliated with, endorsed by, or officially connected to Mews Systems. "Mews" is a trademark of Mews Systems. This is an independent, community-built integration.

Available Tools

22 tools
mews_add_companyC

Create a new company profile in Mews. Provide the company name and optionally tax ID, billing address, and contact details.

Inputs: name (required), email, notes, phone, +1 more.

mews_add_customerB

Create a new customer profile in Mews. At minimum, provide a last name. Optionally include first name, email, phone, nationality, and more.

Inputs: lastName (required), email, notes, phone, +2 more.

mews_add_reservationsB

Create one or more new reservations in Mews. Requires a service ID (typically the Accommodation service), and for each reservation: start/end UTC dates, rate ID, and the number of adults. Optionally assign a customer, room category, or specific room.

Inputs: serviceId (required), reservations (required).

mews_add_taskB

Create a new task in Mews. Tasks can be used for housekeeping requests, maintenance issues, or any custom operational task.

Inputs: name (required), deadlineUtc (required), serviceId, resourceId, +2 more.

mews_cancel_reservationB

Cancel a reservation in Mews. This sets the reservation state to Canceled. Provide a reason for the cancellation.

Inputs: reservationId (required), reason.

mews_get_accounting_itemsB

Get accounting items (revenue charges, payments, etc.) from Mews. Filter by date range to see charges posted during a period. Returns item details including amount, currency, type, and associated bill/customer.

Inputs: endUtc (required), startUtc (required), limit, cursor, +1 more.

mews_get_billsA

Get guest bills and folios from Mews. Filter by bill IDs, customer IDs, or date range. Returns bill details including line items, total amount, and payment status.

Inputs: limit, cursor, endUtc, billIds, +2 more.

mews_get_companiesA

Get company profiles from Mews. Filter by company IDs or retrieve all companies. Returns company name, contact details, billing info, and tax ID.

Inputs: limit, cursor, companyIds.

mews_get_configurationA

Get the property configuration from Mews, including property details, services, timezone, pricing model, accepted currencies, and address. This is typically the first call to make to understand the property setup.

Inputs: no named parameters.

mews_get_customersB

Get customers from Mews by IDs, emails, or date range. Returns customer profiles with contact info, nationality, and loyalty details. Use customerIds for specific lookups or a date range to find recently created/updated customers.

Inputs: limit, cursor, emails, endUtc, +2 more.

mews_get_enterprisesA

List all enterprises (properties) linked to the current access token. Useful for multi-property setups to discover available properties and their IDs.

Inputs: no named parameters.

mews_get_paymentsB

Get payment records from Mews. Filter by date range or specific payment IDs. Returns payment details including amount, currency, type (CreditCard, Cash, Invoice, etc.), and associated bill/customer.

Inputs: limit, cursor, endUtc, startUtc, +1 more.

mews_get_rate_pricingB

Get actual pricing for a rate plan over a date range. Returns per-night prices by room category. Useful for quoting rates to guests or checking availability pricing.

Inputs: endUtc (required), rateId (required), startUtc (required).

mews_get_ratesA

Get rate plans for a service. Returns rate names, pricing type, and whether the rate is public or private. Use the rate ID when creating reservations.

Inputs: limit, cursor, rateIds, serviceId.

mews_get_reservationsA

Get reservations from Mews, filtered by date range, state, customer IDs, or reservation IDs. Returns reservation details including dates, state, assigned room, rate, and customer. Use startUtc/endUtc for the reservation interval (check-in to check-out overlap). States: Enquired, Requested, Optional, Confirmed, Started, Processed, Canceled.

Inputs: limit, cursor, endUtc, states, +3 more.

mews_get_resource_categoriesA

Get room types and resource categories from Mews. Returns category names (e.g., 'Deluxe Double', 'Standard Twin'), capacity, and pricing details. Use to understand what room types are available at the property.

Inputs: limit, cursor, serviceId, resourceCategoryIds.

mews_get_resourcesA

Get rooms, spaces, and other bookable resources from Mews. Returns resource details including name, state (Dirty, Clean, Inspected, OutOfService, OutOfOrder), current assignments, and resource category. Useful for checking room status and availability.

Inputs: limit, cursor, resourceIds.

mews_get_servicesA

Get all services offered by the property (e.g., Accommodation, Spa, F&B). The Accommodation service ID is needed for creating reservations and looking up rates.

Inputs: limit, cursor, serviceIds.

mews_get_tasksA

Get tasks from Mews (housekeeping, maintenance, custom tasks, etc.). Filter by date range or task IDs. Returns task details including name, state, deadline, assigned department, and resolution notes.

Inputs: limit, cursor, endUtc, taskIds, +1 more.

mews_search_customersA

Full-text search for customers by name, email, or other details. Returns matching customer profiles. Best for finding a customer when you only have partial info.

Inputs: name, email, limit, cursor.

mews_update_customerA

Update an existing customer profile in Mews. Only provided fields are updated.

Inputs: customerId (required), email, notes, phone, +3 more.

mews_update_reservationA

Update an existing reservation in Mews. You can change dates, room assignment, guest count, or notes. Only provided fields are updated.

Inputs: reservationId (required), notes, endUtc, startUtc, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools map cleanly to a distinct resource+action (reservations, customers, companies, rates, bills, tasks), and descriptions clarify boundaries well. A couple of pairs are close enough to cause hesitation: mews_search_customers vs mews_get_customers, and mews_get_payments vs mews_get_accounting_items, where payments arguably overlap with accounting items.

    Naming Consistency4/5

    Nearly all tools follow the mews_<verb>_<noun> snake_case convention with a clear get/add/update/cancel/search verb vocabulary. The only wobble is singular/plural mixing on the same resource (mews_add_reservations / mews_get_reservations vs mews_update_reservation / mews_cancel_reservation).

    Tool Count4/5

    22 tools is on the heavy side, but it is spread across genuinely distinct domains of a PMS: customers, companies, reservations, resources, rates/pricing, billing, and tasks. Each area is represented by only a few operations, so the breadth feels earned rather than padded.

    Completeness3/5

    The surface is heavily read-oriented with write coverage only for reservations, customers, companies, and tasks. Notable gaps: no company update, no task update/resolution, no way to post charges or payments (accounting items and payments are read-only), and no check-in/check-out transition despite reservation states like Started/Processed being exposed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude to Cendyn CRM, enabling real-time retrieval of contacts, purchases, campaigns, and audiences for analysis and decision-making.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude to the Qoyod accounting system via its REST API, enabling natural language management of customers, invoices, vendors, journal entries, and other accounting resources through MCP tools.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to read and act on your OwnerRez account—bookings, properties, guests, financials, and guest messaging—through a secured remote MCP endpoint.
      MIT