MCP-SERVER
Verified Safeby Abhuday2709
Overview
An AI chatbot server integrating Google Gemini with Gmail via Model Context Protocol for intelligent email interaction.
Installation
npm startEnvironment 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
octocode
Octocode is an intelligent code indexer, semantic search engine, and knowledge graph builder that provides AI-powered assistance for developers.
mcp-server-csdn
The server automatically publishes Markdown articles to the CSDN platform, acting as a tool called by a Spring AI agent.
ancplua-mcp
Provides C#/.NET Model Context Protocol (MCP) servers to expose development tools for filesystem, Git, CI/CD, Roslyn analysis, and multi-AI orchestration, facilitating advanced developer workflows and AI-assisted development.
mt-data-mcp
A MetaTrader5 Model Context Protocol (MCP) server for accessing market data, performing technical analysis, generating forecasts, and optimizing trading strategies.