Microsoft Fabric MCP Server Extension for Visual Studio CodeA 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. The Fabric MCP Server packages complete OpenAPI specifications into a single context layer for AI-assisted development—without connecting to live Fabric environments. Table of ContentsOverviewMicrosoft Fabric MCP Server gives your AI agents the knowledge they need to generate robust, production-ready code for Microsoft Fabric—all without directly accessing your environment. Key capabilities:
Installation
UsageGetting Started
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: 📊 Fabric Workloads & APIs
🏗️ Resource Definitions & Schemas
📝 Best Practices & Examples
🔧 Development Workflows
OneLake (
|
| Command | Purpose |
|---|---|
onelake download file |
Download a OneLake file to disk. |
onelake upload file |
Upload a local file into OneLake. |
onelake directory create |
Create a directory via the DFS endpoint. |
onelake directory delete |
Delete a directory (optionally recursive). |
onelake file list |
List files using the hierarchical file-list endpoint. |
onelake file delete |
Remove individual files from OneLake storage. |
onelake item list |
List workspace items and high-level metadata. |
onelake item list-data |
List Fabric items via the DFS endpoint. |
onelake item create |
Provision new Fabric items (lakehouse, notebook, etc.). |
All commands accept either GUID identifiers (--workspace-id, --item-id) or friendly names (--workspace, --item), with the exception of onelake item create, which currently requires GUID identifiers. Friendly-name items must be provided as <itemName>.<itemType> (for example, SalesLakehouse.lakehouse). Use dotnet run -- onelake --help (or fabmcp onelake --help for published builds) to inspect the complete option set before scripting.
Support and Reference
Documentation
- See the Microsoft Fabric documentation to learn about the Microsoft Fabric platform.
- For MCP server-specific troubleshooting, see the Troubleshooting Guide.
Feedback and Support
- Check the Troubleshooting guide to diagnose and resolve common issues.
- We're building this in the open. Your feedback is much appreciated!
- 👉 Open an issue in the public GitHub repository — we'd love to hear from you!
Security
The Fabric MCP Server is a local-first tool that runs entirely on your machine. It provides API specifications, schemas, and best practices without connecting to live Microsoft Fabric environments.
MCP as a phenomenon is very novel and cutting-edge. As with all new technology standards, consider doing a security review to ensure any systems that integrate with MCP servers follow all regulations and standards your system is expected to adhere to.
Data Collection
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry by following the instructions here.
Contributing
We welcome contributions to the Fabric MCP Server! Whether you're fixing bugs, adding new features, or improving documentation, your contributions are welcome.
Please read our Contributing Guide for guidelines on:
- 🛠️ Setting up your development environment
- ✨ Adding new commands
- 📝 Code style and testing requirements
- 🔄 Making pull requests
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact open@microsoft.com with any additional questions or comments.
License
This project is licensed under the MIT License — see the LICENSE file for details.