Skip to main content

A Model Context Protocol server for interacting with the Lodgify vacation rental API

Project description

Lodgify MCP Server

A Model Context Protocol (MCP) server for the Lodgify vacation rental API. Provides tools for managing properties, bookings, and calendar data.

Claude Desktop Integration

🚀 Recommended Method (uvx)

Add this to your Claude Desktop configuration:

{
  "mcpServers": {
    "lodgify": {
      "command": "uvx",
      "args": ["lodgify-mcp-server"],
      "env": {
        "LODGIFY_API_KEY": "your_api_key_here"
      }
    }
  }
}

Local Development Method

If you're developing locally or prefer to run from source:

Windows:

{
  "mcpServers": {
    "lodgify": {
      "command": "uv",
      "args": ["run", "--directory", "C:\\path\\to\\lodgify-mcp-server", "python", "entrypoint.py"],
      "env": {
        "LODGIFY_API_KEY": "your_api_key_here"
      }
    }
  }
}

Mac/Linux:

{
  "mcpServers": {
    "lodgify": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/lodgify-mcp-server", "python", "entrypoint.py"],
      "env": {
        "LODGIFY_API_KEY": "your_api_key_here"
      }
    }
  }
}

Config File Locations

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

Local Development

Clone and set up the project locally:

git clone https://github.com/fast-transients/lodgify-mcp-server.git
cd lodgify-mcp-server
uv sync

Run the server:

Windows PowerShell:

$env:LODGIFY_API_KEY="your_api_key_here"
uv run python entrypoint.py

Mac/Linux:

export LODGIFY_API_KEY="your_api_key_here"
uv run python entrypoint.py

Testing with MCP Inspector

Test your setup using the MCP Inspector:

Windows PowerShell:

$env:LODGIFY_API_KEY="your_api_key_here"
uvx @modelcontextprotocol/inspector uvx lodgify-mcp-server

Mac/Linux:

export LODGIFY_API_KEY="your_api_key_here"
uvx @modelcontextprotocol/inspector uvx lodgify-mcp-server

Installation Methods

Coming Soon: mcp-get

npx @michaellatman/mcp-get@latest install lodgify

Direct Installation (uvx)

Windows PowerShell:

$env:LODGIFY_API_KEY="your_api_key_here"
uvx lodgify-mcp-server

Mac/Linux:

export LODGIFY_API_KEY="your_api_key_here"
uvx lodgify-mcp-server

Available Tools

  • Properties: get_properties, get_property_by_id
  • Bookings: get_bookings, get_booking_by_id, create_booking, update_booking_status
  • Calendar: get_calendar (availability checking)

Troubleshooting

Getting "LODGIFY_API_KEY environment variable is required" error?

This means you need to set your API key before running the server:

Windows PowerShell:

$env:LODGIFY_API_KEY="your_actual_api_key_here"
uvx lodgify-mcp-server

Mac/Linux:

export LODGIFY_API_KEY="your_actual_api_key_here"
uvx lodgify-mcp-server

Getting "spawn uvx ENOENT" error?

This means uvx is not installed or not in PATH. Install it:

Windows:

# Install uv first, then uvx is included
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Mac/Linux:

# Install uv (includes uvx)
curl -LsSf https://astral.sh/uv/install.sh | sh
source ~/.bashrc  # or restart terminal

Alternative: Use local installation instead:

git clone https://github.com/fast-transients/lodgify-mcp-server.git
cd lodgify-mcp-server
uv sync
export LODGIFY_API_KEY="your_api_key_here"
uv run python entrypoint.py

Getting "spawn uv ENOENT" error on Mac?

Claude Desktop can't find the uv command. Fix the PATH:

# Add to ~/.zshrc (or ~/.bashrc)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Then restart Claude Desktop.

API key is required error?

Make sure you've set your LODGIFY_API_KEY environment variable with a valid API key from your Lodgify account.

Security

After syncing dependencies with uv sync, run pip-audit to scan for known vulnerabilities:

uv sync
pip-audit

This repository pins starlette to version 0.47.0 in uv.lock to address upstream advisories.

Links

Contributing

See CONTRIBUTING.md for development setup and testing instructions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lodgify_mcp_server-0.2.2.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lodgify_mcp_server-0.2.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file lodgify_mcp_server-0.2.2.tar.gz.

File metadata

  • Download URL: lodgify_mcp_server-0.2.2.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for lodgify_mcp_server-0.2.2.tar.gz
Algorithm Hash digest
SHA256 d4e20ba3da69c972da1b6a99d2949b5298d26d943412ee2846b48f1ac9748ab9
MD5 f7d900923b1abcf216f8a9d40bb8d635
BLAKE2b-256 40cd6930d880840635e654551469816fca453a898a8f393d7fe22f86ffc08d29

See more details on using hashes here.

Provenance

The following attestation bundles were made for lodgify_mcp_server-0.2.2.tar.gz:

Publisher: publish.yml on Fast-Transients/lodgify-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lodgify_mcp_server-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for lodgify_mcp_server-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75b55389423b14158a3402a7b8628a3e1b922e7c74204065c20686a77cf75dfa
MD5 8b22abc97e0056e3e73b04d82f78859b
BLAKE2b-256 dc53d1136812816fff345c71fae50357e960b37dc2f885e54f99f2a83bac24c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for lodgify_mcp_server-0.2.2-py3-none-any.whl:

Publisher: publish.yml on Fast-Transients/lodgify-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page