Skip to main content
Glama
build_mcpb.sh1.57 kB
#!/bin/bash # Build script for creating Manim MCP MCPB bundle set -e echo "Building Manim MCP Bundle (.mcpb)..." echo "====================================" echo "" # Check if mcpb CLI is installed if ! command -v mcpb &> /dev/null; then echo "Error: MCPB CLI not found." echo "Install it with: npm install -g @anthropic-ai/mcpb" exit 1 fi # Check if icon exists if [ ! -f "icon.png" ]; then echo "Error: icon.png not found." echo "Please create a 512x512 PNG icon file." exit 1 fi echo "✓ Icon found" # Validate manifest.json echo "Validating manifest.json..." if ! mcpb validate manifest.json; then echo "Error: manifest.json validation failed" exit 1 fi echo "✓ Manifest valid" # Clean previous builds echo "" echo "Cleaning previous builds..." rm -f *.mcpb rm -rf dist/ # Build the MCPB echo "" echo "Building MCPB bundle..." mcpb pack echo "" echo "✓ Build complete!" echo "" # Find the created .mcpb file MCPB_FILE=$(ls -t *.mcpb 2>/dev/null | head -n1) if [ -n "$MCPB_FILE" ]; then echo "Created: $MCPB_FILE" echo "Size: $(du -h "$MCPB_FILE" | cut -f1)" echo "" echo "To install:" echo " 1. Double-click $MCPB_FILE" echo " 2. Or drag-and-drop into Claude Desktop" echo " 3. Or use: File → Developer → Extensions → Install Extension" else echo "Warning: Could not find generated .mcpb file" fi echo "" echo "Next steps:" echo " 1. Test the extension in Claude Desktop" echo " 2. Verify both tools work correctly" echo " 3. Test on both macOS and Windows if possible"

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/Stelath/manim-mcp'

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