agentsclimarketplace

Fabric api discovery

Skill kimtth/ms-fabric-skills-dev-starter/.agents/skills/fabric-api-discovery

Discover Fabric APIs, OpenAPI specs, item schemas, and best practices using the Fabric MCP Server. Use when exploring available Fabric workloads, looking up API specifications, finding item definition formats, or managing OneLake files programmatically. All MCP tools run locally for reference.From its SKILL.md

Install
npx -y skills add kimtth/ms-fabric-skills-dev-starter --skill fabric-api-discovery

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.2 KB, 962 tokens by cl100k_base, as published. Nobody here has run it

Fabric API Discovery

Fabric MCP Server

The Fabric Pro-Dev MCP Server provides local-first API discovery and OneLake management without connecting to live Fabric environments.

Setup

npm install -g fabric-pro-dev-mcp-server

Requires Node.js 18+.

MCP Configuration

Add to your .mcp.json or agent MCP config:

{
  "mcpServers": {
    "fabric-pro-dev": {
      "command": "npx",
      "args": ["-y", "fabric-pro-dev-mcp-server"]
    }
  }
}

Power BI MCP (Live Queries)

For live DAX queries against semantic models:

{
  "mcpServers": {
    "PowerBIQuery": {
      "type": "http",
      "url": "https://api.fabric.microsoft.com/v1/mcp/powerbi",
      "oauthClientId": "<MICROSOFT_PUBLIC_CLIENT_ID_FROM_CURRENT_DOCS>",
      "oauthPublicClient": true
    }
  }
}

Use the Microsoft-documented public client ID from the current Fabric MCP documentation rather than hardcoding a GUID in this repository.

API Discovery Tools

ToolPurposeWhen to Use
publicapis_listList all Fabric workload types with APIsStarting Fabric development, exploring workloads
publicapis_getGet OpenAPI spec for a specific workloadBuilding integrations, checking request/response schemas
publicapis_platform_getGet platform-level API specsWorking with core/admin APIs
publicapis_bestpractices_getGet best practices documentationBefore implementing API patterns
publicapis_bestpractices_examples_getGet request/response examplesNeed concrete API call samples
publicapis_bestpractices_itemdefinition_getGet item schema definitionsCreating or updating item definitions

OneLake Tools

ToolPurpose
onelake download fileDownload files from OneLake
onelake upload fileUpload files to OneLake
onelake file listList files in OneLake path
onelake file deleteDelete files from OneLake
onelake directory createCreate OneLake directories
onelake directory deleteDelete OneLake directories
onelake item listList workspace items
onelake item list-dataList items via DFS endpoint
onelake item createCreate new Fabric items

Available Workloads

Workloads with public API specifications include:

  • Lakehouses
  • Warehouses
  • Notebooks
  • Spark Job Definitions
  • Data Pipelines
  • Semantic Models (Power BI)
  • KQL Databases
  • Eventhouse
  • Real-Time Intelligence (Eventstreams)
  • ML Models & Experiments
  • Reports
  • Environments

Item Definitions

Fabric items can be created/updated via definition-based workflows using base64-encoded file parts:

POST /v1/workspaces/<wsId>/items/<itemId>/updateDefinition[?updateMetadata=true]
{
  "definition": {
    "format": "<format>",
    "parts": [
      { "path": "<filePath>", "payload": "<base64>", "payloadType": "InlineBase64" }
    ]
  }
}

Use publicapis_bestpractices_itemdefinition_get to discover the expected format and parts for each item type.

Gotcha: Omitting ?updateMetadata=true silently ignores the .platform part.

Developer vs Consumer Patterns

Developers (REST + Protocol)

  • Use REST APIs to create/manage artifacts
  • Use protocol-specific connections for data access:
    • Spark/PySpark for Lakehouse data
    • ODBC/JDBC for Warehouse queries
    • XMLA/DAX for Semantic Models
    • KQL for Real-Time Intelligence

Consumers (MCP)

  • Use MCP servers for natural-language queries
  • Supported for: Semantic Models, Warehouses, Lakehouse SQL Endpoints
  • No ODBC/JDBC setup needed — MCP handles connections

CLI Tooling

ToolInstallPurpose
Fabric CLIpip install ms-fabric-cliCommand-line Fabric operations
fabric-cicdpip install fabric-cicdCI/CD automation for Fabric items
Azure CLIaz rest --resource https://api.fabric.microsoft.comREST API calls with auto-auth

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.