MCP-Server
Verified Safeby Prasann3
Overview
An AI-powered system for analyzing financial documents for risk assessment, providing conversational insights and document intelligence.
Installation
python Risk-sent/Backend/app/main.pyEnvironment Variables
- HUGGING_FACE_API_KEY
- GROK_API_KEY
- MONGO_DB_CONNECTION_STRING
- MONGO_DB_NAME
- ACCESS_TOKEN_EXPIRE_MINUTES
- SECRET_KEY
- ALGORITHM
- SYSTEM_ENV
- REDIS_SERVER_URL
Security Notes
The backend uses environment variables for sensitive data like API keys and database connection strings. User authentication involves password hashing and JWTs via cookies, with `httponly`, `secure=True`, and `samesite='none'` set, indicating an assumption of cross-origin interaction which should be properly managed in production. CORS origins are broadly allowed for local development. Input validation on file uploads limits to PDF/DOC/TXT. No `eval` or obvious code obfuscation. The inter-process communication with the C++ worker uses a length-prefixed binary JSON protocol, which is generally robust.
Similar Servers
flexible-graphrag
The Flexible GraphRAG MCP Server integrates document processing, knowledge graph building, hybrid search, and AI query capabilities via the Model Context Protocol (MCP) for clients like Claude Desktop and MCP Inspector.
mcp-raganything
Provides a FastAPI REST API and MCP server for Retrieval Augmented Generation (RAG) capabilities, integrating with the RAG-Anything and LightRAG libraries for multi-modal document processing and knowledge graph operations.
AgentStack
A versatile backend for hosting and orchestrating multiple specialized AI agents and workflows within the Mastra framework, facilitating agent-to-agent (A2A) coordination, code-centric development tasks, knowledge management (notes), and integration with various external services. It supports evaluation of agent performance and policy-driven access control.
Pitchlense-mcp
Provides AI-powered, multi-category risk analysis for startups, aiding in investment due diligence, growth potential evaluation, and portfolio risk management.