🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@webdevtoday/ds-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdevtoday/ds-mcp-server

MCP server for DirectStay API integration

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

DirectStay 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 .env file 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.

Keywords

mcp

FAQs

Package last updated on 31 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts