loading…
Search for a command to run...
loading…
Provides MCP tools to manage Microsoft Fabric capacities, including listing, creating, updating, and deleting them, using Azure authentication.
Provides MCP tools to manage Microsoft Fabric capacities, including listing, creating, updating, and deleting them, using Azure authentication.
An open-source MCP server to perform operations on Microsoft Fabric, like administration and management of Fabric capacities. At this moment, this repo has an initial set of tools to manage Capacities, but it will be expanded to further support additional tools and Fabric administration workloads.
You can use any MCP Client to interact with this MCP server. Below, is a sample showing how to interact with it using GitHub Copilot on VSCode as a MCP Client:

This example demonstrates how the MCP tools are exposed and can be accessed for managing Microsoft Fabric resources.
server.py — Main entry point to start the MCP servercommon.py — Shared utilities and loggingsrc/capacity/ — Logic to interact with Fabric and expose then as MCP toolsrequirements.txt — Python dependenciesInstall dependencies:
pip install -r requirements.txt
Set up authentication:
DefaultAzureCredential for secure Azure API access.az login in your terminal..env file in the project root with applicable variables (see "Using a Service Principal for Authentication" section below for details).Run the MCP server locally:
python server.py
The server will start at http://127.0.0.1:8000/mcp/.
Test with VS Code as a Client:
Ctrl+Shift+P), search for "MCP: Connect to Server", and enter http://127.0.0.1:8000/mcp/.Create a Service Principal (if you don't have one):
az ad sp create-for-rbac --name <your-app-name> --role Contributor --scopes /subscriptions/<your-subscription-id>
Note the appId (Client ID), tenant, and password (Client Secret) from the output.
Create a .env file in the project root:
Copy .env.example to .env and fill in your values:
AZURE_CLIENT_ID=your-service-principal-client-id
AZURE_TENANT_ID=your-tenant-id
AZURE_CLIENT_SECRET=your-service-principal-client-secret
Authorize the Service Principal:
Ensure the Service Principal has appropriate permissions. For example, at least Contributor at subscription or Resource Group level to manage Fabric Capacities. Additional Admin API access will be required for additional tools yet to be developed.
Run the server:
The server will automatically use these credentials for authentication via DefaultAzureCredential.
Выполни в терминале:
claude mcp add fabric-admin-mcp-server -- npx Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development