Skip to main content
Glama
validate-for-publish.sh648 B
#!/bin/bash # Quick test script for publication echo "Running basic package validation..." # Check if main file exists if [ -f "index.js" ]; then echo "✅ Main file (index.js) exists" else echo "❌ Main file (index.js) missing" exit 1 fi # Check if lib directory exists if [ -d "lib" ]; then echo "✅ Library directory exists" else echo "❌ Library directory missing" exit 1 fi # Try basic syntax check node --check index.js if [ $? -eq 0 ]; then echo "✅ Main file syntax check passed" else echo "❌ Main file syntax check failed" exit 1 fi echo "✅ Basic validation passed - ready for npm publish!"

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/DeveloperZo/mcp-audio-inspector'

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