MCP_Server_for_Multi_Agent_Langgraph_for_CBT_Health_Assistance
by jeevvanth
Overview
A multi-agent LangGraph application for generating Cognitive Behavioral Therapy (CBT) exercises, persisted using a PostgreSQL checkpointer.
Installation
uvicorn main:api --host 127.0.0.1 --port 8001 --reload FalseEnvironment Variables
- GROQ_API_KEY
- POSTGRES_CONNECTION_STRING
Security Notes
A critical security vulnerability exists due to a hardcoded PostgreSQL connection string, including username ('postgres') and password ('jeeva123'), directly within `main.py`. This credential should be stored in an environment variable. While no obvious 'eval' or malicious code patterns were found, relying on LLM output for JSON parsing without robust error handling or sanitization could introduce risks if the LLM generates malformed or unexpectedly structured data.
Similar Servers
pg-aiguide
Provides AI-optimized PostgreSQL expertise, including semantic search across documentation and curated best-practice skills, for integration with AI coding assistants.
Sinawali-MCP-Server
Provides an API for an LLM-powered agent to manage a knowledge graph, primarily for text-based RPG scenarios, leveraging the Model-Context-Protocol.
MCP---Agent-Starter-Kit
A FastAPI server to expose a local 'docs' folder for document retrieval via REST API endpoints, with optional integration for Multi-Agent Collaboration Protocol (MCP) workflows.
Cerina-Foundry
An autonomous multi-agent system for generating and refining safe, empathetic Cognitive Behavioral Therapy (CBT) exercises with human-in-the-loop approval and PostgreSQL persistence.