Fabric MCP
织物 MCP
Fabric MCP 是一个基于 Python 的 MCP 服务器,用于与 Microsoft Fabric API 交互。它提供用于管理工作区、Lakehouse、仓库和表的实用程序。(未来将添加更多功能)。该项目的灵感来自以下项目: https://github.com/Augustab/microsoft\ _fabric\_mcp/tree/main
特征
列出工作区、湖屋、仓库和桌子。
检索 Delta 表的架构和元数据。
为 Delta 表生成 markdown 文档。
Related MCP server: power-bi-mcp
要求
Python 3.12 或更高版本
用于身份验证的 Azure 凭据
uv(来自 astral):安装说明
Azure Cli:安装说明
可选:用于运行 MCP 检查器的 Node.js 和 npm:安装说明
安装
克隆存储库:
git clone https://github.com/your-repo/fabric-mcp.git cd fabric-mcp设置虚拟环境并安装依赖项:
uv sync安装依赖项:
pip install -r requirements.txt
用法
连接到 MS Fabric
运行 Azure CLI 命令登录:
az login --scope https://api.fabric.microsoft.com/.default
运行 MCP 服务器并使用 MCP 检查器连接到它
运行 MCP 服务器并公开检查器进行测试:
bash uv run --with mcp mcp dev fabric_mcp.py这将启动服务器并在http://localhost:6274公开检查器。
运行 MCP 服务器并使用 MCP 检查器连接到它
要将 MCP 服务器与 VSCode 一起使用,您可以在
launch.json文件中设置启动配置:{ //Existing configurations... "mcp": { "servers": { "ms-fabric-mcp": { "type": "stdio", "command": "<FullPathToProjectFolder>\\.venv\\Scripts\\python.exe ", "args": [ "<FullPathToProjectFolder>\\fabric_mcp.py" ] } } } }此配置允许您直接从 VSCode 运行并连接到 MCP 服务器。并提供对以下工具的访问:

使用 Copilot 聊天中的代理模式,您可以通过使用 # 指定工具名称来访问 MCP 服务器中可用的不同工具,例如 #list_workspaces。
可用工具
可通过 MCP 服务器使用以下工具:
list_workspaces:列出所有可用的 Fabric 工作区。list_lakehouses(workspace):列出指定工作区中的所有 Lakehouse。list_warehouses(workspace):列出指定工作区中的所有仓库。list_tables(workspace, lakehouse):列出指定 lakehouse 中的所有表。get_lakehouse_table_schema(workspace, lakehouse, table_name):检索特定 Delta 表的架构和元数据。get_all_lakehouse_schemas(workspace, lakehouse):检索 lakehouse 中所有 Delta 表的模式和元数据。set_lakehouse(workspace, lakehouse):设置当前的 lakehouse 上下文。set_warehouse(workspace, warehouse):设置当前仓库上下文。set_workspace(workspace):设置当前工作区上下文。
执照
本项目遵循 MIT 许可证。详情请参阅 LICENSE 文件。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThe Fabric-Analytics-MCP server enables AI agents to interact directly with Microsoft Fabric using natural language. It transforms complex data engineering tasks—such as workspace management, data exploration, and job execution—into intuitive, conversational workflows for LLMs like Claude or GitHub17109MIT
- AlicenseAqualityBmaintenanceAn MCP (Model Context Protocol) server that lets AI agents manage Power BI workspaces, datasets, and refreshes via natural language.112MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for Microsoft Fabric that enables AI agents to query and analyze Lakehouse and Eventhouse data, and manage Eventstreams, using natural language through the MCP interface.MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Microsoft Fabric REST APIs that enables data engineers and analysts to manage Fabric components using AI assistants.21AGPL 3.0
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/datumnova/ms-fabric-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server