One-liner Deployment Scripts
December 10, 2025 ยท View on GitHub
This directory contains one-liner deployment scripts for the Solana MCP Server across different platforms.
Quick Start
# Run the main script to see all options
./scripts/deploy.sh
Available Scripts
Local Development
./scripts/deploy-local.sh
- Downloads latest release binary
- Configures Claude Desktop integration
- No additional dependencies required
Docker Container
./scripts/deploy-docker.sh
- Builds Docker image
- Runs container on port 8080
- Requires: Docker
Docker Compose
./scripts/deploy-compose.sh
- Creates docker-compose.yml
- Deploys with health checks
- Requires: Docker, Docker Compose
Kubernetes
./scripts/deploy-k8s.sh
- Creates deployment and service manifests
- Deploys 3 replicas with load balancer
- Requires: Docker, kubectl, Kubernetes cluster
AWS Lambda
./scripts/deploy-lambda.sh
- Builds Lambda-compatible binary
- Creates function and API Gateway
- Requires: AWS CLI, cargo-lambda, valid AWS credentials
Google Cloud Functions
./scripts/deploy-gcf.sh
- Builds for Cloud Functions runtime
- Deploys HTTP-triggered function
- Requires: gcloud CLI, valid GCP credentials
Vercel Edge Functions
./scripts/deploy-vercel.sh
- Creates Vercel project structure
- Deploys to Vercel Edge runtime
- Requires: Vercel CLI, Node.js
Netlify (Documentation Site)
./scripts/deploy-netlify.sh
- Builds Jekyll documentation site
- Deploys to Netlify CDN
- Requires: Ruby, Bundler, Netlify CLI (optional)
Prerequisites by Platform
| 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) |
Environment Variables
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.
Troubleshooting
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
Support
See the main DEPLOYMENT.md for detailed deployment guides and troubleshooting.