
fabric-dw
io.github.sdebruyn由 GitHub 帳號 sdebruyn 發布v2026.9.0更新於 Oct 24, 2026
MCP server for Microsoft Fabric Data Warehouses and SQL Analytics Endpoints
發布方自己的服務:Fabric
概覽
針對 Microsoft Fabric 資料倉儲與 SQL 分析端點的 MCP 伺服器,讓助理查詢、管理、最佳化並保護這些資源。
- 可以做什麼
- 瀏覽工作區、倉儲、SQL 端點、結構描述、資料表與檢視,並對其執行或解說 SQL 查詢,包括預估執行計畫以及時間點快照或匯出為 Parquet。監控查詢活動:列出執行中、長時間執行或高頻查詢,並終止失控的工作階段。檢視與管理統計資料、依新鍵重新叢集化資料表,並處理還原點與稽核資料。管理治理:授予或拒絕 SQL 權限、資料行層級安全性與資料列層級安全性原則。將本機 Parquet 檔案載入資料表,並建立 dbt-fabric 專案骨架。
- 適用情境
- 當助理需要直接操作 Fabric 資料倉儲或 SQL 分析端點時使用:探索結構描述、執行與調校查詢、檢查效能或套用權限,而不必切換到 SSMS 或入口網站。
- 執行需求
- 透過 stdio 在本機執行,通常以 uvx 從 fabric-dw 套件啟動,或使用已發佈的容器映像。需要 Fabric 的 Azure 認證,由 FABRIC_AUTH 選擇(預設認證鏈、使用 AZURE_TENANT_ID、AZURE_CLIENT_ID 與 AZURE_CLIENT_SECRET 的服務主體,或互動式瀏覽器登入)。可選用 FABRIC_MCP_WORKSPACES 限定範圍。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 fabric-dw,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
fabric-dw
[Documentation] [CI] [codecov] [PyPI version] [Python versions] [License]
Python CLI and MCP server for Microsoft Fabric Data Warehouses and SQL Analytics Endpoints: administer, query, optimize, and secure them from your terminal or your AI agent.
Full documentation: fdw.debruyn.dev
📣 Just announced! Read the story behind fabric-dw in the announcement blog post.
Description
fabric-dw provides two interfaces for managing Microsoft Fabric Data Warehouses and SQL Analytics Endpoints:
- CLI: a command-line tool for common DW administration tasks.
- MCP server: a Model Context Protocol server that exposes DW operations as tools for AI assistants.
Authentication is configured via the FABRIC_AUTH environment variable. The default (FABRIC_AUTH=default) uses azure-identity DefaultAzureCredential, which walks environment variables, Workload/Managed Identity, Azure CLI, Azure Developer CLI, Azure PowerShell, and interactive browser in order. Any of these will satisfy it. See the Authentication docs for the full chain, all supported sources, and debugging tips.
Installation
After installation, the fdw command is a short alias for fabric-dw; both invoke the same entry point. See the Install docs for MCP server setup, upgrading, and prerelease builds.
Quick Start
CLI
The workspace is a global root option -w / --workspace placed before the command group. Set a default once with fdw config set workspace <NAME> and omit -w on every subsequent call. Workspace resolution order: (1) -w flag, (2) FABRIC_DW_DEFAULT_WORKSPACE env var, (3) configured default.
MCP Server
Add to your MCP client configuration (e.g. Claude Desktop, VS Code):
The MCP server exposes all CLI operations as MCP tools (workspaces, warehouses, SQL endpoints, schemas, tables, views, queries, snapshots, restore points, audit, statistics, permissions, sql-pools). Bundled Claude Code agent skills (query-optimizer, warehouse-performance, dbt-setup) are included for deeper AI-assisted analysis. Set FABRIC_AUTH in the environment if you need a non-default auth mode.
Both the skills and the MCP server install in one command via the fabric-dw plugin marketplace, for Claude Code and GitHub Copilot CLI alike: /plugin marketplace add sdebruyn/fabric-dw-mcp-cli then /plugin install fabric-dw@fabric-dw. See the Agent Skills docs for details.
Run in Docker
The Docker image's default ENTRYPOINT is the MCP server (fabric-dw-mcp). Use it as-is with your MCP client, or override the entrypoint to run the CLI instead.
Dev images (built from every main merge): ghcr.io/sdebruyn/fabric-dw:main or :<version>.dev<N>.
Package page: ghcr.io/sdebruyn/fabric-dw
Security environment variables
HTTP transport
The MCP server can be started in HTTP mode for remote clients:
It binds to loopback by default, where Host and Origin validation is handled for you. Binding anywhere else requires FABRIC_MCP_ALLOW_REMOTE=1 and --allowed-host, and the endpoint has no built-in authentication or TLS, so always front it with an authenticating reverse proxy. See Hosting the MCP server for that setup.
Develop in a container
Open the repo in GitHub Codespaces or VS Code's Remote-Containers extension. The devcontainer pre-installs Python 3.14, uv, Azure CLI, and the GitHub CLI.
Contributing
See CONTRIBUTING.md for dev setup, branch flow, and how to run tests locally.
📖 Docs: fdw.debruyn.dev (or run uv run --only-group docs zensical serve locally).
Security
Please report vulnerabilities privately. See SECURITY.md.
Code of Conduct
This project follows the Contributor Covenant 2.1.
License
MIT. Copyright (c) 2026 Sam Debruyn
來源:README.md,提交 a85c04c
工具
0版本歷史
1- v2026.9.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Fabric 整合
Fabric
so.fabric官方發布者
Fabric 的託管 MCP 服務,由 fabric.so 發布;需要憑證;Streamable HTTP。

Knowledge Fabric
由 GitHub 帳號 invarcore 發布
本機 MCP 伺服器,讓助理對存放在 PostgreSQL + pgvector 中的文件進行混合 RAG 檢索,並回傳附引用的證據包。

MCP Fabric (Minecraft)
由 GitHub 帳號 denfry 發布
通過mcpfabric模組(Fabric和NeoForge)檢視並遊玩Minecraft: Java Edition。AI 翻譯

Unifi Fabric Mcp Server
由 GitHub 帳號 swkstudios 發布
MCP server for UniFi Fabric: Network, Protect, Site Manager, InnerSpace, Carrier Fabric, Mobility.

Neblex Integration Fabric
由 GitHub 帳號 neblexhq 發布
Neblex Integration Fabric 遠端伺服器,讓助理在雲端或地端建置、測試並發佈 iPaaS 流程、應用程式、表單與 AI 代理。