Back to Home
YOUHAD08 icon

WhatsApp-AI-Bot

Verified Safe

by YOUHAD08

Overview

An intelligent WhatsApp chatbot that leverages a dedicated MCP server for dynamic tool management, enabling employee data queries via Spring AI and OpenAI's GPT-4.

Installation

Run Command
cd mcp_server && mvn spring-boot:run

Environment Variables

  • OPENAI_API_KEY
  • WHATSAPP_ACCESS_TOKEN
  • WHATSAPP_VERIFY_TOKEN

Security Notes

The application employs environment variables for sensitive data like API keys and verification tokens, which is a good practice. User input (message text) is escaped before being included in JSON payloads, mitigating potential JSON injection risks when communicating with the Meta WhatsApp API. Webhook verification ensures authenticity of incoming requests. The architecture's separation into a main bot service and a distinct MCP server for tools enhances modularity and potentially reduces the attack surface. No direct 'eval' or easily exploitable code injection vulnerabilities are apparent in the provided source code. Primary security considerations would revolve around prompt injection for the LLM and the secure management of API keys and server exposure during deployment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens150
Stars0
Forks0
Last Update2025-11-27

Tags

WhatsApp BotAI ChatbotSpring AIToolingGPT-4