Provides utilities for retrieving schemas and metadata from Delta tables in Microsoft Fabric lakehouses, including generating markdown documentation for Delta tables.
The project is hosted on GitHub and can be cloned from a GitHub repository, though it doesn't appear to offer specific GitHub API integration functionality.
Enables generation of documentation for Delta tables in Markdown format, making it easier to document and share table schemas and metadata.
织物 MCP
Fabric MCP 是一个基于 Python 的 MCP 服务器,用于与 Microsoft Fabric API 交互。它提供用于管理工作区、Lakehouse、仓库和表的实用程序。(未来将添加更多功能)。该项目的灵感来自以下项目: https://github.com/Augustab/microsoft\ _fabric\_mcp/tree/main
特征
- 列出工作区、湖屋、仓库和桌子。
- 检索 Delta 表的架构和元数据。
- 为 Delta 表生成 markdown 文档。
要求
- Python 3.12 或更高版本
- 用于身份验证的 Azure 凭据
- uv(来自 astral):安装说明
- Azure Cli:安装说明
- 可选:用于运行 MCP 检查器的 Node.js 和 npm:安装说明
安装
- 克隆存储库:
- 设置虚拟环境并安装依赖项:
- 安装依赖项:
用法
连接到 MS Fabric
- 运行 Azure CLI 命令登录:
运行 MCP 服务器并使用 MCP 检查器连接到它
- 运行 MCP 服务器并公开检查器进行测试:
bash uv run --with mcp mcp dev fabric_mcp.py
这将启动服务器并在http://localhost:6274
公开检查器。
运行 MCP 服务器并使用 MCP 检查器连接到它
- 要将 MCP 服务器与 VSCode 一起使用,您可以在
launch.json
文件中设置启动配置:此配置允许您直接从 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
基于 Python 的 MCP 服务器,可与 Microsoft Fabric API 进行交互,以通过自然语言管理工作区、湖屋、仓库和表格。
Related MCP Servers
- -securityAlicense-qualityA Python-based MCP server that integrates OpenAPI-described REST APIs into MCP workflows, enabling dynamic exposure of API endpoints as MCP tools.Last updated -239PythonMIT License
- -securityFlicense-qualityThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.Last updated -Python
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -78715TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -7184TypeScriptMIT License