We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alisaitteke/docker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test-server.sh•897 B
#!/bin/bash
# Test script for Docker MCP Server
# This script helps test the server locally
set -e
echo "🔨 Building Docker MCP Server..."
npm run build
if [ $? -ne 0 ]; then
echo "❌ Build failed!"
exit 1
fi
echo "✅ Build successful!"
echo ""
echo "🧪 Testing server startup..."
# Test if server starts (it should wait for stdio input)
timeout 2 node dist/index.js 2>&1 | head -1 || true
echo ""
echo "📋 Available test commands:"
echo ""
echo "1. Start server (will wait for MCP requests):"
echo " node dist/index.js"
echo ""
echo "2. Test with npm start:"
echo " npm start"
echo ""
echo "3. Test with dev mode (tsx):"
echo " npm run dev"
echo ""
echo "4. Test tools/list (requires jq for formatting):"
echo " echo '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\",\"params\":{}}' | node dist/index.js | jq"
echo ""
echo "✅ Server is ready for testing!"