Skip to main content
Glama
test-docker.shโ€ข1.12 kB
#!/bin/bash # Test Docker build script echo "๐Ÿณ Testing Docker build for Enhanced Home Assistant MCP..." # Build the Docker image echo "Building Docker image..." if docker build -t enhanced-homeassistant-mcp-test . ; then echo "โœ… Docker build successful!" # Test basic functionality echo "๐Ÿงช Testing basic functionality..." if docker run --rm enhanced-homeassistant-mcp-test node -e "console.log('โœ… Node.js working in container')"; then echo "โœ… Basic Node.js test passed!" else echo "โŒ Basic Node.js test failed!" exit 1 fi # Check if our compiled code exists echo "๐Ÿ“ Checking compiled files..." if docker run --rm enhanced-homeassistant-mcp-test ls -la dist/; then echo "โœ… Compiled files found!" else echo "โŒ Compiled files not found!" exit 1 fi # Clean up test image echo "๐Ÿงน Cleaning up test image..." docker rmi enhanced-homeassistant-mcp-test echo "๐ŸŽ‰ All tests passed! Docker image is ready for deployment." else echo "โŒ Docker build failed!" exit 1 fi

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/gilberth/enhanced-homeassistant-mcp'

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