This directory contains one-liner deployment scripts for the Solana MCP Server across different platforms.
# Run the main script to see all options
./scripts/deploy.sh./scripts/deploy-local.sh- Downloads latest release binary
- Configures Claude Desktop integration
- No additional dependencies required
./scripts/deploy-docker.sh- Builds Docker image
- Runs container on port 8080
- Requires: Docker
./scripts/deploy-compose.sh- Creates docker-compose.yml
- Deploys with health checks
- Requires: Docker, Docker Compose
./scripts/deploy-k8s.sh- Creates deployment and service manifests
- Deploys 3 replicas with load balancer
- Requires: Docker, kubectl, Kubernetes cluster
./scripts/deploy-lambda.sh- Builds Lambda-compatible binary
- Creates function and API Gateway
- Requires: AWS CLI, cargo-lambda, valid AWS credentials
./scripts/deploy-gcf.sh- Builds for Cloud Functions runtime
- Deploys HTTP-triggered function
- Requires: gcloud CLI, valid GCP credentials
./scripts/deploy-vercel.sh- Creates Vercel project structure
- Deploys to Vercel Edge runtime
- Requires: Vercel CLI, Node.js
./scripts/deploy-netlify.sh- Builds Jekyll documentation site
- Deploys to Netlify CDN
- Requires: Ruby, Bundler, Netlify CLI (optional)
| Platform | Requirements |
|---|---|
| Local | curl, unzip |
| Docker | Docker |
| Docker Compose | Docker, docker-compose |
| Kubernetes | Docker, kubectl, K8s cluster |
| AWS Lambda | AWS CLI, cargo-lambda, AWS credentials |
| Google Cloud | gcloud CLI, GCP credentials |
| Vercel | Vercel CLI, Node.js |
| Netlify | Ruby, Bundler, Netlify CLI (optional) |
All scripts use these default environment variables:
SOLANA_RPC_URL=https://api.mainnet-beta.solana.comSOLANA_COMMITMENT=confirmedRUST_LOG=info
Modify the scripts to customize these values for your deployment.
If a deployment fails:
- Check that all required tools are installed
- Verify credentials are configured (for cloud platforms)
- Ensure network connectivity
- Check platform-specific logs
See the main DEPLOYMENT.md for detailed deployment guides and troubleshooting.