agentleFS
MicrosoftKnown publishermicrosoft/DataFactory.MCP/.github/skills/devops.fabric-mcp-integration/SKILL.md

devops.fabric-mcp-integration

Skill47 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.

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
  1. Very specific:

    Run from the microsoft/mcp repo root:

    line 53
  2. Distinctive:

    If restore succeeds, the package is cached and Fabric.Mcp.Server CI will find it.

    line 60
  3. Very specific:

    All code consumed from Microsoft.DataFactory.MCP.Core must be trim-safe:

    line 115
  4. Very specific:

    Use source-generated JSON (DataFactoryJsonContext) instead of reflection-based serialization

    line 116
  5. Distinctive:

    Test with the publish command above before submitting version bumps

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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>

How Upstream Caching Works

  1. A new version is published to nuget.org
  2. It is NOT immediately available on the DevOps feed
  3. A Collaborator runs dotnet restore against the DevOps feed
  4. The feed fetches and caches the package from nuget.org
  5. Subsequent Fabric.Mcp.Server CI builds can then resolve it

Important: The nuget list search index can lag behind actual availability. If dotnet restore succeeds, the package IS available for CI even if nuget list doesn'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 -AllVersions

Step 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 -AllVersions

The 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=true

All 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

IssueCauseFix
NU1102: Unable to find packageVersion not cached on DevOps feedRun dotnet restore locally to trigger upstream cache
nuget list doesn't show new versionSearch index lagCheck with dotnet restore instead — success = available
401 Unauthorized on restoreMissing credential providerInstall cred provider (link above)
IL2026 trim warnings on publishReflection-based JSON in consumed codeUse DataFactoryJsonContext source-gen JSON

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.