Skip to main content
Glama
agentic-data-fabric

agentic-data-fabric

ο»Ώ# πŸ€– Enterprise Agentic Data Fabric & Autonomous MCP Governor

License: Apache-2.0 Model Context Protocol DuckDB Apache Arrow CI Validation

A production-grade Deterministic Data Fabric enabling autonomous AI agents (Claude, Gemini, Antigravity, Cursor) to discover, inspect, query, and govern Lakehouse assets via the Model Context Protocol (MCP) with an integrated Self-Healing Compaction Governor.


πŸ›οΈ System Architecture

flowchart TD
    Client["πŸ€– AI Client (Claude Desktop / Gemini CLI / Antigravity)"] <-->|Model Context Protocol (Stdio)| MCPServer["πŸ”Œ MCP Server (src/mcp_server)"]
    
    subgraph GuardrailLayer ["Deterministic Guardrails & Query Sandbox"]
        MCPServer <--> Router["Gateway Router"]
        Router --> Guardrail["FabricGuardrail (Blocks DDL/DML, Enforces LIMIT Caps)"]
        Guardrail --> Engine["πŸ¦† Sandboxed DuckDB & PyArrow Engine"]
    end

    subgraph StorageLayer ["Distributed Lakehouse & Storage"]
        Engine <--> Lakehouse["🧊 Apache Iceberg / Delta Lake on S3/MinIO"]
    end

    subgraph SelfHealingGovernor ["Autonomous Self-Healing Loop"]
        Watcher["πŸ“Š LakehouseHealthWatcher (Detects Small-File Sprawl)"]
        Lakehouse -.-> Watcher
        Watcher --> Compactor["βš™οΈ AutonomousCompactor (Bin-Packing with Checksums)"]
        Compactor -->|Commit Verified Snapshot| Lakehouse
    end

Related MCP server: dst

⚑ Model Context Protocol (MCP) Tools Catalog

MCP Tool Name

Target Scope

Safety & Determinism Controls

lakehouse_inspect_schema

Table Schema & Metadata

Returns column data types, nullability, row counts, and storage format.

lakehouse_explain_query

Query Plan Optimization

Parses AST, analyzes sequential scans, and suggests partition pruning.

lakehouse_query_sandboxed

Read-Only Analytical SQL

Enforces AST validation (blocks mutations), caps row output (max 100), 5s timeout.

governor_audit_pipeline

Storage & File Health

Telemetry auditor returning small-file fragmentation index and skew.

governor_trigger_compaction

Autonomous Self-Healing

Executes columnar bin-packing with pre- and post-compaction row checksum validation.


πŸš€ Antigravity MCP Routing Configuration

To route Google Antigravity / Gemini CLI through this server, add this entry to ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "agentic-data-fabric": {
      "command": "python",
      "args": ["-m", "src.mcp_server.server"],
      "cwd": "C:/Users/amitt/Documents/github/agentic-data-fabric"
    }
  }
}

πŸ“œ Governance & Licensing

Licensed under the Apache License 2.0. Maintained under enterprise architectural governance by Amitkumar Tiwari.

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

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to explore Unity Catalog metadata, execute SQL queries, and analyze data lineage including notebooks and jobs, empowering autonomous data discovery and query generation in Databricks.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to query governed data warehouses through plain language, returning grounded answers with SQL, confidence grades, and signed receipts while enforcing access, testing, and audit controls.
      37 PyPI
      18
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to inspect schemas, walk Delta table history, run read-only DuckDB queries, and check data-quality and job-run status safely.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query Trino and Apache Pinot lakehouses under enforced governance, where every SQL statement is AST-validated, table-allowlisted, priced from the engine's own plan before it runs, and blocked or admitted against scan-byte and intermediate-row budgets. It also grounds agents with schema discovery tools, returns verified results with warnings instead of misleading answers, and records every tool call on an audit trail.
      3
      1
      Apache 2.0