We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChenYCL/sun-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
publish.shβ’1.12 KiB
#!/bin/bash
# Sun Session Summarizer MCP - Publish Script
echo "π Preparing Sun Session Summarizer MCP for publication..."
# Check if we're in the right directory
if [ ! -f "package.json" ]; then
echo "β Error: package.json not found. Please run this script from the project root."
exit 1
fi
# Clean and build
echo "π§Ή Cleaning previous build..."
npm run clean
echo "π¨ Building project..."
npm run build
# Check if build was successful
if [ ! -f "dist/server.js" ]; then
echo "β Error: Build failed. dist/server.js not found."
exit 1
fi
# Make server.js executable
chmod +x dist/server.js
echo "β Build completed successfully!"
# Check npm login status
echo "π Checking npm login status..."
if ! npm whoami > /dev/null 2>&1; then
echo "β You are not logged in to npm. Please run 'npm login' first."
exit 1
fi
echo "π¦ Ready to publish!"
echo ""
echo "To publish to npm, run:"
echo " npm publish"
echo ""
echo "After publishing, users can install with:"
echo " npx sun-mcp@latest"
echo ""
echo "And configure in Claude Desktop as:"
echo " Name: Sun MCP"
echo " Command: npx -y sun-mcp@latest"