r/MicrosoftFabric • Fabricator • 4d ago

Data Engineering Claude with VS Code Fabric Data Engineering extension is broken?

Hi guys,

A few months ago I read a post by u/QixiaoW that the Fabric Data Engineering VS Code ext was getting Claude Code support.

Just in time for when my org started handing out CC subscriptions. I switched to the pre-release version of the extension, and it loaded a bunch of tools including some mcp servers.

The problem is that I can't get it to work, fully. The fabric-notebook-content mcp is throwing some errors so it can't identify indexes that are needed to edit code.

Is this working for anyone else?

I asked CC to make a summary:

Title: Fabric Data Engineering MCP server: fabric_notebook_content / fabric_notebook_edit publish an empty input schema, so numeric index arguments are rejected

Problem

  • tools/list returns {"type":"object","properties":{}} for fabric_notebook_content and fabric_notebook_edit. The server still validates calls against a typed schema.
  • With no type information, the client sends index: 1 as the string "1". The call then fails with: MCP error -32602 … path ["index"]: Expected number, received string.
  • So get_cell can't be used, and list_cells only returns a truncated preview. Index-based edits (update, insert, delete) are probably affected the same way.

Steps to reproduce: call fabric_notebook_content with action: "get_cell", a valid notebookUri and index: 1

Expected: a full input schema in tools/list, and get_cell returns the cell's full source.

Likely cause and fix: fabric_list_items and fabric_create_notebook on the same server publish full schemas. The two broken tools probably use a schema that doesn't convert to JSON Schema, such as a discriminated union or a .superRefine. Fix: publish the real schema. As a stopgap, accept numeric strings for index, startCell and endCell (e.g. z.coerce.number()).

Environment

  • Windows 11, VS Code 1.147.0 (x64)
  • Synapse VS Code extension (synapsevscode.synapse) 1.28.1, which provides the MCP server
  • Claude Code extension (anthropic.claude-code) 2.1.331
2 Upvotes

2 comments sorted by

1

u/pl3xi0n Fabricator 4d ago

I also have a secondary issue that comes up when using the github copilot harness instead of claude code:

Error: (modelSelectionFailed) Request session.model.switchTo failed with message: Failed to load allowed model policy file "/fdefs/-/c:/Users/xxx/AppData/Roaming/Code/User/globalStorage/synapsevscode.synapse/vfs-agent-anchor/Workspaces.github\allowed_models.txt": The filename, directory name, or volume label syntax is incorrect. (os error 123). Fix the file before using Copilot models.

There is no file in that location even if I remove the fdefs stuff in the front.

2

u/QixiaoW ‪ ‪Microsoft Employee ‪ 1d ago

u/pl3xi0n

thanks for sharing this feedback, there is a known issue with the github copilot harness with our extension, we are working on the update to fix it, for now, could you please select the "local" as the harness env and that should be working.

for the feedback related with Claude Code, let me try to repo on our side and get back to you with the update.