Skip to main content
Glama

Dodo Payments

Official
by dodopayments
upload-artifact.sh782 B
#!/usr/bin/env bash set -exuo pipefail RESPONSE=$(curl -X POST "$URL" \ -H "Authorization: Bearer $AUTH" \ -H "Content-Type: application/json") SIGNED_URL=$(echo "$RESPONSE" | jq -r '.url') if [[ "$SIGNED_URL" == "null" ]]; then echo -e "\033[31mFailed to get signed URL.\033[0m" exit 1 fi TARBALL=$(cd dist && npm pack --silent) UPLOAD_RESPONSE=$(curl -v -X PUT \ -H "Content-Type: application/gzip" \ --data-binary "@dist/$TARBALL" "$SIGNED_URL" 2>&1) if echo "$UPLOAD_RESPONSE" | grep -q "HTTP/[0-9.]* 200"; then echo -e "\033[32mUploaded build to Stainless storage.\033[0m" echo -e "\033[32mInstallation: npm install 'https://pkg.stainless.com/s/dodo-payments-typescript/$SHA'\033[0m" else echo -e "\033[31mFailed to upload artifact.\033[0m" exit 1 fi

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/dodopayments/dodopayments-node'

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