home / mcp / fabric rti mcp server
Provides tools to query and manage Microsoft Fabric RTI data and streams via MCP.
Configuration
View docs{
"mcpServers": {
"microsoft-fabric-rti-mcp": {
"command": "uvx",
"args": [
"microsoft-fabric-rti-mcp"
],
"env": {
"KUSTO_SERVICE_URI": "https://help.kusto.windows.net/",
"FABRIC_API_BASE_URL": "https://api.fabric.microsoft.com/v1",
"KUSTO_SERVICE_DEFAULT_DB": "Samples"
}
}
}
}You can run the Fabric RTI MCP Server to expose Fabric Real-Time Intelligence capabilities as modular tools that AI agents can call. It links your Fabric RTI services to an MCP client, enabling querying, analysis, and real-time data streaming through a unified interface.
Use an MCP client to interact with the Fabric RTI MCP Server. You will discover tools grouped by service (Eventhouse, Eventstreams, Activator, and Map). Describe your goal in natural language, and the MCP client will translate it into the appropriate tool calls to read data, run queries, manage event streams, or configure alerts.
Prerequisites you need before installing the MCP server are Python, a running MCP client, and a method to install the server package from PyPI or from source. You will also need to install the uv runtime as shown in the commands below.
Install the uv runtime on Windows (example shown):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Open the command palette and add a new MCP server from Pip, then install the package by its PyPI name. This adds the server to your configuration.
Exact steps you will follow in the UI:
- Command: MCP: Add Server
- Choose: install from Pip
- Package name: microsoft-fabric-rti-mcp
Your settings.json (or mcp.json) should include the Fabric RTI MCP Server with its environment variables. This example shows the basic environment you need to enable default Fabric RTI integration.
{
"mcp": {
"server": {
"fabric-rti-mcp": {
"command": "uvx",
"args": [
"microsoft-fabric-rti-mcp"
],
"env": {
"KUSTO_SERVICE_URI": "https://help.kusto.windows.net/",
"KUSTO_SERVICE_DEFAULT_DB": "Samples",
"FABRIC_API_BASE_URL": "https://api.fabric.microsoft.com/v1"
}
}
}
}
}If you prefer building from source, follow these steps to install and run the server locally.
1. Ensure Python 3.10+ is installed and added to your PATH.
2. Clone the repository.
3. Install dependencies.
4. Add the settings below into your vscode settings.json or your mcp.json.
5. Adjust the path to the repository location on your machine.
6. Adjust the cluster URI to match your Kusto cluster and the default database to your database.
7. If you supply a shots table for semantic search, configure the embeddings endpoint.
{
"mcp": {
"servers": {
"fabric-rti-mcp": {
"command": "uv",
"args": [
"--directory",
"C:/path/to/fabric-rti-mcp/",
"run",
"-m",
"fabric_rti_mcp.server"
],
"env": {
"KUSTO_SERVICE_URI": "https://help.kusto.windows.net/",
"KUSTO_SERVICE_DEFAULT_DB": "Samples",
"FABRIC_API_BASE_URL": "https://api.fabric.microsoft.com/v1"
}
}
}
}
}List all available Kusto services configured in the MCP
Execute KQL queries on the specified database
Execute Kusto management commands (destructive operations)
List all databases in the Kusto cluster
List all tables in a specified database
Get schema information for all entities in a database
Get detailed schema information for a specific table
Get schema information for a specific function
Retrieve random sample records from a specified table
Retrieve random sample records from a function result
Ingest inline CSV data into a table
Retrieve semantically similar query examples from a shots table
List all Eventstreams in your Fabric workspace
Get detailed information about a specific Eventstream
Retrieve complete JSON definition of an Eventstream
Create new Eventstreams with custom configuration
Modify existing Eventstream settings and destinations
Remove Eventstreams and associated resources
Start an Eventstream definition session
Get the current Eventstream definition
Clear the current Eventstream definition
Add a sample data source to an Eventstream
Add a custom endpoint data source to an Eventstream
Add a derived stream to an Eventstream
Add an Eventhouse destination to an Eventstream
Add a custom endpoint destination to an Eventstream
Validate an Eventstream definition
Create an Eventstream from a JSON definition
List available components for Eventstreams
List all Activator artifacts in a Fabric workspace
Create new Activator triggers with KQL source monitoring and alerts
List all Map items in your Fabric workspace
Get detailed information about a specific Map item
Retrieve the full JSON definition of a Map item
Create a new Map item from a provided configuration
Replace the full JSON definition of an existing Map item
Partially update properties of an existing Map item
Delete a Map item