
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 智能体。