Back to Home
Abhuday2709 icon

MCP-SERVER

Verified Safe

by Abhuday2709

Overview

An AI chatbot server integrating Google Gemini with Gmail via Model Context Protocol for intelligent email interaction.

Installation

Run Command
npm start

Environment Variables

  • PORT
  • NODE_ENV
  • FRONTEND_URL
  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GOOGLE_REDIRECT_URI
  • JWT_SECRET
  • GEMINI_API_KEY
  • REDIS_URL

Security Notes

The server follows good security practices by using environment variables for sensitive data, HTTP-only cookies for JWTs, and Redis for storing OAuth tokens. The MCP client spawns a fixed `node` process, which is safe. CORS is configured correctly to prevent cross-site scripting. The AI prompt engineering attempts to obtain structured JSON, with error handling for parsing. However, explicit Google refresh token handling is not fully detailed in the provided code snippets (though tokens are stored), and rate limiting, while recommended in the README, is not implemented in the main `app.js`.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens700
Stars0
Forks0
Last Update2025-11-23

Tags

AI ChatbotGmail IntegrationGoogle GeminiNode.jsOAuth2