Skip to main content
Glama
GautamSutar

AI Engineering Assistant MCP Server

by GautamSutar

AI Engineering Assistant (MCP Server)

An AI ops assistant that answers questions about backend job failures by calling real tools over MCP (Model Context Protocol). The LLM (via Groq) never guesses -- it calls MCP tools backed by a SQLite jobs table to get real data, then summarizes.

User -> FastAPI /chat -> LangGraph agent (Groq LLM) -> MCP tools -> SQLite

Structure

app/
  db/       SQLAlchemy models + seed data (Job table)
  mcp/      MCP server exposing job-ops tools (get_failed_jobs, search_jobs, ...)
  agent/    LangGraph ReAct agent wired to Groq + MCP tools
  api/      FastAPI routes (/chat, /health)
main.py     FastAPI entrypoint

Related MCP server: Data Agent Connector

Setup

python -m venv .venv
.venv\Scripts\activate          # Windows
pip install -r requirements.txt

copy .env.example .env
# edit .env and set GROQ_API_KEY

python -m app.db.seed           # creates + seeds app/db/ops.db

Run (two processes)

Terminal 1 -- MCP server (tools + SQLite):

python -m app.mcp.server

Terminal 2 -- FastAPI app (agent + chat endpoint):

uvicorn main:app --reload --port 8000

Try it

curl -X POST http://localhost:8000/chat \
  -H "Content-Type: application/json" \
  -d "{\"message\": \"What jobs failed recently and why?\"}"

The agent will call get_failed_jobs (and possibly get_job_by_id / search_jobs) via MCP, then summarize the real failures from SQLite.

Roadmap

  • Tool permission tiers (read / write / dangerous) with human-in-the-loop approval

  • Docker / monitoring / GitHub MCP tool servers

  • Auth (API key or JWT) on the FastAPI layer

  • Streaming responses

  • Docker Compose for MCP server + API + Postgres

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    A
    maintenance
    Provides an LLM access to the Exasol database via MCP tools, enabling reading of database metadata and execution of data reading queries.
    18
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables SQL agents to connect to any SQLAlchemy-supported database via MCP, providing read-only SQL querying, automatic table summarization, and column content search.
    4
    Apache 2.0
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables natural-language querying of a SQLite database through a locally served, fine-tuned text-to-SQL model exposed as an MCP tool, offering fast and cost-free SQL generation and execution.
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to read-only query a SQLite database, inspect schema and table summaries, and execute SELECT queries with pagination through MCP.
    MIT