Back to Home
jeevvanth icon

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

Run Command
uvicorn main:api --host 127.0.0.1 --port 8001 --reload False

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens3500
Stars0
Forks0
Last Update2025-12-14

Tags

Multi-agentLangGraphCBTHealth AssistancePostgreSQLFastAPI