@microsoft/fabric-mcp-linux-x64 0.0.0-beta.1 → 0.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,179 +1,209 @@
1
1
  # <img height="36" width="36" src="https://learn.microsoft.com/fabric/media/fabric-icon.png" alt="Microsoft Fabric Logo" /> Microsoft Fabric MCP Server NPM Package
2
2
 
3
3
 
4
-
5
- A local, AI-friendly Model Context Protocol (MCP) server that packages Microsoft Fabric's OpenAPI specifications, schema definitions, examples, and curated guidance into a single context layer for AI agents and developer tools.
6
-
7
- Why this project?
8
- - Provide a reliable, local-first source of Fabric API context for AI assistants and code generation tools.
9
- - Reduce the risk of leaking production credentials while enabling rich, example-driven development.
10
- - Make Fabric API discovery, schema lookup, and best-practice retrieval reproducible and scriptable.
11
-
12
- ---
13
-
4
+ 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. The Fabric MCP Server packages complete OpenAPI specifications into a single context layer for AI-assisted development—without connecting to live Fabric environments.
14
5
  ## Table of Contents
15
- - [What Can You Do?](#what-can-you-do)
16
- - [Getting Started](#getting-started)
17
- - [Available Tools](#available-tools)
18
- - [Development and Contributing](#development-and-contributing)
19
- - [Support](#support)
6
+ - [Overview](#overview)
7
+ - [Installation](#installation)
8
+ - [IDE](#ide)
9
+ - [VS Code (Recommended)](#vs-code-recommended)
10
+ - [Manual Setup](#manual-setup)
11
+ - [Usage](#usage)
12
+ - [Getting Started](#getting-started)
13
+ - [What can you do with the Fabric MCP Server?](#what-can-you-do-with-the-fabric-mcp-server)
14
+ - [Fabric Workloads & APIs](#fabric-workloads--apis)
15
+ - [Resource Definitions & Schemas](#resource-definitions--schemas)
16
+ - [Best Practices & Examples](#best-practices--examples)
17
+ - [Development Workflows](#development-workflows)
18
+ - [Available Tools](#available-tools)
19
+ - [API Documentation & Best Practices](#api-documentation--best-practices)
20
+ - [OneLake Data Operations](#onelake-data-operations)
21
+ - [Core Fabric Operations](#core-fabric-operations)
22
+ - [Support and Reference](#support-and-reference)
23
+ - [Documentation](#documentation)
24
+ - [Feedback and Support](#feedback-and-support)
25
+ - [Security](#security)
26
+ - [Data Collection](#data-collection)
27
+ - [Contributing](#contributing)
28
+ - [Code of Conduct](#code-of-conduct)
20
29
  - [License](#license)
21
30
 
22
- ---
31
+ # Overview
32
+
33
+ **Microsoft 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.
34
+
35
+ Key capabilities:
36
+ - **Complete API Context**: Full OpenAPI specifications for all supported Fabric workloads
37
+ - **Item Definition Knowledge**: JSON schemas for every Fabric item type (Lakehouses, pipelines, semantic models, notebooks, etc.)
38
+ - **Built-in Best Practices**: Embedded guidance on pagination, error handling, and recommended patterns
39
+ - **Local-First Security**: Runs entirely on your machine—never connects to your Fabric environment
40
+
41
+ # Installation
42
+ - To use Fabric MCP server from node one must have Node.js (LTS) installed and available on your system PATH — this provides both `npm` and `npx`. We recommend Node.js 20 LTS or later. To verify your installation run: `node --version`, `npm --version`, and `npx --version`.
43
+ - Configure the `mcp.json` file with the following:
44
+
45
+ ```json
46
+ {
47
+ "mcpServers": {
48
+ "fabric-mcp-server": {
49
+ "command": "npx",
50
+ "args": [
51
+ "-y",
52
+ "@microsoft/fabric-mcp@latest",
53
+ "server",
54
+ "start",
55
+ "--mode",
56
+ "all"
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ ```
62
+ **Note:** When manually configuring Visual Studio and Visual Studio Code, use `servers` instead of `mcpServers` as the root object.
63
+
64
+ **Client-Specific Configuration**
65
+ | IDE | File Location | Documentation Link |
66
+ |-----|---------------|-------------------|
67
+ | **Claude Code** | `~/.claude.json` or `.mcp.json` (project) | [Claude Code MCP Configuration](https://scottspence.com/posts/configuring-mcp-tools-in-claude-code) |
68
+ | **Claude Desktop** | `~/.claude/claude_desktop_config.json` (macOS)<br>`%APPDATA%\Claude\claude_desktop_config.json` (Windows) | [Claude Desktop MCP Setup](https://support.claude.com/en/articles/10949351-getting-started-with-local-mcp-servers-on-claude-desktop) |
69
+ | **Cursor** | `~/.cursor/mcp.json` or `.cursor/mcp.json` | [Cursor MCP Documentation](https://docs.cursor.com/context/model-context-protocol) |
70
+ | **VS Code** | `.vscode/mcp.json` (workspace)<br>`settings.json` (user) | [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) |
71
+ | **Windsurf** | `~/.codeium/windsurf/mcp_config.json` | [Windsurf Cascade MCP Integration](https://docs.windsurf.com/windsurf/cascade/mcp) |
72
+
73
+ # Usage
74
+
75
+ ## Getting Started
76
+
77
+ 1. Open GitHub Copilot in [VS Code](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) and switch to Agent mode.
78
+ 1. Click `refresh` on the tools list
79
+ - You should see the Fabric MCP Server in the list of tools
80
+ 1. Try a prompt that uses Fabric context, such as `What Fabric workload types are available?`
81
+ - The agent should be able to use the Fabric MCP Server tools to complete your query
82
+ 1. Check out the [Microsoft Fabric documentation](https://learn.microsoft.com/fabric/) and review the [troubleshooting guide](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md) for commonly asked questions
83
+ 1. We're building this in the open. Your feedback is much appreciated!
84
+ - [Open an issue in the public repository](https://github.com/microsoft/mcp/issues/new/choose)
23
85
 
24
- # What Can You Do?
86
+ ## What can you do with the Fabric MCP Server?
25
87
 
26
- The Fabric MCP Server unlocks practical developer workflows by providing local access to Fabric API context:
88
+ The Fabric MCP Server supercharges your agents with Microsoft Fabric context. Here are some prompts you can try:
27
89
 
28
- - Generate or scaffold Fabric resource definitions (Lakehouse, data pipelines, notebooks, reports).
29
- - Retrieve official OpenAPI specs and JSON schema for validation and code generation.
30
- - Get example request/response payloads to accelerate integration.
31
- - Query curated best-practice guidance (pagination, LROs, authentication patterns).
90
+ ### Fabric Workloads & APIs
32
91
 
33
- <details>
34
- <summary>Example prompts</summary>
92
+ * "What are the available Fabric workload types I can work with?"
93
+ * "Show me the OpenAPI operations for 'notebook' and give a sample creation body"
94
+ * "Get the platform-level API specifications for Microsoft Fabric"
95
+ * "List all supported Fabric item types"
35
96
 
36
- - "Create a Lakehouse resource definition with a schema that enforces a string column and a datetime column."
37
- - "Show me the OpenAPI operations for 'notebook' and give a sample creation body."
38
- - "List recommended retry/backoff behavior for Fabric APIs when rate-limited."
39
- - "What are the available Fabric workload types I can work with?"
40
- - "Generate a data pipeline configuration with sample data sources."
41
- - "Show me best practices for authenticating with Fabric APIs."
97
+ ### Resource Definitions & Schemas
42
98
 
43
- </details>
99
+ * "Create a Lakehouse resource definition with a schema that enforces a string column and a datetime column"
100
+ * "Show me the JSON schema for a Data Pipeline item definition"
101
+ * "Generate a Semantic Model configuration with sample measures"
102
+ * "What properties are required for creating a KQL Database?"
44
103
 
45
- ---
104
+ ### Best Practices & Examples
46
105
 
47
- # Getting Started
106
+ * "Show me best practices for handling API throttling in Fabric"
107
+ * "How should I implement retry logic for Fabric API rate limits?"
108
+ * "List recommended retry/backoff behavior for Fabric APIs when rate-limited"
109
+ * "Show me best practices for authenticating with Fabric APIs"
110
+ * "Get example request/response payloads for creating a Notebook"
111
+ * "What are the pagination patterns for Fabric REST APIs?"
48
112
 
49
- ## Prerequisites
50
- - .NET 9.x SDK is recommended. Check `global.json` at the repository root for any pinned SDK version.
51
- - If `global.json` pins a preview SDK not installed locally, either install the requested preview SDK or update `global.json` for local development.
52
- - An MCP-compatible client (VS Code with an MCP extension, Claude Desktop, etc.).
113
+ ### Development Workflows
53
114
 
54
- ## Installation Steps
115
+ * "Generate a data pipeline configuration with sample data sources"
116
+ * "Help me scaffold a Fabric workspace with Lakehouse and notebooks"
117
+ * "Show me how to handle long-running operations in Fabric APIs"
118
+ * "What's the recommended error handling pattern for Fabric API calls?"
55
119
 
56
- 1. **Clone the repository:**
57
- ```bash
58
- git clone https://github.com/microsoft/mcp.git
59
- cd mcp
60
- ```
120
+ ## Available Tools
61
121
 
62
- 2. **Build the project:**
63
- ```bash
64
- dotnet build servers/Fabric.Mcp.Server/src/Fabric.Mcp.Server.csproj --configuration Release
65
- ```
122
+ The Fabric MCP Server exposes tools organized into three categories:
66
123
 
67
- 3. **Locate your executable:**
68
- The executable `fabmcp` will be created at:
69
- ```
70
- servers/Fabric.Mcp.Server/src/bin/Release/fabmcp
71
- ```
124
+ ### API Documentation & Best Practices
72
125
 
73
- > **Platform Notes:**
74
- > - **macOS/Linux**: Use the path as-is: `/path/to/repo/servers/Fabric.Mcp.Server/src/bin/Release/fabmcp`
75
- > - **Windows**: Use backslashes and may need `.exe` extension: `C:\path\to\repo\servers\Fabric.Mcp.Server\src\bin\Release\fabmcp`
76
- > - For published builds, executables will be in platform-specific subdirectories with `.exe` extension on Windows
126
+ | Tool Name | Description |
127
+ |-----------|-------------|
128
+ | `docs_workloads` | Lists Fabric workload types that have public API specifications available. |
129
+ | `docs_workload-api-spec` | Retrieves the complete OpenAPI specification for a specific Fabric workload. |
130
+ | `docs_platform-api-spec` | Retrieves the OpenAPI specification for core Fabric platform APIs. |
131
+ | `docs_item-definitions` | Retrieves JSON schema definitions for items in a Fabric workload API. |
132
+ | `docs_best-practices` | Retrieves best practice documentation and guidance for a specific topic. |
133
+ | `docs_api-examples` | Retrieves example API request/response files for a specific workload. |
77
134
 
78
- 4. **Configure your MCP client:**
135
+ ### OneLake Data Operations
136
+
137
+ | Tool Name | Description |
138
+ |-----------|-------------|
139
+ | `onelake_list_workspaces` | Lists available Microsoft Fabric workspaces. |
140
+ | `onelake_list_items` | Lists workspace items with high-level metadata. |
141
+ | `onelake_list_items_dfs` | Lists Fabric items via the DFS endpoint. |
142
+ | `onelake_list_files` | Lists files using the hierarchical file-list endpoint. |
143
+ | `onelake_download_file` | Downloads a OneLake file. |
144
+ | `onelake_upload_file` | Uploads a file to OneLake storage. |
145
+ | `onelake_delete_file` | Deletes a file from OneLake storage. |
146
+ | `onelake_create_directory` | Creates a directory via the DFS endpoint. |
147
+ | `onelake_delete_directory` | Deletes a directory (optionally recursive). |
148
+ | `onelake_get_table_config` | Retrieves table API configuration for a workspace item. |
149
+ | `onelake_list_table_namespaces` | Lists table namespaces (schemas) exposed through the table API. |
150
+ | `onelake_get_table_namespace` | Retrieves metadata for a specific namespace. |
151
+ | `onelake_list_tables` | Lists tables published within a namespace. |
152
+ | `onelake_get_table` | Retrieves the definition for a specific table. |
79
153
 
80
- Example configuration for VS Code (.vscode/mcp.json):
81
- ```json
82
- {
83
- "servers": {
84
- "Microsoft Fabric MCP": {
85
- "command": "/path/to/executable",
86
- "args": ["server", "start", "--mode", "all"]
87
- }
88
- }
89
- }
90
- ```
154
+ ### Core Fabric Operations
91
155
 
92
- > **Notes:**
93
- > - Replace `/path/to/executable` with the actual path from step 3
94
- > - The `--mode all` argument enables all available tools
156
+ | Tool Name | Description |
157
+ |-----------|-------------|
158
+ | `core_create-item` | Creates new Fabric items (Lakehouses, Notebooks, etc.). |
95
159
 
160
+ > Always verify available commands via `--help`. Command names and availability may change between releases.
96
161
 
97
- ## Common Issues
98
- - **SDK mismatch:** If `dotnet` outputs an SDK resolution error, inspect `global.json` and align local SDKs or update the file.
99
- - **Path issues:** Always use absolute paths in MCP configuration to avoid path resolution problems.
162
+ # Support and Reference
100
163
 
101
- <!-- insert-section: vsix {{## Installation
164
+ ## Documentation
102
165
 
103
- The Fabric MCP Server extension is already installed! Simply start the server to begin using it.
166
+ - See the [Microsoft Fabric documentation](https://learn.microsoft.com/fabric/) to learn about the Microsoft Fabric platform.
167
+ - For MCP server-specific troubleshooting, see the [Troubleshooting Guide](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md).
104
168
 
105
- ### Starting the Server
169
+ ## Feedback and Support
106
170
 
107
- 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
108
- 2. Run **MCP: List Servers**
109
- 3. Find **Fabric MCP Server** in the list and click the **Start** button
171
+ - The Microsoft Fabric MCP Server is an **open-source project in Public Preview**. Support for this server implementation is primarily provided through community channels and GitHub repositories. Customers with qualifying Microsoft enterprise support agreements may have access to limited support for broader Microsoft Fabric and platform scenarios; review the [Microsoft Support Policy](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/SUPPORT.md#microsoft-support-policy) section of this project for more details.
172
+ - Check the [Troubleshooting guide](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md) to diagnose and resolve common issues.
173
+ - We're building this in the open. Your feedback is much appreciated!
174
+ - [Open an issue](https://github.com/microsoft/mcp/issues) in the public GitHub repository — we'd love to hear from you!
110
175
 
111
- Once started, the Fabric MCP tools will be available in GitHub Copilot Chat.
176
+ ## Security
112
177
 
113
- ### Configuration (Optional)
178
+ 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.
114
179
 
115
- You can customize the server behavior in VS Code settings (search for "Fabric MCP"):
180
+ 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.
116
181
 
117
- - **Server Mode**: Control how tools are exposed (`all` by default)
118
- - **Server Arguments**: Add custom arguments to the server startup
182
+ ## Data Collection
119
183
 
120
- Changes require restarting the MCP server from the **MCP: List Servers** view.
121
- }} -->
184
+ 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 as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's [privacy statement](https://www.microsoft.com/privacy/privacystatement). You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
122
185
 
123
- ---
186
+ ## Contributing
124
187
 
125
- # Available Tools
126
- Use the server's CLI to query embedded data and examples. Commands are organized under a `publicapis` command group in code.
188
+ We welcome contributions to the Fabric MCP Server! Whether you're fixing bugs, adding new features, or improving documentation, your contributions are welcome.
127
189
 
128
- | Command | Purpose | Implementation |
129
- |---|---|---|
130
- | `publicapis list` | List supported workload names (e.g. notebook, report) | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/ListWorkloadsCommand.cs |
131
- | `publicapis get --workload-type <workload>` | Fetch OpenAPI & examples for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/GetWorkloadApisCommand.cs |
132
- | `publicapis platform get` | Retrieve platform-level API specs | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/GetPlatformApisCommand.cs |
133
- | `publicapis bestpractices get --workload-type <workload>` | Retrieve best-practice guidance for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetBestPracticesCommand.cs |
134
- | `publicapis examples get --workload-type <workload>` | Retrieve example request/response files for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetExamplesCommand.cs |
135
- | `publicapis itemdefinition get --workload-type <workload>` | Get JSON schema definitions for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetWorkloadDefinitionCommand.cs |
190
+ Please read our [Contributing Guide](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for guidelines on:
136
191
 
137
- > Always verify the available commands in your build via `--help` before scripting against them; command names and availability are code-driven and may change between releases.
138
-
139
- ---
192
+ * Setting up your development environment
193
+ * Adding new commands
194
+ * Code style and testing requirements
195
+ * Making pull requests
140
196
 
141
- # Development and Contributing
142
-
143
- We welcome contributions. Please follow the repository's contribution guidelines and the checklist below when preparing a PR.
144
-
145
- **Contributor checklist**
146
- - Create a focused branch for your changes.
147
- - Run a local build and unit tests for affected projects.
148
- - Update `CHANGELOG.md` for user-visible changes.
149
- - Run `eng` validation scripts where applicable (spelling, linters).
150
- - Provide a clear PR description and link relevant issues.
151
-
152
- See [CONTRIBUTING](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for full guidance.
153
-
154
- <!-- insert-section: vsix {{Interested in contributing to the Fabric MCP Server? Visit the [GitHub repository](https://github.com/microsoft/mcp) to get started.
155
-
156
- See [CONTRIBUTING](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for full contribution guidelines.
157
- }} -->
158
-
159
- ---
160
-
161
- # Support
162
- If you encounter issues:
163
- 1. Search existing issues.
164
- 2. If none match, file a new issue with:
165
- - OS and `.NET` SDK version (`dotnet --info`).
166
- - The command used to start the server.
167
- - Server logs and MCP client config (redact secrets).
168
- - Steps to reproduce.
169
- <!-- insert-section: vsix {{ - Your OS and VS Code version
170
- - Server logs from the **MCP: List Servers** view
171
- - Steps to reproduce the issue
172
- }} -->
173
-
174
- For troubleshooting steps, see [TROUBLESHOOTING](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md).
197
+ ## Code of Conduct
198
+ This project has adopted the
199
+ [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
200
+ For more information, see the
201
+ [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
202
+ or contact [open@microsoft.com](mailto:open@microsoft.com)
203
+ with any additional questions or comments.
175
204
 
176
205
  ---
177
206
 
178
207
  # License
208
+
179
209
  This project is licensed under the MIT License — see the [LICENSE](https://github.com/microsoft/mcp/blob/main/LICENSE) file for details.
@@ -0,0 +1,5 @@
1
+ {
2
+ "RootCommandGroupName": "fabmcp",
3
+ "Name": "Fabric.Mcp.Server",
4
+ "DisplayName": "Fabric MCP Server"
5
+ }
package/dist/fabmcp CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/fabric-mcp-linux-x64",
3
- "version": "0.0.0-beta.1",
3
+ "version": "0.0.0-beta.10",
4
4
  "description": "Microsoft Fabric MCP Server - Model Context Protocol implementation for Fabric, for linux on x64",
5
5
  "author": "Microsoft",
6
6
  "homepage": "https://github.com/Microsoft/mcp/blob/main/servers/Fabric.Mcp.Server#readme",
@@ -29,5 +29,6 @@
29
29
  ],
30
30
  "cpu": [
31
31
  "x64"
32
- ]
32
+ ],
33
+ "mcpName": "com.microsoft/microsoft-fabric"
33
34
  }