About DirectStay MCP Server
DirectStay MCP Server exposes DirectStay API operations for properties, bookings, and messaging as MCP tools. It is intended for integrations using the API and also supports OTP operations, property comparisons, and conversation insight submission.
Key features
- 01List properties and retrieve details
- 02Retrieve property bookings
- 03Create bookings and update statuses
- 04Identify callers and verify OTPs
- 05Send messages and compare properties
- 06Submit conversation insights
Use cases
- 01Look up DirectStay properties and bookings
- 02Create or update property bookings
- 03Verify callers with OTP
MCP support
It exposes tools for calling the DirectStay API to MCP clients and requires a DirectStay API token.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEDirectStay MCP Server
An MCP (Model Context Protocol) server that provides tools for interacting with the DirectStay API.
Installation
You can run this MCP server using npx without installing it locally:
npx @webdevtoday/ds-mcp-server
Configuration
Claude Desktop
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"directstay": {
"command": "npx",
"args": ["-y", "@webdevtoday/ds-mcp-server"],
"env": {
"DS_TOKEN": "your_directstay_api_token_here"
}
}
}
}
To find your Claude Desktop configuration:
- Open Claude Desktop
- Go to Settings → Developer → Edit Config
Available Tools
This MCP server provides the following tools for interacting with the DirectStay API:
- get_all_properties - Get a list of all properties
- get_property_by_id - Get details of a specific property
- get_property_bookings - Get all bookings for a specific property
- create_booking - Create a new booking
- update_booking_status - Update the status of an existing booking
- identify_caller - Identify a caller based on phone number
- generate_otp - Generate a one-time password
- verify_otp - Verify a one-time password
- send_message - Send a message to a user
- create_comparison - Create a property comparison
- submit_conversation_insights - Submit conversation insights
To see detailed information about all available tools and their parameters:
npx @webdevtoday/ds-mcp-server tools
Getting Your DirectStay API Token
To use this MCP server, you'll need a DirectStay API token. Contact DirectStay to obtain your API credentials.
Development
Prerequisites
- Node.js (v16+ required, v20+ recommended)
- npm
Local Setup
- Clone the repository
- Install dependencies:
npm install - Create a
.envfile with your API token:DS_TOKEN=your_directstay_api_token_here - Run the server:
node mcpServer.js
Running with SSE (Server-Sent Events)
node mcpServer.js --sse
Docker Support
Build and run with Docker:
docker build -t ds-mcp-server .
docker run -i --rm -e DS_TOKEN=your_token_here ds-mcp-server
License
MIT
Support
For issues or questions about this MCP server, please open an issue on GitHub.
For DirectStay API support, contact DirectStay directly.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.