Agent Framework's two bindings load skills from an MCP server by different routes

Kind: idiosyncrasy · Status: current · Last verified: 2026-11-16 · Clients: agent-framework · Revisions: 2025-11-25, 2026-07-28

Both bindings can load Agent Skills from an MCP server, read at 10801303. Both are opt-in, and both borrow a client the application built. They do not speak the same protocol to the server.

Python: a well-known resource

MCPSkillsSource is marked experimental. Its docstring says discovery follows "the SEP-2640 recommended approach". It sends resources/read for skill://index.json and parses the JSON it gets back. Each index entry is handled by its type:

A missing, empty or unparseable index gives an empty skill list, and any other read error is raised. The source does not call skills/list or skills/get, does not look at the server's extensions capability, and declares nothing to the server.

.NET: the extension methods

AgentMcpSkillsSource checks ServerCapabilities.Extensions for the key io.modelcontextprotocol/skills and returns an empty list without sending anything when it is absent. When it is present, McpSkillsCatalog sends skills/list through McpClient.SendRequestAsync, following cursors and rejecting a repeated one. It refreshes one skill with skills/get. It requires resultType to be complete on both, requires every skills/list page to carry the same cacheScope, and uses each response's TTL to decide when to fetch again. Skill files are read with resources/read.

The request and result types are the framework's own (McpSkillsListResult, McpSkillsGetResult and others in the same folder). dotnet/Directory.Packages.props references ModelContextProtocol and ModelContextProtocol.Extensions.Tasks only. The C# SDK tree at tag v2.2.0 has no skills project. Its default branch at 64cfd66 has a ModelContextProtocol.Extensions.Skills project, which the framework does not reference.

What a server author sees

A server that publishes only skill://index.json gives the Python binding its skills and the .NET binding none, because the .NET source stops at the extension check. A server that implements only skills/list behind the extension capability gives the .NET binding its skills and the Python binding none, because the index resource is not found and the source returns an empty list. fast-agent, the other registry client with skills over MCP, takes the skills/list route.

Neither binding puts the skills extension in its own client capabilities. In both, the client belongs to the application.

Not checked

Which draft of SEP-2640 each binding tracks was not established. The .NET source names the extension id and not the SEP. No skills server was run against either binding.

Sources