devops.fabric-mcp-integration
Skill43 starsChanged 7 months agoMITView on GitHub
DevOps and CI integration with microsoft/mcp (Fabric.Mcp.Server). Use when publishing packages, managing feed availability, or troubleshooting CI failures.
In this repository9 other files it gives its agents.
- agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- datafactory-tipsSkill
- architecture.mcp-toolsSkill
- builder.datafactorySkill
- coder.datafactory-styleSkill
- datafactory.architectureSkill
- tester.testing-patternsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 53
Run from the microsoft/mcp repo root:
- Distinctive: line 60
If restore succeeds, the package is cached and Fabric.Mcp.Server CI will find it.
- Very specific: line 115
All code consumed from Microsoft.DataFactory.MCP.Core must be trim-safe:
- Very specific: line 116
Use source-generated JSON (DataFactoryJsonContext) instead of reflection-based serialization
- Distinctive: line 118
Test with the publish command above before submitting version bumps
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DevOps Integration with Fabric.Mcp.Server
Overview
The microsoft/mcp repo consumes Microsoft.DataFactory.MCP.Core as a NuGet package
in Fabric.Mcp.Tools.DataFactory. CI builds use a DevOps feed with upstream caching
from nuget.org — packages are not immediately available after publishing.
Feed Configuration
The Fabric.Mcp.Server NuGet.config uses a single feed:
<packageSources>
<clear />
<add key="azure-sdk-for-net"
value="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json" />
</packageSources>- Feed UI: https://dev.azure.com/azure-sdk/public/_artifacts/feed/azure-sdk-for-net
- No direct nuget.org access — all packages must come through this feed
- The feed has an upstream to nuget.org that caches packages on-demand
How Upstream Caching Works
- A new version is published to nuget.org
- It is NOT immediately available on the DevOps feed
- A Collaborator runs
dotnet restoreagainst the DevOps feed - The feed fetches and caches the package from nuget.org
- Subsequent Fabric.Mcp.Server CI builds can then resolve it
Important: The
nuget listsearch index can lag behind actual availability. Ifdotnet restoresucceeds, the package IS available for CI even ifnuget listdoesn't show it yet.
After Publishing a New Version
Step 1: Verify on nuget.org
nuget list Microsoft.DataFactory.MCP.Core \
-Source "https://api.nuget.org/v3/index.json" \
-PreRelease -AllVersionsStep 2: Trigger the DevOps feed to cache it
Run from the microsoft/mcp repo root:
dotnet restore tools/Fabric.Mcp.Tools.DataFactory/src/Fabric.Mcp.Tools.DataFactory.csproj \
--source "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json"If restore succeeds, the package is cached and Fabric.Mcp.Server CI will find it.
Step 3: Verify (optional)
nuget list Microsoft.DataFactory.MCP.Core \
-Source "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json" \
-PreRelease -AllVersionsThe search index may lag — restore success is the definitive proof.
Version Management
DataFactory.MCP side (this repo)
Version is in Directory.Build.props:
<MajorVersion>0</MajorVersion>
<MinorVersion>20</MinorVersion>
<PatchVersion>0</PatchVersion>
<PreReleaseLabel>beta</PreReleaseLabel>Fabric.Mcp.Server side (consumer repo)
Version is in Directory.Packages.props (Central Package Management):
<PackageVersion Include="Microsoft.DataFactory.MCP.Core" Version="0.20.0-beta" />The project reference is in:
tools/Fabric.Mcp.Tools.DataFactory/src/Fabric.Mcp.Tools.DataFactory.csproj
Credential Provider Setup
To authenticate to the DevOps feed locally, install the credential provider: https://go.microsoft.com/fwlink/?linkid=2099625
Once installed, dotnet restore triggers an auth challenge and grants Collaborator access.
The feed is public — anyone can pull packages that are already cached.
Collaborators can also trigger the feed to ingest new packages from nuget.org.
Trim Safety Requirements
Fabric.Mcp.Server publishes with IL trimming enabled:
dotnet publish servers/Fabric.Mcp.Server/src/Fabric.Mcp.Server.csproj \
--runtime linux-x64 --self-contained \
/p:PublishTrimmed=true /p:PublishSingleFile=true /p:TreatWarningsAsErrors=trueAll code consumed from Microsoft.DataFactory.MCP.Core must be trim-safe:
- Use source-generated JSON (
DataFactoryJsonContext) instead of reflection-based serialization - Mark reflection-dependent APIs with
[RequiresUnreferencedCode] - Test with the publish command above before submitting version bumps
Troubleshooting
| Issue | Cause | Fix |
NU1102: Unable to find package | Version not cached on DevOps feed | Run dotnet restore locally to trigger upstream cache |
nuget list doesn't show new version | Search index lag | Check with dotnet restore instead — success = available |
| 401 Unauthorized on restore | Missing credential provider | Install cred provider (link above) |
| IL2026 trim warnings on publish | Reflection-based JSON in consumed code | Use DataFactoryJsonContext source-gen JSON |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

