Skip to main content
Glama
TEST_AGENT_SUCCESS.mdβ€’4.45 kB
# Hostaway MCP Server - Test Agent Success! πŸŽ‰ ## Deployment Summary The Hostaway MCP Server has been successfully deployed to production on Hostinger VPS with full authentication and API integration working. ### Production Server - **URL**: `http://72.60.233.157:8080` - **Status**: βœ… Healthy and Running - **Version**: 0.1.0 - **Environment**: Production ### Authentication - **Method**: API Key via `X-API-Key` header - **Storage**: Supabase (cloud database) - **Test API Key**: `mcp_bkdQ8QIn5K7tMUike5vpzQRLuuJF5szB` - **Status**: βœ… Working ### Working Endpoints #### 1. Health Check βœ… ```bash curl http://72.60.233.157:8080/health ``` #### 2. Listings βœ… ```bash curl -H "X-API-Key: mcp_bkdQ8QIn5K7tMUike5vpzQRLuuJF5szB" \ "http://72.60.233.157:8080/api/listings?limit=2" ``` **Response**: Returns property listings from Hostaway with full details (name, city, capacity, bedrooms, amenities, etc.) #### 3. Reservations/Bookings βœ… ```bash curl -H "X-API-Key: mcp_bkdQ8QIn5K7tMUike5vpzQRLuuJF5szB" \ "http://72.60.233.157:8080/api/reservations?limit=2" ``` **Response**: Returns booking/reservation data from Hostaway #### 4. Financial Reports ⚠️ **NOT AVAILABLE** ```bash curl -H "X-API-Key: mcp_bkdQ8QIn5K7tMUike5vpzQRLuuJF5szB" \ "http://72.60.233.157:8080/api/financialReports?start_date=2025-10-01&end_date=2025-10-31" ``` **Status**: ❌ Not Available - Hostaway account does not have access to financial reports API **Response**: ```json { "detail": { "error": "Financial reports endpoint not available", "message": "The Hostaway API financial reports endpoint may not be enabled for your account", "correlation_id": "..." } } ``` **Root Cause**: The Hostaway account (161051) does not have access to the `/financialReports` endpoint. Direct testing confirms: - βœ… Authentication works (OAuth token obtained successfully) - βœ… Basic endpoints work (`/listings` returns 200) - ❌ `/financialReports` returns 404 from Hostaway API **Next Steps**: 1. Contact Hostaway support to verify account tier and available features 2. Upgrade account to include Financial Reporting feature (if needed) 3. Or implement calculated financials from reservation data as workaround See `FINANCIAL_ENDPOINT_FINDINGS.md` for detailed investigation results. ### Test Agent A Python test agent has been created to demonstrate the API functionality: **File**: `test_api_agent.py` **Usage**: ```bash uv run python test_api_agent.py ``` **Features**: - βœ… Health check verification - βœ… Property listings retrieval - βœ… Reservation data retrieval - βœ… Error handling with correlation IDs - βœ… Formatted output ### Production Configuration #### Supabase (Cloud Database) - **URL**: `https://iixikajovibmfvinkwex.supabase.co` - **Project**: hostaway-mcp-dashboard - **Region**: us-east-2 - **Status**: βœ… Connected #### Hostaway API - **Account ID**: 161051 - **Base URL**: `https://api.hostaway.com/v1` - **Status**: βœ… Integrated #### Docker Container - **Image**: `hostaway-mcp-hostaway-mcp` - **Container**: `hostaway-mcp-server` - **Port**: 8080 - **Restart Policy**: always - **Health Check**: βœ… Passing ### Deployment Issues Resolved 1. βœ… **Test Mode Import Error**: Fixed by making test dependencies optional 2. βœ… **Supabase Connection**: Updated from local to cloud database 3. βœ… **API Key Schema**: Matched production database schema 4. βœ… **Environment Variables**: Corrected .env file loading in Docker 5. βœ… **Authentication**: Verified API key validation through Supabase ### Next Steps 1. **Add More API Keys**: Use `insert_test_key_v2.py` to add more keys 2. **Enable MCP Protocol**: Configure fastapi-mcp for MCP tool discovery 3. **Monitor Logs**: Check server logs for any issues 4. **Configure CI/CD**: Set up automated deployments ### Files Reference - `test_api_agent.py` - Working test agent - `insert_test_key_v2.py` - Script to insert API keys - `check_schema.py` - Verify Supabase schema - `deploy-to-hostinger-secure.sh` - Deployment script ### Connection from Claude Desktop To connect Claude Desktop to this server, add to your Claude Desktop configuration: ```json { "mcpServers": { "hostaway": { "url": "http://72.60.233.157:8080", "apiKey": "mcp_bkdQ8QIn5K7tMUike5vpzQRLuuJF5szB", "transport": "http" } } } ``` --- **Status**: βœ… Production Ready **Last Updated**: 2025-10-19 **Deployed By**: Claude Code

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/darrentmorgan/hostaway-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server