Deployment errors
Repository not found
Error: “No repositories found” or “Repository not accessible” Fix: Install the GitHub App and grant access to your repository.- Go to Settings in your dashboard
- Click Install GitHub App
- Select the repositories you want to deploy
- Return to the dashboard and refresh
Build failed
Error: Deployment stuck at “Building” or shows “Build failed” Common causes:- Missing
requirements.txtorpyproject.toml - Syntax errors in your code
- Missing dependencies
- Check build logs in your deployment details
- Ensure your code runs locally:
python main.py - Verify all dependencies are listed in your requirements file
Deployment timeout
Error: “Deployment timed out” or stuck at “Deploying” Cause: Server doesn’t start within 30 seconds. Fix:- Ensure your server starts quickly
- Check for blocking operations at startup
- Verify your server listens on the correct port
Runtime errors
502/503 errors
Error: “Server unavailable” or bad gateway errors Fix:- Check deployment logs for startup errors
- Verify your MCP server implements the protocol correctly
- Ensure the server responds to health checks at
/health
Protocol errors
Error: “Invalid JSON-RPC” or MCP protocol errors Fix: Verify your server follows MCP spec:Cold start delays
Symptom: First request takes several seconds on Free plan. Cause: Scale-to-zero servers sleep after 15 minutes of inactivity. Solutions:- Wait a few seconds for the server to wake up
- Upgrade to a paid plan for always-on servers
Authentication errors
Invalid token
Error: 401 Unauthorized when OAuth is enabled Fix:- Verify your token is valid and not expired
- Check the
Authorization Server URLin deployment settings - Ensure the token audience matches your server URL
Missing scopes
Error: 403 Forbidden with scope errors Fix: Ensure your token includes all required scopes configured in deployment settings.Logs
Access build logs
- Go to your dashboard
- Click on a deployment
- View the Build Logs section
Access runtime logs
- Go to your dashboard
- Click on a deployment
- View the Runtime Logs section
Still stuck?
Contact Support
Email max@mcpdeploy.dev with your deployment ID and error details.