MC

markswendsen-code/mcp-marriott

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 2 forks 质量 63 趋势 18

MCP server for Marriott - let AI agents book hotels

概览

MCP server for Marriott Hotels — let AI agents search hotels, manage reservations, check in, and interact with the Marriott Bonvoy loyalty program via browser automation. This MCP server enables AI agents (Claude, etc.) to: - Search Marriott properties worldwide - Browse room types and rates - Complete hotel bookings - Manage existing reservations (view, modify, cancel) - Mobile check-in - Track Marriott Bonvoy points and tier status - Redeem Bonvoy points for award stays - View past stay history Set environment variables for automatic login: Without these, the login tool returns a URL for manual browser login. Add to ~/Library/Application Support/Claude/claude_desktop_config.json: Cookies are saved to ~/.striderlabs/marriott/ so sessions persist between runs. To log out: - checkout — requires confirm: true - modify_reservation — requires confirm: true - cancel_reservation — requires confirm: true - redeem_points — requires confirm: true

README

以下为原文 README 节选,完整内容请查看原文。

@striderlabs/mcp-marriott

MCP server for Marriott Hotels — let AI agents search hotels, manage reservations, check in, and interact with the Marriott Bonvoy loyalty program via browser automation.

Built by Strider Labs.

Overview

This MCP server enables AI agents (Claude, etc.) to:

  • Search Marriott properties worldwide
  • Browse room types and rates
  • Complete hotel bookings
  • Manage existing reservations (view, modify, cancel)
  • Mobile check-in
  • Track Marriott Bonvoy points and tier status
  • Redeem Bonvoy points for award stays
  • View past stay history

Tools

Tool Description
status Check login status and Bonvoy session info
login Log in to Marriott Bonvoy (auto or manual)
logout Clear saved session and cookies
search_hotels Search hotels by destination, dates, guests
get_hotel_details Get amenities, policies, check-in times
get_room_options View available room types and rates
select_room Choose a room before checkout
add_extras Add parking, breakfast, late checkout, etc.
checkout Complete booking (requires explicit confirmation)
get_reservation Retrieve existing reservations
modify_reservation Change dates or room type
cancel_reservation Cancel a booking
check_in Mobile check-in with room preferences
get_bonvoy_status Points balance, tier, nights to upgrade
redeem_points Book award stays with Bonvoy points
get_stay_history View past stays and points earned

Setup

1. Install

npm install -g @striderlabs/mcp-marriott

Or run directly with npx:

npx @striderlabs/mcp-marriott

2. Install Playwright browsers

npx playwright install chromium

3. Configure credentials (optional)

Set environment variables for automatic login:

export MARRIOTT_EMAIL="[email protected]"
export MARRIOTT_PASSWORD="yourpassword"

Without these, the login tool returns a URL for manual browser login.

4. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "marriott": {
      "command": "npx",
      "args": ["@striderlabs/mcp-marriott"],
      "env": {
        "MARRIOTT_EMAIL": "[email protected]",
        "MARRIOTT_PASSWORD": "yourpassword"
      }
    }
  }
}

5. Configure Cursor / other MCP clients

{
  "mcp": {
    "servers": {
      "marriott": {
        "command": "npx",
        "args": ["@striderlabs/mcp-marriott"],
        "env": {
          "MARRIOTT_EMAIL": "[email protected]",
          "MARRIOTT_PASSWORD": "yourpassword"
        }
      }
    }
  }
}

Usage Examples

Search hotels

Search for Marriott hotels in Tokyo from July 10-15 for 2 adults

Book a room

Find me a room at the W Hotel Times Square for next weekend, then book the cheapest option

Check Bonvoy status

在 GitHub 查看完整 README

安装

npx @striderlabs/mcp-marriott
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "marriott": { "command": "npx", "args": ["@striderlabs/mcp-marriott"], "env": { "MARRIOTT_EMAIL": "[email protected]", "MARRIOTT_PASSWORD": "yourpassword" } } } }