
MCP服务器环绕Fabric Rest API
概览
一个提供 Microsoft Fabric 资源只读访问的模型上下文协议服务器。查询工作区、检查表模式、监控作业并使用自然语言分析依赖关系。 - 覆盖工作区、湖屋、表、作业和依赖 - - 仅使用 GET 请求,无数据修改风险 - 快速响应 - Cursor、Claude 及其他兼容 MCP 的 AI 工具 : 工作区参数接受工作区名称(例如,“DWH-PROD”)或工作区 ID。建议使用名称以便使用。 服务器为了性能缓存响应。使用clear_fabric_data_cache刷新资源列表,或在重命名工作区/湖屋后刷新clear_name_resolution_cache。 1. 安装 UV 和 Azure CLI(见下文章节) 2. 设置 Azure CLI 认证:az 登录 3.在光标中配置 MCP(见下文“设置 MCP”部分) 该工具包要求安装并正确配置Azure CLI以实现Microsoft Fabric服务的认证。 1.
概述(AI 翻译)
一个提供 Microsoft Fabric 资源只读访问的模型上下文协议服务器。查询工作区、检查表模式、监控作业并使用自然语言分析依赖关系。
特色
- 25个工具,涵盖工作区、湖屋、表、作业和依赖
- 只读操作 - 仅使用 GET 请求,无数据修改风险
- 智能缓存以实现快速响应
- 可与光标、Claude及其他兼容MCP的AI工具使用
可用MCP工具
参数说明:
workspace参数接受工作区名称(例如“DWH-PROD”)或工作区 ID。建议使用名称以便使用。
🏢 核心织物管理
| 工具 | 说明 | 输入 |
|---|---|---|
list_workspaces |
列出所有可访问的Fabric工作区 | 无 |
get_workspace |
获取包括工作区身份状态在内的详细信息 | workspace(名称/ID) |
list_items |
使用可选类型过滤列出工作区中的所有项目 | workspace(名称/ID),item_type(可选) |
get_item |
获取特定物品的详细属性和元数据 | workspace(名称/ID),item_name(名称/ID) |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Microsoft Fabric MCP
A Model Context Protocol server that provides read-only access to Microsoft Fabric resources. Query workspaces, examine table schemas, monitor jobs, and analyze dependencies using natural language.
Features
- 25 tools covering workspaces, lakehouses, tables, jobs, and dependencies
- Read-only operations - uses only GET requests, no risk of data modification
- Smart caching for fast responses
- Works with Cursor, Claude, and other MCP-compatible AI tools
Available MCP Tools
Parameter Note:
workspaceparameters accept either workspace names (e.g., “DWH-PROD”) or workspace IDs. Names are recommended for ease of use.
🏢 Core Fabric Management
| Tool | Description | Inputs |
|---|---|---|
list_workspaces |
List all accessible Fabric workspaces | None |
get_workspace |
Get detailed workspace info including workspace identity status | workspace (name/ID) |
list_items |
List all items in workspace with optional type filtering | workspace (name/ID), item_type (optional) |
get_item |
Get detailed properties and metadata for specific item | workspace (name/ID), item_name (name/ID) |
list_connections |
List all connections user has access to across entire tenant | None |
list_lakehouses |
List all lakehouses in specified workspace | workspace (name/ID) |
list_capacities |
List all Fabric capacities user has access to | None |
get_workspace_identity |
Get workspace identity details for a specific workspace | workspace (name/ID) |
list_workspaces_with_identity |
List workspaces that have workspace identities configured | None |
📊 Data & Schema Management
| Tool | Description | Inputs |
|---|---|---|
get_all_schemas |
Get schemas for all Delta tables in lakehouse | workspace (name/ID), lakehouse (name/ID) |
get_table_schema |
Get detailed schema for specific table | workspace (name/ID), lakehouse (name/ID), table_name |
list_tables |
List all tables in lakehouse with format/type info | workspace (name/ID), lakehouse (name/ID) |
list_shortcuts |
List OneLake shortcuts for specific item | workspace (name/ID), item_name (name/ID), parent_path (optional) |
get_shortcut |
Get detailed shortcut configuration and target | workspace (name/ID), item_name (name/ID), shortcut_name, parent_path (optional) |
list_workspace_shortcuts |
Aggregate all shortcuts across workspace items | workspace (name/ID) |
⚡ Job Monitoring & Scheduling
| Tool | Description | Inputs |
|---|---|---|
list_job_instances |
List job instances with status/item filtering for monitoring | workspace (name/ID), item_name (optional), status (optional) |
安装
uvx microsoft-fabric-mcp