ファブリックMCP
Fabric MCPは、Microsoft Fabric APIと連携するためのPythonベースのMCPサーバーです。ワークスペース、レイクハウス、ウェアハウス、テーブルを管理するためのユーティリティを提供します(今後、さらに多くの機能が追加される予定です)。このプロジェクトは、以下のプロジェクトから着想を得ています: https://github.com/Augustab/microsoft \_fabric\_mcp/tree/main
特徴
- ワークスペース、レイクハウス、倉庫、テーブルを一覧表示します。
- Delta テーブルのスキーマとメタデータを取得します。
- Delta テーブルのマークダウン ドキュメントを生成します。
要件
- Python 3.12以上
- 認証用の Azure 資格情報
- uv(astralより):インストール手順
- Azure Cli(https://learn.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
- オプション: MCP インスペクターを実行するための Node.js と npm(https://nodejs.org/en/download)
インストール
- リポジトリをクローンします。
- 仮想環境をセットアップし、依存関係をインストールします。
- 依存関係をインストールします:
使用法
MSファブリックに接続する
- ログインするには、Azure CLI コマンドを実行します。
MCP サーバーを実行し、MCP インスペクターを使用して接続する
- テスト用にインスペクターを公開して MCP サーバーを実行します:
bash uv run --with mcp mcp dev fabric_mcp.py
これによりサーバーが起動し、http://localhost:6274
でインスペクターが公開されます。
MCP サーバーを実行し、MCP インスペクターを使用して接続する
- VSCode で MCP サーバーを使用するには、
launch.json
ファイルで起動構成を設定できます。この設定により、VSCodeから直接MCPサーバーを実行し、接続できるようになります。また、ツールへのアクセスも可能になります。 - Copilot チャットのエージェント モードを使用すると、# を付けてツール名を指定することで (例: #list_workspaces)、MCP サーバーで使用可能なさまざまなツールにアクセスできます。
利用可能なツール
MCP サーバー経由では次のツールを利用できます。
list_workspaces
: 利用可能なすべての Fabric ワークスペースを一覧表示します。list_lakehouses(workspace)
: 指定されたワークスペース内のすべてのレイクハウスを一覧表示します。list_warehouses(workspace)
: 指定されたワークスペース内のすべての倉庫を一覧表示します。list_tables(workspace, lakehouse)
: 指定されたレイクハウス内のすべてのテーブルを一覧表示します。get_lakehouse_table_schema(workspace, lakehouse, table_name)
: 特定の Delta テーブルのスキーマとメタデータを取得します。get_all_lakehouse_schemas(workspace, lakehouse)
: レイクハウス内のすべての Delta テーブルのスキーマとメタデータを取得します。set_lakehouse(workspace, lakehouse)
: 現在のレイクハウスコンテキストを設定します。set_warehouse(workspace, warehouse)
: 現在のウェアハウスのコンテキストを設定します。set_workspace(workspace)
: 現在のワークスペースコンテキストを設定します。
ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
自然言語を通じてワークスペース、レイクハウス、ウェアハウス、テーブルを管理するための Microsoft Fabric API との対話を可能にする Python ベースの MCP サーバー。
Related MCP Servers
- -securityAlicense-qualityA Python-based MCP server that integrates OpenAPI-described REST APIs into MCP workflows, enabling dynamic exposure of API endpoints as MCP tools.Last updated -239PythonMIT License
- -securityFlicense-qualityThis is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.Last updated -Python
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -718045TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3928