fabric-semantic-mcp

v0.2.0
fabric-semantic-mcp Checked 3 days ago Published 3 months ago

MCP server for asking business questions to Microsoft Fabric semantic models.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_azure_login

Step 0 of setup. Verify there is an active Azure session and show the user exactly how to sign in if there is not. Call this first, always.

list_workspaces

Step 1 of setup. List the Fabric workspaces the signed-in user can access. Show the numbered list to the user and let them choose one.

select_workspace

Step 2 of setup. Choose the workspace to work in. Accepts the list number, the workspace name (full or partial) or its ID.

ParameterTypeDescription
choice *string

list_models

Step 3 of setup. List the semantic models in the selected workspace.

select_model

Step 4 of setup. Choose the semantic model to query. Accepts the list number, the model name (full or partial) or its ID.

ParameterTypeDescription
choice *string

learn_model

Step 5 of setup. Read the model's full metadata (tables, columns, measures with their DAX, relationships) and profile its dimension columns so later questions can be answered without guessing. Result is cached on disk.

ParameterTypeDescription
profileboolean
refreshboolean

setup_status

Where the setup flow currently stands and what the next step is.

get_model_schema

Full schema of the active model, or of one table. Use before writing DAX.

ParameterTypeDescription
include_hiddenboolean
table

search_model

Fuzzy-search tables, columns and measures by name or description. Use this on large models instead of dumping the whole schema.

ParameterTypeDescription
query *string
limitinteger

get_measure_definition

Show a measure's DAX expression. Answers 'how is this indicator calculated?' without opening Power BI Desktop.

ParameterTypeDescription
name *string

resolve_values

Real values of a column. Call this before filtering on a literal, so the filter matches what the data actually contains.

ParameterTypeDescription
column *string
table *string
contains
limitinteger

run_dax

Execute a read-only DAX query against the active model. Must start with EVALUATE or DEFINE; anything else is rejected. Always aggregate rather than pulling detail rows. Results honour the model's Row Level Security.

ParameterTypeDescription
query *string

explain_model

Explain how the semantic model is built: which tables are facts, which are dimensions, how they relate, what shape the schema has, and what to watch out for. Use this for modelling questions, not for data questions.

describe_table

Explain one table: what role it plays in the model, how it connects to the rest, its columns and its measures.

ParameterTypeDescription
table *string

reset_session

Forget the selected workspace and model to start the setup flow again. Cached model metadata is kept.