Skip to content

Deployment

Manvendra Bhardwaj edited this page May 23, 2026 · 1 revision

Deployment

Overview

The three services are deployed separately. Deploy them in this order since Backend depends on MCP Server being live first.

  1. MCP Server → Render
  2. Backend → Render
  3. Frontend → Vercel

MCP Server on Render

  1. Go to Render and create a new Web Service.
  2. Connect your GitHub repository.
  3. Set the Root Directory to MCP Server.
  4. Set the Build Command to npm install.
  5. Set the Start Command to node index.js.
  6. No environment variables are needed.
  7. Deploy and note the URL — you will need it for the Backend.

Backend on Render

  1. Create another new Web Service on Render using the same repository.
  2. Set the Root Directory to Backend.
  3. Set the Build Command to npm install.
  4. Set the Start Command to node server.js.
  5. Add the following environment variables in the Render dashboard:
Variable Value
PORT 3000
MONGO_URL Your MongoDB Atlas connection string
JWT_TOKEN Your JWT secret key
GROQ_API_KEY Your Groq API key
MCP_SERVER_URL The Render URL of your MCP Server

Free Tier Note

Render free tier services spin down after a period of inactivity. The first request after idle may take 30 to 60 seconds while the service wakes up. This is expected behavior on the free plan.

Clone this wiki locally