We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/edicarloslds/businessmap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test-connection.shβ’1.03 KiB
#!/bin/bash
# Test BusinessMap MCP Server Connection
echo "π§ͺ Testing BusinessMap MCP Server Connection..."
echo ""
# Check if required environment variables are set
if [ -z "$BUSINESSMAP_API_URL" ]; then
echo "β BUSINESSMAP_API_URL environment variable is not set"
exit 1
fi
if [ -z "$BUSINESSMAP_API_TOKEN" ]; then
echo "β BUSINESSMAP_API_TOKEN environment variable is not set"
exit 1
fi
echo "π‘ API URL: $BUSINESSMAP_API_URL"
echo "π Read-only mode: ${BUSINESSMAP_READ_ONLY_MODE:-false}"
echo ""
# Build the project
echo "π¨ Building project..."
npm run build
if [ $? -ne 0 ]; then
echo "β Build failed"
exit 1
fi
echo "β Build successful"
echo ""
# Test the server initialization
echo "π Testing server initialization..."
echo ""
# Run the server for a few seconds to see the initialization process
timeout 10s node dist/index.js 2>&1 | head -20
echo ""
echo "β Connection test completed!"
echo "π‘ If you see 'Successfully connected to BusinessMap API', the initialization is working correctly"