@microsoft/fabric-mcp-darwin-x64 0.0.0-beta.2 → 0.0.0-beta.3

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,180 +1,169 @@
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
-
6
- 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.
7
-
8
- Why this project?
9
- - Provide a reliable, local-first source of Fabric API context for AI assistants and code generation tools.
10
- - Reduce the risk of leaking production credentials while enabling rich, example-driven development.
11
- - Make Fabric API discovery, schema lookup, and best-practice retrieval reproducible and scriptable.
12
-
13
- ---
14
-
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.
15
5
  ## Table of Contents
16
- - [What Can You Do?](#what-can-you-do)
17
- - [Getting Started](#getting-started)
18
- - [Available Tools](#available-tools)
19
- - [Development and Contributing](#development-and-contributing)
20
- - [Support](#support)
21
- - [License](#license)
22
-
23
- ---
24
-
25
- # What Can You Do?
26
-
27
- The Fabric MCP Server unlocks practical developer workflows by providing local access to Fabric API context:
6
+ - [Overview](#overview)
7
+ - [Installation](#installation)
8
+ - [Usage](#usage)
9
+ - [Getting Started](#getting-started)
10
+ - [What can you do with the Fabric MCP Server?](#what-can-you-do-with-the-fabric-mcp-server)
11
+ - [Available Tools](#available-tools)
12
+ - [Support and Reference](#support-and-reference)
13
+ - [Documentation](#documentation)
14
+ - [Feedback and Support](#feedback-and-support)
15
+ - [Security](#security)
16
+ - [Data Collection](#data-collection)
17
+ - [Contributing](#contributing)
18
+ - [Code of Conduct](#code-of-conduct)
19
+
20
+ # Overview
21
+
22
+ **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.
23
+
24
+ Key capabilities:
25
+ - **Complete API Context**: Full OpenAPI specifications for all supported Fabric workloads
26
+ - **Item Definition Knowledge**: JSON schemas for every Fabric item type (Lakehouses, pipelines, semantic models, notebooks, etc.)
27
+ - **Built-in Best Practices**: Embedded guidance on pagination, error handling, and recommended patterns
28
+ - **Local-First Security**: Runs entirely on your machine—never connects to your Fabric environment
29
+
30
+ # Installation
31
+ - 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`.
32
+ - Configure the `mcp.json` file with the following:
33
+
34
+ ```json
35
+ {
36
+ "mcpServers": {
37
+ "fabric-mcp-server": {
38
+ "command": "npx",
39
+ "args": [
40
+ "-y",
41
+ "@microsoft/fabric-mcp@latest",
42
+ "server",
43
+ "start",
44
+ "--mode",
45
+ "all"
46
+ ]
47
+ }
48
+ }
49
+ }
50
+ ```
51
+ **Note:** When manually configuring Visual Studio and Visual Studio Code, use `servers` instead of `mcpServers` as the root object.
28
52
 
29
- - Generate or scaffold Fabric resource definitions (Lakehouse, data pipelines, notebooks, reports).
30
- - Retrieve official OpenAPI specs and JSON schema for validation and code generation.
31
- - Get example request/response payloads to accelerate integration.
32
- - Query curated best-practice guidance (pagination, LROs, authentication patterns).
53
+ **Client-Specific Configuration**
54
+ | IDE | File Location | Documentation Link |
55
+ |-----|---------------|-------------------|
56
+ | **Claude Code** | `~/.claude.json` or `.mcp.json` (project) | [Claude Code MCP Configuration](https://scottspence.com/posts/configuring-mcp-tools-in-claude-code) |
57
+ | **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) |
58
+ | **Cursor** | `~/.cursor/mcp.json` or `.cursor/mcp.json` | [Cursor MCP Documentation](https://docs.cursor.com/context/model-context-protocol) |
59
+ | **VS Code** | `.vscode/mcp.json` (workspace)<br>`settings.json` (user) | [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) |
60
+ | **Windsurf** | `~/.codeium/windsurf/mcp_config.json` | [Windsurf Cascade MCP Integration](https://docs.windsurf.com/windsurf/cascade/mcp) |
33
61
 
34
- <details>
35
- <summary>Example prompts</summary>
62
+ # Usage
36
63
 
37
- - "Create a Lakehouse resource definition with a schema that enforces a string column and a datetime column."
38
- - "Show me the OpenAPI operations for 'notebook' and give a sample creation body."
39
- - "List recommended retry/backoff behavior for Fabric APIs when rate-limited."
40
- - "What are the available Fabric workload types I can work with?"
41
- - "Generate a data pipeline configuration with sample data sources."
42
- - "Show me best practices for authenticating with Fabric APIs."
64
+ ## Getting Started
43
65
 
44
- </details>
66
+ 1. Open GitHub Copilot in [VS Code](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) and switch to Agent mode.
67
+ 1. Click `refresh` on the tools list
68
+ - You should see the Fabric MCP Server in the list of tools
69
+ 1. Try a prompt that uses Fabric context, such as `What Fabric workload types are available?`
70
+ - The agent should be able to use the Fabric MCP Server tools to complete your query
71
+ 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
72
+ 1. We're building this in the open. Your feedback is much appreciated!
73
+ - 👉 [Open an issue in the public repository](https://github.com/microsoft/mcp/issues/new/choose)
45
74
 
46
- ---
47
-
48
- # Getting Started
49
-
50
- ## Prerequisites
51
- - .NET 9.x SDK is recommended. Check `global.json` at the repository root for any pinned SDK version.
52
- - If `global.json` pins a preview SDK not installed locally, either install the requested preview SDK or update `global.json` for local development.
53
- - An MCP-compatible client (VS Code with an MCP extension, Claude Desktop, etc.).
54
-
55
- ## Installation Steps
56
-
57
- 1. **Clone the repository:**
58
- ```bash
59
- git clone https://github.com/microsoft/mcp.git
60
- cd mcp
61
- ```
75
+ ## What can you do with the Fabric MCP Server?
62
76
 
63
- 2. **Build the project:**
64
- ```bash
65
- dotnet build servers/Fabric.Mcp.Server/src/Fabric.Mcp.Server.csproj --configuration Release
66
- ```
77
+ ✨ The Fabric MCP Server supercharges your agents with Microsoft Fabric context. Here are some prompts you can try:
67
78
 
68
- 3. **Locate your executable:**
69
- The executable `fabmcp` will be created at:
70
- ```
71
- servers/Fabric.Mcp.Server/src/bin/Release/fabmcp
72
- ```
79
+ ### 📊 Fabric Workloads & APIs
73
80
 
74
- > **Platform Notes:**
75
- > - **macOS/Linux**: Use the path as-is: `/path/to/repo/servers/Fabric.Mcp.Server/src/bin/Release/fabmcp`
76
- > - **Windows**: Use backslashes and may need `.exe` extension: `C:\path\to\repo\servers\Fabric.Mcp.Server\src\bin\Release\fabmcp`
77
- > - For published builds, executables will be in platform-specific subdirectories with `.exe` extension on Windows
81
+ * "What are the available Fabric workload types I can work with?"
82
+ * "Show me the OpenAPI operations for 'notebook' and give a sample creation body"
83
+ * "Get the platform-level API specifications for Microsoft Fabric"
84
+ * "List all supported Fabric item types"
78
85
 
79
- 4. **Configure your MCP client:**
86
+ ### 🏗️ Resource Definitions & Schemas
80
87
 
81
- Example configuration for VS Code (.vscode/mcp.json):
82
- ```json
83
- {
84
- "servers": {
85
- "Microsoft Fabric MCP": {
86
- "command": "/path/to/executable",
87
- "args": ["server", "start", "--mode", "all"]
88
- }
89
- }
90
- }
91
- ```
88
+ * "Create a Lakehouse resource definition with a schema that enforces a string column and a datetime column"
89
+ * "Show me the JSON schema for a Data Pipeline item definition"
90
+ * "Generate a Semantic Model configuration with sample measures"
91
+ * "What properties are required for creating a KQL Database?"
92
92
 
93
- > **Notes:**
94
- > - Replace `/path/to/executable` with the actual path from step 3
95
- > - The `--mode all` argument enables all available tools
93
+ ### 📝 Best Practices & Examples
96
94
 
95
+ * "List recommended retry/backoff behavior for Fabric APIs when rate-limited"
96
+ * "Show me best practices for authenticating with Fabric APIs"
97
+ * "Get example request/response payloads for creating a Notebook"
98
+ * "What are the pagination patterns for Fabric REST APIs?"
97
99
 
98
- ## Common Issues
99
- - **SDK mismatch:** If `dotnet` outputs an SDK resolution error, inspect `global.json` and align local SDKs or update the file.
100
- - **Path issues:** Always use absolute paths in MCP configuration to avoid path resolution problems.
100
+ ### 🔧 Development Workflows
101
101
 
102
- <!-- insert-section: vsix {{## Installation
102
+ * "Generate a data pipeline configuration with sample data sources"
103
+ * "Help me scaffold a Fabric workspace with Lakehouse and notebooks"
104
+ * "Show me how to handle long-running operations in Fabric APIs"
105
+ * "What's the recommended error handling pattern for Fabric API calls?"
103
106
 
104
- The Fabric MCP Server extension is already installed! Simply start the server to begin using it.
107
+ ## Available Tools
105
108
 
106
- ### Starting the Server
109
+ The Fabric MCP Server exposes the following tools for AI agents:
107
110
 
108
- 1. Open the Command Palette (`Ctrl+Shift+P` / `Cmd+Shift+P`)
109
- 2. Run **MCP: List Servers**
110
- 3. Find **Fabric MCP Server** in the list and click the **Start** button
111
+ | Tool | Tool Name | Description |
112
+ |------|-----------|-------------|
113
+ | List Public APIs | `publicapis_list` | List all Microsoft Fabric workload types that have public API specifications available |
114
+ | Get Public API | `publicapis_get` | Retrieve the complete OpenAPI/Swagger specification for a specific Microsoft Fabric workload |
115
+ | Get Platform API | `publicapis_platform_get` | Retrieve the OpenAPI/Swagger specification for Microsoft Fabric platform APIs |
116
+ | Get Best Practices | `publicapis_bestpractices_get` | Retrieve embedded best practice documentation and guidance for a specific Microsoft Fabric topic |
117
+ | Get Best Practices Examples | `publicapis_bestpractices_examples_get` | Retrieve all example API request/response files for a specific Microsoft Fabric workload |
118
+ | Get Item Definition | `publicapis_bestpractices_itemdefinition_get` | Retrieve the JSON schema definitions for specific items within a Microsoft Fabric workload's API |
111
119
 
112
- Once started, the Fabric MCP tools will be available in GitHub Copilot Chat.
120
+ > Always verify available commands via `--help`. Command names and availability may change between releases.
113
121
 
114
- ### Configuration (Optional)
122
+ # Support and Reference
115
123
 
116
- You can customize the server behavior in VS Code settings (search for "Fabric MCP"):
124
+ ## Documentation
117
125
 
118
- - **Server Mode**: Control how tools are exposed (`all` by default)
119
- - **Server Arguments**: Add custom arguments to the server startup
126
+ - See the [Microsoft Fabric documentation](https://learn.microsoft.com/fabric/) to learn about the Microsoft Fabric platform.
127
+ - For MCP server-specific troubleshooting, see the [Troubleshooting Guide](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md).
120
128
 
121
- Changes require restarting the MCP server from the **MCP: List Servers** view.
122
- }} -->
129
+ ## Feedback and Support
123
130
 
124
- ---
131
+ - Check the [Troubleshooting guide](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md) to diagnose and resolve common issues.
132
+ - We're building this in the open. Your feedback is much appreciated!
133
+ - 👉 [Open an issue](https://github.com/microsoft/mcp/issues) in the public GitHub repository — we'd love to hear from you!
125
134
 
126
- # Available Tools
127
- Use the server's CLI to query embedded data and examples. Commands are organized under a `publicapis` command group in code.
135
+ ## Security
128
136
 
129
- | Command | Purpose | Implementation |
130
- |---|---|---|
131
- | `publicapis list` | List supported workload names (e.g. notebook, report) | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/ListWorkloadsCommand.cs |
132
- | `publicapis get --workload-type <workload>` | Fetch OpenAPI & examples for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/GetWorkloadApisCommand.cs |
133
- | `publicapis platform get` | Retrieve platform-level API specs | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/PublicApis/GetPlatformApisCommand.cs |
134
- | `publicapis bestpractices get --workload-type <workload>` | Retrieve best-practice guidance for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetBestPracticesCommand.cs |
135
- | `publicapis examples get --workload-type <workload>` | Retrieve example request/response files for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetExamplesCommand.cs |
136
- | `publicapis itemdefinition get --workload-type <workload>` | Get JSON schema definitions for a workload | tools/Fabric.Mcp.Tools.PublicApi/src/Commands/BestPractices/GetWorkloadDefinitionCommand.cs |
137
+ 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.
137
138
 
138
- > 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.
139
+ 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.
139
140
 
140
- ---
141
+ ## Data Collection
141
142
 
142
- # Development and Contributing
143
+ 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.
143
144
 
144
- We welcome contributions. Please follow the repository's contribution guidelines and the checklist below when preparing a PR.
145
+ ## Contributing
145
146
 
146
- **Contributor checklist**
147
- - Create a focused branch for your changes.
148
- - Run a local build and unit tests for affected projects.
149
- - Update `CHANGELOG.md` for user-visible changes.
150
- - Run `eng` validation scripts where applicable (spelling, linters).
151
- - Provide a clear PR description and link relevant issues.
147
+ We welcome contributions to the Fabric MCP Server! Whether you're fixing bugs, adding new features, or improving documentation, your contributions are welcome.
152
148
 
153
- See [CONTRIBUTING](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for full guidance.
149
+ Please read our [Contributing Guide](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for guidelines on:
154
150
 
155
- <!-- insert-section: vsix {{Interested in contributing to the Fabric MCP Server? Visit the [GitHub repository](https://github.com/microsoft/mcp) to get started.
151
+ * 🛠️ Setting up your development environment
152
+ * ✨ Adding new commands
153
+ * 📝 Code style and testing requirements
154
+ * 🔄 Making pull requests
156
155
 
157
- See [CONTRIBUTING](https://github.com/microsoft/mcp/blob/main/CONTRIBUTING.md) for full contribution guidelines.
158
- }} -->
156
+ ## Code of Conduct
159
157
 
160
- ---
161
-
162
- # Support
163
- If you encounter issues:
164
- 1. Search existing issues.
165
- 2. If none match, file a new issue with:
166
- - OS and `.NET` SDK version (`dotnet --info`).
167
- - The command used to start the server.
168
- - Server logs and MCP client config (redact secrets).
169
- - Steps to reproduce.
170
- <!-- insert-section: vsix {{ - Your OS and VS Code version
171
- - Server logs from the **MCP: List Servers** view
172
- - Steps to reproduce the issue
173
- }} -->
174
-
175
- For troubleshooting steps, see [TROUBLESHOOTING](https://github.com/microsoft/mcp/blob/main/servers/Fabric.Mcp.Server/TROUBLESHOOTING.md).
158
+ This project has adopted the
159
+ [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
160
+ For more information, see the
161
+ [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
162
+ or contact [open@microsoft.com](mailto:open@microsoft.com)
163
+ with any additional questions or comments.
176
164
 
177
165
  ---
178
166
 
179
167
  # License
168
+
180
169
  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-darwin-x64",
3
- "version": "0.0.0-beta.2",
3
+ "version": "0.0.0-beta.3",
4
4
  "description": "Microsoft Fabric MCP Server - Model Context Protocol implementation for Fabric, for darwin on x64",
5
5
  "author": "Microsoft",
6
6
  "homepage": "https://github.com/Microsoft/mcp/blob/main/servers/Fabric.Mcp.Server#readme",