0

Microsoft Fabric MCP Server

خادم MCP محلي يعطي الوكلاء وصولًا إلى واجهات Microsoft Fabric.

A local-first Model Context Protocol (MCP) server that provides AI agents with comprehensive access to Microsoft Fabric's public APIs, item definitions, and best practices. Documentation tools use bundled specifications without connecting to live Fabric environments; operational tools call Fabric AP

MCP server · خادم MCPazuremcp

Install

npx -y @microsoft/fabric-mcp@latest server start --mode all

Works with

claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (compatible), cline (native), continue (native), antigravity (native), windsurf (compatible), augment (native), qwen-code (native)

Content

<!-- See eng\scripts\Process-PackageReadMe.ps1 for instruction on how to annotate this README.md for package specific output cspell:words Retriable -->

<!-- remove-section: start nuget;vsix remove_fabric_logo --><img height="36" width="36" src="https://learn.microsoft.com/fabric/media/fabric-icon.png" alt="Microsoft Fabric Logo" /> <!-- remove-section: end remove_fabric_logo -->Microsoft Fabric MCP Server <!-- insert-section: nuget;vsix;npm {{ToolTitle}} -->

A local-first Model Context Protocol (MCP) server that provides AI agents with comprehensive access to Microsoft Fabric's public APIs, item definitions, and best practices. Documentation tools use bundled specifications without connecting to live Fabric environments; operational tools call Fabric APIs using the configured identity.

Table of Contents

  • [Overview](#overview)
  • [Installation](#installation)<!-- remove-section: start nuget;vsix;npm remove_ide_toc -->
  • [IDE](#ide)
  • [VS Code (Recommended)](#vs-code-recommended)
  • [Manual Setup](#manual-setup)<!-- remove-section: end remove_ide_toc -->
  • [Docker](#docker)
  • [Usage](#usage)
  • [Getting Started](#getting-started)
  • [What can you do with the Fabric MCP Server?](#what-can-you-do-with-the-fabric-mcp-server)
  • [Capacity Discovery](#capacity-discovery)
  • [Catalog Discovery](#catalog-discovery)
  • [Fabric Item Types & APIs](#fabric-item-types--apis)
  • [Resource Definitions & Schemas](#resource-definitions--schemas)
  • [Best Practices & Examples](#best-practices--examples)
  • [Development Workflows](#development-workflows)
  • [Workspace Metadata](#workspace-metadata)
  • [Available Tools](#available-tools)
  • [Namespace Filtering](#namespace-filtering)
  • [API Documentation & Best Practices](#api-documentation--best-practices)
  • [OneLake Data Operations](#onelake-data-operations)
  • [OneLake Security — Data Access Roles](#onelake-security--data-access-roles)
  • [OneLake Shortcuts](#onelake-shortcuts)
  • [OneLake Settings](#onelake-settings)
  • [Core Fabric Operations](#core-fabric-operations)
  • [Jobs](#jobs)
  • [Data Factory Operations](#data-factory-operations)
  • [Support and Reference](#support-and-reference)
  • [Documentation](#documentation)
  • [Feedback and Support](#feedback-and-support)
  • [Security](#security)
  • [Data Collection](#data-collection)
  • [Contributing](#contributing)
  • [Code of Conduct](#code-of-conduct)
  • [License](#license)

Overview

Microsoft Fabric MCP Server gives your AI agents the knowledge they need to generate robust, production-ready code for Microsoft Fabric, alongside authenticated tools for working with Fabric resources.

Key capabilities:

  • Complete API Context: Full OpenAPI specifications for all supported Fabric item types
  • Item Definition Knowledge: JSON schemas for every Fabric item type (Lakehouses, pipelines, semantic models, notebooks, etc.)
  • Built-in Best Practices: Embedded guidance on pagination, error handling, and recommended patterns
  • Local-First Documentation: Documentation tools read bundled resources locally; operational tools access Fabric under the configured identity
  • Workspace Metadata Updates: Rename a known workspace or update or clear its description without changing other properties
  • Data Factory Integration: Pipeline and Dataflow Gen2 management with M query execution

Installation

The manual configuration examples use mcpServers as the root object. In Visual Studio and Visual Studio Code, use servers instead.

<!-- insert-section: vsix {{ > VS Code (version 1.103 or above): You can configure MCP servers to start automatically using the chat.mcp.autostart setting.}} -->

When using the VS Code extension, fabricMcp.enabledServices selects from core, jobs, docs, onelake, and datafactory. Leave the list empty to enable all toolsets. Select both core and jobs for workflows combining item or definition operations with job submission, cancellation, instance listing/lookup, or schedule listing/creation/updates; selecting only core does not expose Jobs. If an existing setting contains publicapis, replace it with docs or clear the list; saved settings are not migrated automatically.

IDE

Start using Fabric MCP with your favorite IDE. We recommend VS Code:

VS Code (Recommended)

Compatible with both the Stable and Insiders builds of VS Code.

  1. Install the GitHub Copilot Chat extension.
  2. Install the Fabric MCP Server extension.

Manual Setup

Fabric MCP Server can also be configured across other IDEs, CLIs, and MCP clients:

<summary>Manual setup instructions</summary>

Use one of the following options to configure your mcp.json:

Option 1: Configure using the .NET tool (NuGet)<!-- remove-section: end remove_dotnet_config_sub_header -->
    dotnet tool install --global Microsoft.Fabric.Mcp --source https://api.nuget.org/v3/index.json
  • Ensure the .NET global tools directory is on the PATH available to your MCP client, then configure mcp.json:
    {
        "mcpServers": {
            "Fabric MCP Server": {
                "command": "fabmcp",
                "args": [
                    "server",
                    "start",
                    "--mode",
                    "all"
                ],
                "type": "stdio"
            }
        }
    }

Alternatively, .NET 10 supports running the published package on demand with dnx, without a permanent tool installation:

dnx Microsoft.Fabric.Mcp --source https://api.nuget.org/v3/index.json -- server start --mode all

Both commands use the latest published stable package unless you specify a version. To pin a released version, use --version <version> with dotnet tool install, or Microsoft.Fabric.Mcp@<version> with dnx.

Option 2: Configure using Node.js (npm/npx)<!-- remove-section: end remove_node_config_sub_header -->
  • Install a supported Node.js LTS version 22.0.0 or later, with npm and npx available on your system PATH. Verify your installation with node --version, npm --version, and npx --version.
  • Configure the mcp.json file with the following:
    {
        "mcpServers": {
            "fabric-mcp-server": {
                "command": "npx",
                "args": [
                    "-y",
                    "@microsoft/fabric-mcp@latest",
                    "server",
                    "start",
                    "--mode",
                    "all"
                ]
            }
        }
    }
Build from source (contributors)

Building the repository is a separate development workflow, not required to use the published packages:

git clone https://github.com/microsoft/mcp.git
cd mcp
dotnet build servers/Fabric.Mcp.Server/src/Fabric.Mcp.Server.csproj --configuration Release

Use the built servers/Fabric.Mcp.Server/src/bin/Release/fabmcp executable as your MCP client's command, with ["server", "start", "--mode", "all"] as its arguments. On Windows, use backslashes and the .exe extension.

Client-Specific Configuration | IDE | File Location | Documentation Link | |-----|---------------|-------------------| | Claude Code | ~/.claude.json or .mcp.json (project) | Claude Code MCP Configuration | | Claude Desktop | ~/.claude/claude_desktop_config.json (macOS)<br>%APPDATA%\Claude\claude_desktop_config.json (Windows) | Claude Desktop MCP Setup | | Cursor | ~/.cursor/mcp.json or .cursor/mcp.json | Cursor MCP Documentation | | VS Code | .vscode/mcp.json (workspace)<br>settings.json (user) | VS Code MCP Documentation | | Windsurf | ~/.codeium/windsurf/mcp_config.json | Windsurf Cascade MCP Integration |

Docker

The published container image is available from Microsoft Container Registry as mcr.microsoft.com/fabric/fabric-mcp. Use Docker with Linux containers. The latest tag selects the most recently published image; when pinning a version, choose a tag that already exists in the registry.

The container does not inherit your host's az login session. For operational tools, configure an identity supported by the Fabric APIs you intend to call and grant it the required Fabric permissions. For example, supply a service principal using a local environment file stored outside your repository:

AZURE_TENANT_ID=<tenant-id>
AZURE_CLIENT_ID=<client-id>
AZURE_CLIENT_SECRET=<client-secret>
AZURE_TOKEN_CREDENTIALS=EnvironmentCredential

Never commit this file or put its secret values in mcp.json. See environment credential options for other supported credential settings.

Configure your MCP client, replacing the environment-file placeholder with an absolute path:

{
    "mcpServers": {
        "fabric-mcp-server": {
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "--env-file",
                "<absolute-path-to-env-file>",
                "mcr.microsoft.com/fabric/fabric-mcp:latest",
                "--mode",
                "all"
            ]
        }
    }
}

Keep stdin open with -i, without allocating a TTY. The image entrypoint already runs server start; do not repeat those arguments after the image name.

Usage

Getting Started

  1. Open GitHub Copilot in VS Code and switch to Agent mode.
  2. Click refresh on the tools list
  • You should see the Fabric MCP Server in the list of tools
  1. Try a prompt that uses Fabric context, such as What Fabric item types are available?
  • The agent should be able to use the Fabric MCP Server tools to complete your query
  1. Check out the Microsoft Fabric documentation and review the troubleshooting guide for commonly asked questions
  2. We're building this in the open. Your feedback is much appreciated!

What can you do with the Fabric MCP Server?

The Fabric MCP Server supercharges your agents with Microsoft Fabric context. Here are some prompts you can try:

Capacity Discovery

  • "List Fabric capacities where I am an administrator or contributor"
  • "Show the IDs, SKUs, regions, and states of my accessible Fabric capacities"
  • "Get the next page of Fabric capacities using the continuation token from the previous response"

core_list-capacities returns exactly one page of capacity metadata in capacities, with continuationToken and continuationUri when supplied by Fabric. Pass the token unchanged through --continuation-token to request another page. Returned URIs are metadata only and are never followed; the tool does not retrieve all pages automatically.

The Fabric List Capacities API lists capacities where the calling principal is an administrator or contributor. It supports users, service principals, and managed identities. Delegated calls require Capacity.Read.All or Capacity.ReadWrite.All; this is not an Azure subscription inventory and takes no subscription parameter.

Catalog Discovery

  • "Search the OneLake catalog for items related to 'sales revenue'"
  • "Find a Lakehouse with 'customer' in the name across my workspaces"
  • "Discover all Report items in the catalog and show which workspace they live in"
  • "Filter the catalog to Warehouse and Notebook items"
  • "List the Fabric workspaces I can access and show their capacity and domain metadata"
  • "List my Fabric workspaces where I am an Admin or Member"
  • "List accessible Fabric workspaces and include their workspace-specific API endpoints"
  • "List item metadata in my Fabric workspace, including nested folders"
  • "Show only the Lakehouses directly in this Fabric folder"

Fabric Item Types & APIs

  • "What are the available Fabric item types I can work with?"
  • "Show me the OpenAPI operations for 'notebook' and give a sample creation body"
  • "Get the platform-level API specifications for Microsoft Fabric"
  • "List all supported Fabric item types"

Resource Definitions & Schemas

  • "Create a Lakehouse resource definition with a schema that enforces a string column and a datetime column"
  • "Show me the JSON schema for a Data Pipeline item definition"
  • "Generate a Semantic Model configuration with sample measures"
  • "What properties are required for creating a KQL Database?"

Best Practices & Examples

  • "Show me best practices for handling API throttling in Fabric"
  • "How should I implement retry logic for Fabric API rate limits?"
  • "List recommended retry/backoff behavior for Fabric APIs when rate-limited"
  • "Show me best practices for authenticating with Fabric APIs"
  • "Get example request/response payloads for creating a Notebook"
  • "What are the pagination patterns for Fabric REST APIs?"

Development Workflows

  • "Get the metadata for Fabric item '<item-id>' in workspace '<workspace-id>' without reading its data or definition"
  • "Show the display name, description, and type of Fabric item '<item-id>' in workspace '<workspace-id>'"
  • "Generate a data pipeline configuration with sample data sources"
  • "Help me scaffold a Fabric workspace with Lakehouse and notebooks"
  • "Create a Microsoft Fabric workspace called Sales Planning"
  • "Create a Fabric workspace called Capacity Analytics using the existing capacity with ID \<capacity-id>"
  • "Show me how to handle long-running operations in Fabric APIs"
  • "What's the recommended error handling pattern for Fabric API calls?"

Workspace Metadata

Use core_get-workspace to retrieve metadata for one known workspace through the Get Workspace REST API.

  • "Get metadata for Fabric workspace aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa."
  • "Show the capacity, domain, and workspace identity for Fabric workspace aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa."
  • "Get Fabric workspace aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa with workspace-specific API and OneLake endpoints."

| Argument | Required | Description | |----------|----------|-------------| | workspace-id | Yes | Nonempty workspace UUID, not a name or URL. Accepted UUID representations are normalized before the request. | | prefer-workspace-specific-endpoints | No | Boolean endpoint preference. Omit to preserve the service default, or explicitly pass true or false. |

fabmcp core get-workspace --workspace-id aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa
fabmcp core get-workspace --workspace-id aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa --prefer-workspace-specific-endpoints true

The result contains a workspace object with id and displayName. When returned by Fabric it also includes type, description, capacityId, capacityAssignmentProgress, capacityRegion, domainId, workspaceIdentity, oneLakeEndpoints, apiEndpoint, and applied tags. Missing/null optional fields are omitted; an explicitly empty tag list remains empty. New workspace types, capacity regions, and progress values are preserved.

Workspace identity fields contain application and service-principal IDs, not credentials. Returned endpoints are metadata only: this tool never contacts them. Workspaces with public access disabled may return workspace-specific OneLake endpoints even when the preference is omitted or false; an absent API endpoint is not inferred.

The tool does not list workspaces or items, read item data or definitions, modify resources, or poll capacity assignments. Errors retain their HTTP status without exposing backend bodies. A 429 includes validated Retry-After guidance when available, but the tool does not automatically retry.

Permissions: The caller needs Viewer-or-higher workspace access. Delegated callers also need Workspace.Read.All or Workspace.ReadWrite.All. The API supports users, service principals, and managed identities subject to their permissions and Fabric configuration. The tool preserves the server's configured credentials: stdio/hosting identity uses the host's credential provider, and HTTP/OBO uses the current caller's delegated context.

By default, the MCP text response contains the command envelope with results.workspace. With --structured-output-mode compact or --structured-output-mode duplicated, the server also advertises the typed output schema and returns structuredContent.workspace.

Available Tools

The Fabric MCP Server exposes core, jobs, docs, onelake, and datafactory areas.

Namespace Filtering

core and jobs are separate top-level areas in the same Fabric MCP server. Core manages workspaces, items, definitions, capacities, and Fabric /operations LROs. It also supports logical workspace folder listing, creation, lookup, renaming, movement, and empty-folder deletion. Core also lists one page of workspace role assignments or gets one assignment by explicit workspace and assignment IDs, returning available principal metadata without directory lookups, group-membership expansion, or role changes. Each additional page or assignment lookup is a separate explicit call. Add Workspace Role Assignment is a separate mutation requiring an explicit principal and role. It sends one grant request without default access, name resolution, preflight, or conflict updates. Update Workspace Role Assignment separately replaces the role on an explicitly identified existing assignment with one PATCH. It requires Admin access and an explicit role, without identity translation, preflight, create/upsert fallback, automatic retry, or polling. Delete Workspace Role Assignment removes only an explicitly identified assignment with one DELETE, not the principal, group membership, workspace, or all sources of effective access. It requires Admin access, protects the last admin assignment, and returns a receipt only for HTTP 200 without preflight, automatic retry, polling, or verification. The separate Items Move operation places an item and its child items in an existing folder or at the root of the same workspace, returning the complete moved-item metadata collection. Jobs submits an on-demand item job, requests cancellation of an existing job, reads one job instance, lists one page of an item's jobs or schedules, or reads, creates, updates, or deletes one schedule in separate calls. Each listing requires an explicit continuation token for each additional page. Schedule operations require an explicit job type. Schedule lookup, updates, and deletion require a schedule ID; creation and updates also require explicit enabled/timing/timezone intent and full configuration. Deletion returns a receipt, not a schedule snapshot, and does not cancel already-running jobs. Both areas reuse the same configured Fabric authentication and HTTP transport.

# Core-only: workspace management and role assignments, folders, item/definition, capacity, and operation tools, but no Jobs commands.
fabmcp server start --mode all --namespace core

# Jobs-only: job submission, cancellation, instance listing/lookup, and schedule lookup/listing/creation/updates/deletion.
fabmcp server start --mode all --namespace jobs

# Item/definition work plus job and schedule operations: enable both areas.
fabmcp server start --mode all --namespace core --namespace jobs

# The same combined selection with hierarchical namespace routers or a single router.
fabmcp server start --mode namespace --namespace core --namespace jobs
fabmcp server start --mode single --namespace core --namespace jobs

Omit --namespace to enable all registered areas. Filtering restricts both discovery and invocation, not the shared services needed by the selected area. In all mode, the tools are exposed directly as jobs_cancel-item-job-instance, jobs_create-item-schedule, jobs_delete-item-schedule, jobs_get-item-job-instance, jobs_get-item-schedule, jobs_list-item-job-instances, jobs_list-item-schedules, jobs_run-on-demand-item-job, and jobs_update-item-schedule. In namespace mode, call the jobs router with learn=true to obtain their schemas, then specify the command name and its parameters. In single mode, use the fabric router with tool="jobs" and the same command/parameters; learn=true lists areas or the commands for a selected area. Core-only selection never exposes or routes Jobs tools. Read-only mode hides and denies Run, Cancel, Create Schedule, Update Schedule, and Delete Schedule while retaining Get Job Instance, Get Schedule, and both listing tools. Schedule lookup and listing retain the host's sensitive-data confirmation because their output may include configuration, owner information, and job execution data. Read-only Core retains List/Get Workspace Role Assignment but hides and denies Add Workspace Role Assignment.

API Documentation & Best Practices

| Tool Name | Description | |-----------|-------------| | docs_list-item-types | Lists the Fabric item types that have public API specifications available, plus the non-item API areas (platform, admin, spark, realTimeIntelligence). | | docs_item-api-spec | Retrieves the complete OpenAPI specification for a specific Fabric item type. | | docs_platform-api-spec | Retrieves the OpenAPI specification for core Fabric platform APIs. | | docs_item-definitions | Retrieves the JSON schema definition for a Fabric item type. | | docs_best-practices | Retrieves best practice documentation and guidance for a specific topic. | | docs_api-examples | Retrieves example API request/response files for a specific item type. |

OneLake Data Operations

| Tool Name | Description | |-----------|-------------| | onelake_list-workspaces | Lists available Microsoft Fabric workspaces. | | onelake_list-items | Lists workspace items with high-level metadata. | | onelake_list-items-dfs | Lists Fabric items via the DFS endpoint. | | onelake_list-files | Lists files using the hierarchical file-list endpoint. | | onelake_download-file | Downloads a OneLake file. | | onelake_upload-file | Uploads a file to OneLake storage. | | onelake_delete-file | Deletes a file from OneLake storage. | | onelake_create-directory | Creates a directory via the DFS endpoint. | | onelake_delete-directory | Deletes a directory (optionally recursive). | | onelake_get-table-config | Retrieves table API configuration for a workspace item. | | onelake_list-table-namespaces | Lists table namespaces (schemas) exposed through the table API. | | onelake_get-table-namespace | Retrieves metadata for a specific namespace. | | onelake_list-tables | Lists tables published within a namespace. | | onelake_get-table | Retrieves the definition for a specific table. |

OneLake Security — Data Access Roles

| Tool Name | Description | |-----------|-------------| | onelake_list-data-access-roles | Lists all data access roles defined on a single item. | | onelake_get-data-access-role | Gets the full definition of a single data access role (members, permissions, decision rules). | | onelake_create-or-update-data-access-role | Upserts a single data access role on a single item. | | onelake_delete-data-access-role | Deletes a single data access role from an item. |

OneLake Shortcuts

| Tool Name | Description | |-----------|-------------| | onelake_list-shortcuts | Lists shortcuts defined within an item. Hides DW-managed shortcuts by default (--include-managed to show). | | onelake_get-shortcut | Gets the properties of a single shortcut. | | onelake_create-shortcut-onelake | Creates a shortcut pointing to another OneLake location. | | onelake_create-shortcut-adls-gen2 | Creates a shortcut pointing to Azure Data Lake Storage Gen2. | | onelake_create-shortcut-amazon-s3 | Creates a shortcut pointing to Amazon S3. | | onelake_create-shortcut-azure-blob | Creates a shortcut pointing to Azure Blob Storage. | | onelake_create-shortcut-gcs | Creates a shortcut pointing to Google Cloud Storage. | | onelake_create-shortcut-s3-compatible | Creates a shortcut pointing to S3-compatible storage. | | onelake_create-shortcut-dataverse | Creates a shortcut pointing to a Dataverse environment. | | onelake_create-shortcut-onedrive-sharepoint | Creates a shortcut pointing to OneDrive/SharePoint Online. | | onelake_delete-shortcut | Deletes a single shortcut from an item (preserves destination data). | | onelake_reset-shortcut-cache | Drops cached shortcut reads, forcing re-resolution from destination. |

OneLake Settings

| Tool Name | Description | |-----------|-------------| | onelake_get-settings | Gets OneLake settings for a workspace (diagnostics + immutability policy). | | onelake_modify-diagnostics | Modifies diagnostic logging configuration (status, destination lakehouse) at workspace scope. | | onelake_modify-immutability-policy | Modifies the workspace-level OneLake immutability policy (scope, retention days). |

Core Fabric Operations

The configured Fabric Core HTTP client does not automatically follow redirects. This policy applies to all Core operations, including existing create/search and update calls as well as deletion: a returned 3xx response is surfaced as a failure instead of following its Location. Existing configured handlers, proxy settings, timeouts, credentials, and recording wrappers are retained. Workspace type is optional in Get, List, Create, and Update responses; omitted/null values are not invented, while present nonempty future type strings are preserved.

| Tool Name | Description | |-----------|-------------| | core_add-workspace-role-assignment | Adds one explicitly supplied principal and workspace role with one POST. Returns created assignment metadata without identity lookups, default access, conflict updates, retries, or polling. | | core_assign-workspace-to-capacity | Submits one request to assign an existing workspace to a capacity. Returns an accepted/pending receipt, not confirmation of completion. | | core_create-folder | Creates one logical workspace folder at the root or under an explicit parent folder UUID. Returns created metadata without lookups, retries, or polling. | | core_create-item | Creates a Fabric item by workspace UUID, optionally with a definition or creation payload, an existing folder ID, definition options, and label settings. Returns completed metadata or an accepted operation receipt; optionally waits within a bounded budget. | | core_create-workspace | Creates a Fabric workspace, optionally assigning an existing capacity and domain in the same request. | | core_delete-folder | Deletes one explicitly identified empty logical workspace folder. Returns a deletion receipt without changing contents, preflight, retries, or polling. | | core_delete-item | Deletes one known Fabric item using workspace and item UUIDs. Permanent deletion requires explicitly setting hard-delete to true. | | core_delete-workspace | Deletes one explicitly identified Fabric workspace and the items under it. Requires a workspace UUID and workspace Admin access. | | core_delete-workspace-role-assignment | Deletes one existing assignment by workspace and assignment UUIDs. Requires Admin access; returns a deletion receipt without identity lookup, cascading removal, retry, or polling. | | core_get-capacity | Gets one Fabric capacity's ID, display name, SKU, region, and state using its capacity UUID. | | core_get-folder | Gets one logical workspace folder's metadata and available parent relationship using explicit workspace and folder UUIDs, without related lookups. | | core_get-item | Gets generic metadata for one existing Fabric item using its workspace ID and item ID. Does not read item data or definitions. | | core_get-item-definition | Retrieves typed definition parts inline, optionally waits for completion, or resumes a completed definition operation. Can explicitly export to a new local directory without overwriting files. | | core_get-operation-result | Reads one completed operation's JSON or empty result, up to 1 MiB. Binary results are unsupported. | | core_get-operation-state | Reads one operation's current state and polling guidance, without polling or resubmitting the original request. | | core_get-workspace | Gets one workspace's metadata by UUID, including optional capacity, domain, identity, tags, and endpoints. Does not read item data or modify resources. | | core_get-workspace-role-assignment | Gets one role assignment and available principal metadata using explicit workspace and assignment UUIDs, without listing assignments, identity lookups, or role changes. | | core_list-capacities | Lists one page of accessible Fabric capacity metadata: ID, display name, SKU, region, and state, plus available continuation information. | | core_list-folders | Lists one complete page of logical workspace folders, with optional root folder and recursive filters, parent relationships, and explicit continuation. | | core_list-items | Lists one page of Fabric Core item metadata in a known workspace or folder, with optional type filtering and continuation information. | | core_list-workspace-role-assignments | Lists one complete page of role assignments and available principal metadata for an explicit workspace UUID, with explicit continuation and no identity enrichment or role changes. | | core_list-workspaces | Lists one page of accessible workspace management metadata, optionally filtered by the caller's workspace roles. Returns continuation information and can request workspace-specific API endpoints. | | core_move-folder | Moves one known logical folder and its hierarchy within the same workspace, into an existing folder or to the workspace root. Returns observed metadata without lookups, descendant enumeration, retries, or polling. | | core_move-item | Moves one known item and its child items into an existing folder or to the root of the same workspace. Returns the complete ordered metadata collection without lookups, retries, or polling. | | core_search-catalog | Searches one page of OneLake catalog metadata across workspaces. Continue with the returned token without repeating search or filter. | | core_update-folder | Renames one known logical workspace folder with an explicit replacement display name. Returns updated metadata without moving the folder, lookups, retries, or polling. | | core_update-item | Updates an existing item's display name or description and returns metadata only. | | core_update-item-definition | Replaces a known item's complete definition from inline content or explicitly selected saved files. Optionally applies supplied .platform metadata and waits for a no-result operation. | | core_update-workspace | Renames a workspace or updates or clears its description by UUID, leaving omitted properties unchanged. Requires workspace Admin access. | | core_update-workspace-role-assignment | Updates one existing assignment by workspace and assignment UUIDs with an explicit replacement role and one PATCH. Requires Admin access; no identity lookup, creation fallback, retry, or polling. |

Create Item (core_create-item)

Calls the Create Item API once with display-name, item-type, and the optional request properties described below. Supply a nonempty workspace UUID using workspace-id or the backward-compatible workspace alias. Workspace names are not resolved. A workspace-id that is not empty or whitespace takes precedence when both options are supplied, even if it is invalid; the command does not silently fall back to the alias. Invalid and all-zero UUIDs are rejected before authentication or HTTP, and accepted UUID formats are normalized in the request URL.

Missing required options are identified by their registered names, such as --display-name or --item-type, before any service call. Other parser failures return sanitized guidance without echoing supplied values or unknown option names.

This example creates a real item when run with authorized credentials:

fabmcp core create-item --workspace-id cfafbeb1-8037-4d0c-896e-a46fb27ff229 --display-name "Sales" --item-type Lakehouse

The caller needs Contributor or higher workspace access. Delegated calls require Item.ReadWrite.All or the item-specific ReadWrite.All scope. Non-Power BI items require a supported Fabric capacity and tenant/capacity settings that enable Fabric item creation; Power BI items require the appropriate license. Service-principal and managed-identity support depends on the item type. Item types remain strings rather than a fixed client-side list.

Display names must follow the item's naming rules, and descriptions allow at most 256 characters. Omitting the optional properties preserves the existing no-definition request; the tool never invents request fields or defaults.

Optional creation properties

All four options below are available locally and over HTTP:

| Argument | Request property | Behavior | |----------|------------------|----------| | folder-id | folderId | Nonempty UUID of an existing folder in this workspace. Passed directly and normalized as a UUID, without a lookup or folder creation. Omit to use the workspace root. | | creation-payload | creationPayload | Item-specific properties as a JSON object string, not a file path or a full create-request body. Mutually exclusive with every inline or saved-file definition option. Consult the item's Create API for supported properties. | | options | options | Item-specific settings as a JSON object string. Requires a definition source; cannot accompany creation payload alone. Consult the item's Update Definition API for supported options. This is the request's top-level options, not LRO wait settings. | | sensitivity-label-settings | sensitivityLabelSettings | Optional typed JSON object string. When supplied, labelId is required and must be a nonempty UUID. sensitivityLabelApplyStrategy is optional; a supplied value must be exactly ApplyOrFail or Ignore. |

creation-payload and options each allow at most 1 MiB (1,048,576 UTF-8 bytes) and 32 JSON nesting levels. sensitivity-label-settings allows at most 4,096 UTF-8 bytes. These are host input limits, not Fabric API quotas. Non-object JSON, malformed input, duplicate properties (including nested properties), and repeated occurrences of these CLI options are rejected before reading definition files or contacting Fabric. Workload property names and values, including explicit nulls, false values, and empty objects, are otherwise passed throu

Source and license

Source
Microsoft MCP
Original
microsoft/mcp/servers/Fabric.Mcp.Server
License
MIT