Before running the project, you need API keys for Gemini (Google Generative AI) and Resend (email service).
- Go to Google AI Studio.
- Sign in with your Google account.
- Click "Create API Key" and copy the generated key.
- Go to Resend and sign up.
- After verifying your email, go to the API Keys section.
- Click "Create API Key" and copy the key.
- For SMTP, use the credentials provided in your Resend dashboard (host, user, password).
Create a .env file in the mcp-server directory:
PORT=3001
GEMINI_API_KEY=your-gemini-api-key-here
EMAIL_PASS=your-resend-smtp-password-here // will be the token value of the api keyTo start the backend server:
npm run serverTo start the next.js frontend:
npm run frontend-
The frontend will run on http://localhost:3000.
-
These commands will also install all dependencies.