#!/bin/zsh
# World Time Converter MCP Server Startup Script
echo "\033[1;36m================================================\033[0m"
echo "\033[1;36m World Time Converter MCP Server Startup\033[0m"
echo "\033[1;36m================================================\033[0m"
echo ""
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
# Check if node_modules exists
if [ ! -d "node_modules" ]; then
echo "${RED}❌ node_modules not found${NC}"
echo "${YELLOW}Installing dependencies...${NC}"
npm install
fi
# Build TypeScript
echo "${YELLOW}Building TypeScript...${NC}"
npm run build
# Check if build was successful
if [ ! -f "dist/time-server.js" ]; then
echo "${RED}❌ Build failed - dist/time-server.js not found${NC}"
exit 1
fi
echo "${GREEN}✅ Build successful${NC}"
echo ""
echo "${GREEN}Starting World Time Converter Server on port 3002...${NC}"
echo ""
echo "${YELLOW}Available endpoints:${NC}"
echo " - Local: http://localhost:3002"
echo " - MCP: http://localhost:3002/mcp"
echo " - Tools: http://localhost:3002/mcp/tools/list"
echo ""
echo "${YELLOW}Press Ctrl+C to stop the server${NC}"
echo ""
# Start the server
node dist/time-server.js
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/bobhuff0/MCPAddIn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server