Skip to main content
Glama
ls-mcp-server

ls-mcp-server

by yuvraj9056

ls-mcp-server

MCP server (FastMCP) that exposes two tools:

  • query_struct_data — Generates/validates/executes SQL queries via the SQL agent.

  • search_kb — Answers questions grounded in the RAG knowledge base via the RAG agent.

Quick start

1) Install dependencies

pip install -r requirements.txt

2) Configure environment

Create a .env file (example values shown in .env.example if present) and set any credentials/connection strings required by:

  • SQL Server (ODBC / connection settings)

  • LLM provider (OpenAI / Groq / Ollama)

  • Azure Search (if used)

3) Run the MCP server

python main.py

Server runs on:

  • HTTP transport

  • 0.0.0.0:8000

Related MCP server: Business MCP Server

MCP inspector

Inspect the exposed tools for main.py:

mcp inspector --file main.py

If your installation uses the module form:

python -m mcp_inspector --file main.py

Project structure

  • main.py — MCP server + tool definitions

  • RAG_AGENT/ — RAG agent implementation

  • SQL_AGENT/ — SQL agent implementation

  • config/ — configuration / LLM factory

Tests

pytest -q

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language database operations and semantic document search through SQLite and vector database integration. Converts plain English instructions into SQL queries and provides RAG capabilities for uploaded documents.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI to query a business database for customers, orders, and revenue using natural language through safe, well-defined tools.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables RAG (Retrieval-Augmented Generation) with tools for vector search, document access, and OpenAI integration, plus MySQL storage and file system operations via MCP.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to interact with PostgreSQL or MySQL databases using natural language. Supports SQL queries, schema discovery, and pre-built aggregations without writing SQL.
      -