workspaces

workspaces is a command for coding agents from sdebruyn/fabric-dw-mcp-cli. It costs 0 tokens per session (1,162 once invoked), scanned A, original, MIT.

Command-line tools for managing Microsoft Fabric workspaces, which are shared areas for organizing Fabric data and analytics work.

In plain words
What is it for?
Use them to list workspaces, inspect details, change a workspace’s default Data Warehouse collation, and assign a workspace to Fabric capacity.
Why use it?
They provide workspace-level administration without targeting individual warehouses or SQL analytics endpoints.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sdebruyn/fabric-dw-mcp-cli/workspaces
Clone the repo
git clone --depth 1 https://github.com/sdebruyn/fabric-dw-mcp-cli

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workspaces

README.md
[![agentmods](https://agentmods.dev/badge/commands/sdebruyn/fabric-dw-mcp-cli/workspaces.svg)](https://agentmods.dev/commands/sdebruyn/fabric-dw-mcp-cli/workspaces)
Your own site
<a href="https://agentmods.dev/commands/sdebruyn/fabric-dw-mcp-cli/workspaces"><img src="https://agentmods.dev/badge/commands/sdebruyn/fabric-dw-mcp-cli/workspaces.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,162 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01162
Opus 5 $0.00000 $0.00581
Sonnet 5 $0.00000 $0.00232
Haiku 4.5 $0.00000 $0.00116

Measured 4d ago against content hash f74a768aa8f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workspaces scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/workspaces.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspaces

Manage Microsoft Fabric workspaces - list all workspaces the authenticated principal can see, inspect a single workspace's details (including its default Data Warehouse collation), and update that collation. All workspace commands operate at the workspace level and do not target a specific Data Warehouse or SQL Analytics Endpoint item.

Targets: Workspace (not item-specific)

!!! note "Workspace selection"

The `workspaces` CLI group is exempt from the global `-w/--workspace` option. Pass the workspace name or GUID as a positional argument to `workspaces get` and `workspaces set-collation` instead.

CLI

workspaces assign-capacity

Targets: Workspace (not item-specific)

Assign a workspace to a Fabric capacity.

!!! note

The `workspaces` group is exempt from the global `-w/--workspace` option. Pass the workspace name or GUID as a positional argument instead.

Synopsis

fdw workspaces assign-capacity [WORKSPACE] --capacity-id <UUID>

Options

  • --capacity-id (UUID, required): UUID of the capacity to assign the workspace to.

Example

fdw workspaces assign-capacity MyWorkspace --capacity-id ab12cd34-ef56-7890-abcd-ef1234567890

workspaces get

Targets: Workspace (not item-specific)

Get details for a workspace, including its default Data Warehouse collation.

!!! note

The `workspaces` group is exempt from the global `-w/--workspace` option. Pass the workspace name or GUID as a positional argument instead.

Synopsis

fdw workspaces get [WORKSPACE]

Example

fdw workspaces get MyWorkspace
id                                3f2a1c5d-...
displayName                       MyWorkspace
capacityId                        ab12cd34-...
defaultDataWarehouseCollation     Latin1_General_100_CI_AS_KS_WS_SC_UTF8

workspaces list

Targets: Workspace (not item-specific)

List all workspaces the authenticated principal has access to.

Synopsis

fdw workspaces list

Read the full file on GitHub · 201 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 201 lines · 0 tokens per session scan A f74a768aa8f5

Subscribe to this mod's changes

workspaces is a command published in the GitHub repository sdebruyn/fabric-dw-mcp-cli (10 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,162 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.