#!/bin/bash -e
TYPE=$1
if [ -z "$TYPE" ]; then
echo "Usage: $0 <type>"
echo "type: major, minor, patch"
exit 1
fi
# Confirm release
read -p "Are you sure you want to release a new version? (y/N): " -r
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Release cancelled."
exit 1
fi
# Tag release
npm version $TYPE
# Publish to npm
npm publish
# Push to GitHub
git push origin main
git push --tags
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/playcanvas/editor-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server