This guide walks you through deploying the MCP Server Builder Platform to Netlify.
- A Netlify account (free tier works perfectly)
- A GitHub/GitLab/Bitbucket account with this repository
-
Connect Your Repository
- Log in to Netlify
- Click "Add new site" → "Import an existing project"
- Choose your Git provider (GitHub/GitLab/Bitbucket)
- Authorize Netlify to access your repositories
- Select the
mcp-reprepository
-
Configure Build Settings
Netlify will automatically detect the
netlify.tomlconfiguration file. The settings will be:- Base directory:
frontend - Build command:
npm install && npm run build - Publish directory:
dist - Node version: 18
- Base directory:
-
Deploy
- Click "Deploy site"
- Wait for the build to complete (typically 1-2 minutes)
- Your site will be live at a URL like
https://random-name-123456.netlify.app
-
Custom Domain (Optional)
- Go to "Site settings" → "Domain management"
- Click "Add custom domain"
- Follow instructions to configure your domain
-
Install Netlify CLI
npm install -g netlify-cli
-
Login to Netlify
netlify login
-
Initialize and Deploy
# From the root of the repository cd /path/to/mcp-rep # Initialize Netlify site netlify init # Deploy netlify deploy --prod
Click the button below to deploy directly to Netlify:
The netlify.toml file in the root directory contains all the necessary configuration:
- Build settings: Specifies the build command and publish directory
- Redirects: Configures client-side routing for the React SPA
- Security headers: Sets important security headers (X-Frame-Options, CSP, etc.)
- Cache control: Optimizes caching for static assets
This application runs entirely client-side and doesn't require any environment variables for basic operation.
After deployment:
- Test the Site: Visit your Netlify URL to ensure everything works
- Check Routing: Navigate to different sections to verify SPA routing works
- Test MCP Builder: Try selecting integrations and building configurations
- Configure Custom Domain: Set up your custom domain if desired
Once connected, Netlify automatically deploys:
- Production: Every push to the main branch
- Preview: Every pull request gets a preview URL
- Check build logs in the Netlify dashboard
- Ensure Node.js version 18 or higher is being used
- Verify all dependencies are in
package.json
- Ensure
netlify.tomlis in the repository root - Check that
_redirectsfile exists infrontend/public/ - Verify publish directory is set to
dist
- Enable build caching in Netlify settings
- Consider using Netlify's build plugin ecosystem
For deployment issues:
- Check Netlify Documentation
- Visit Netlify Community
- Open an issue in this repository
Netlify's free tier includes:
- 100 GB bandwidth/month
- Unlimited personal and commercial projects
- Continuous deployment from Git
- HTTPS on custom domains
- Deploy previews for pull requests
This is more than sufficient for most use cases.