Skip to content

[BUG]-The MCP server cannot query SQL Endpoints of Lakehouse #2298

@mumtaz-lilly

Description

@mumtaz-lilly

Describe the bug

show me top 2 rows in dimcustomer_gold table using SQL endpoint. Dont download parquet files

Fabric MCP: let me query directly via the SQL endpoint instead.
Execute SQL Query on Fabric Lakehouse
Result
Done
The schema-qualified query is failing — this Lakehouse has schemas enabled, which the fabric_query_lakehouse tool doesn't support via the standard SQL endpoint. We confirmed this earlier when the same issue occurred with factsales_gold. The tool uses the Spark SQL / TDS endpoint which doesn't resolve the sales. schema prefix for this particular lakehouse.

Expected behavior

I expect that SQL Endpoints are querable and return data from lakehouse tables - whether schema enabled or not.

Actual behavior

The schema-qualified query is failing — this Lakehouse has schemas enabled, which the fabric_query_lakehouse tool doesn't support via the standard SQL endpoint. We confirmed this earlier when the same issue occurred with factsales_gold. The tool uses the Spark SQL / TDS endpoint which doesn't resolve the sales. schema prefix for this particular lakehouse.

Reproduction Steps

Simply say show me top 3 rows in mytable from mylakehouse

Environment

Claude Desktop + Macbook

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedneeds-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.questionFurther information is requestedserver-Fabric.McpMicrosoft Fabric MCP Server

    Type

    No type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions