Back to Home
girish12ns icon

BoardingMcp-Server

Verified Safe

by girish12ns

Overview

This server functions as a Management and Control Plane (MCP) for onboarding clients and managing various WhatsApp Business API (WABA) interactions through AiSensy APIs, often orchestrated by a generative AI model.

Installation

Run Command
python3 -m mcp_servers.boarding_mcp.onboardserver

Environment Variables

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • GOOGLE_REDIRECT_URI
  • LOCAL_POSTGRES_URL
  • STG_BASE_URL
  • PARTNER_ID
  • AiSensy_API_Key
  • BUSINESS_ID
  • BASE_URL
  • Direct_BASE_URL
  • db_host
  • db_port
  • db_name
  • db_user
  • db_password
  • mongodb_uri
  • mongodb_db_name
  • data_collection_name
  • law_collection_name
  • log_level
  • LOG_DIR
  • SECRET_KEY
  • OPENAI_API_KEY
  • LLM_MODEL
  • TEMPERATURE
  • MAX_TOKENS
  • TIMEOUT
  • MAX_RETRIES

Security Notes

The server correctly externalizes sensitive configurations via environment variables (`.env` file using pydantic-settings), avoiding hardcoded secrets in the main codebase. Database interactions use SQLModel (an ORM), mitigating direct SQL injection risks. Asynchronous HTTP requests (`aiohttp`) are used for external API calls, and basic error handling is in place. However, the `generate_token` function (used in `research/test1.py` and `mcp_servers/utlis/utlis.py`) relies on base64 encoding `username:password:project_id` to create a token. While base64 is an encoding, not an encryption method, and might be acceptable for a composite API key structure, if this token is used as a standalone bearer token for secure sessions without further cryptographic signing or encryption, it represents a significant security weakness as the raw credentials could be easily decoded if the token is compromised.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-20

Tags

WhatsApp Business APIClient OnboardingAPI ManagementAiSensy IntegrationLLM Orchestration