Agentic Ai Mcp Query Brain — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Agentic Ai Mcp Query Brain (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An intelligent, agentic system built with Model Context Protocol (MCP) that transforms natural language queries into SQL, executes them against a database, and returns human-friendly results. Powered by modular microservices, Redis memory, and PostgreSQL for robust, context-aware querying.
This project enables you to ask questions in plain English and receive structured data answers. It does so using:
| Component | Technology |
|---|---|
| Language | Python 3.12 |
| Web Framework | FastAPI |
| AI / LLM Integration | OpenAI (via LLM) |
| Memory Store | Redis |
| Database | PostgreSQL |
| Containerization | Docker & Docker Compose |
| Reverse Proxy / Load Balancer | NGINX |
| Communication | JSON over standard I/O / HTTP |
Agentic-AI-MCP-Query-Brain/
├── agent/ # Core MCP agent logic
├── api_client/ # Client side communication logic
├── api_service/ # FastAPI based endpoints
├── docker/ # Dockerfiles & container setup
├── memory/ # Redis memory and context logic
├── models/ # Data models & schema definitions
├── sdk/ # MCP SDK & router utilities
├── services/ # Tool registry and helper services
├── sql_tool/ # SQL execution, explanation & validation
│
├── main.py # FastAPI entry point
├── main_stdio.py # MCP host via stdio runner
├── requirements.txt # Python dependencies
├── docker-compose.yml # Multi-container orchestration
├── nginx.conf # NGINX configuration
└── README.md # This documentationUse this example in your MCP setup (sensitive keys masked for security):
{
"mcpServers": {
"vartopia-sql-agent": {
"command": "D:/vartopia/.venv/Scripts/python.exe",
"args": [
"-u",
"D:/vartopia/main_stdio.py"
],
"env": {
"OPENAI_API_KEY": "sk-proj-********-REDACTED",
"DB_URL": "postgresql://mcp_postgres_user:********@render.com/mcp_postgres",
"REDIS_URL": "redis://localhost:6379"
},
"transport": "stdio",
"workingDirectory": "D:/vartopia"
}
}
} git clone https://github.com/Ramneek82810/Agentic-AI-MCP-Query-Brain.git
cd Agentic-AI-MCP-Query-Brain pip install -r requirements.txt uvicorn main:app --reload docker-compose up --buildUser Input
↓
MCP Client → MCP Host (FastAPI)
↓
Tool Router → [OpenAITool ⇄ SQLTool ⇄ MemoryTool]
↓
Redis Memory ↔ PostgreSQL
↓
Formatted JSON or Natural Language ResponseInput:
“Show the top 5 sales by department for the last quarter.”
Pipeline:
Output:
“Here are the top 5 departments by sales last quarter: Electronics, Home, Fashion, Sports, and Toys.”
This project is licensed under the MIT License — free to use, modify, and distribute with attribution.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.