Microsoft Fabric RTI MCP
raw JSON → 0.5.4 verified Sat May 09 auth: no python
Model Context Protocol (MCP) server for Microsoft Fabric Real-Time Intelligence (RTI). Version 0.5.4 provides tools for Eventstream, KQL, Activator, and Map. Active development with weekly to biweekly releases.
pip install microsoft-fabric-rti-mcp Common errors
error ModuleNotFoundError: No module named 'fabric_rti_mcp' ↓
cause Package not installed or wrong environment.
fix
Run 'pip install microsoft-fabric-rti-mcp' and ensure Python version >=3.10.
error Unauthorized: request is not authorized ↓
cause Missing or expired FABRIC_USER_ACCESS_TOKEN.
fix
Set FABRIC_USER_ACCESS_TOKEN to a valid Fabric bearer token. Use 'az account get-access-token --resource https://api.fabric.microsoft.com' to obtain one.
error AttributeError: module 'fabric_rti_mcp' has no attribute 'main' ↓
cause Incorrect import path.
fix
Use 'from fabric_rti_mcp.server import main' instead of 'from fabric_rti_mcp import main'.
Warnings
breaking Authentication requires FABRIC_USER_ACCESS_TOKEN, not Microsoft Entra credentials directly. Use a short-lived bearer token. ↓
fix Set env var FABRIC_USER_ACCESS_TOKEN from Azure CLI or Fabric API.
breaking CORS origins default to localhost only; remote hosts must set FABRIC_RTI_CORS_ORIGINS. ↓
fix Set env var FABRIC_RTI_CORS_ORIGINS to a comma-separated list of allowed origins.
gotcha Security-sensitive CRP keys cannot be overridden via MCP tools. This is a security measure, not a bug. ↓
fix Configure CRP keys through environment variables, not tool calls.
deprecated The Starlark-based Kusto skill is being replaced; older versions may use deprecated skill names. ↓
fix Use the updated Kusto Copilot skill introduced in 0.5.1.
Install
uv add microsoft-fabric-rti-mcp Imports
- main wrong
from fabric_rti_mcp import maincorrectfrom fabric_rti_mcp.server import main
Quickstart
import os
os.environ.setdefault('FABRIC_USER_ACCESS_TOKEN', os.environ.get('FABRIC_USER_ACCESS_TOKEN', ''))
from fabric_rti_mcp.server import main
# Run with: python -m fabric_rti_mcp.server
# Or configure via env vars: FABRIC_USER_ACCESS_TOKEN, FABRIC_RTI_CORS_ORIGINS