Skip to content

MCP - support Skills Extension (SEP-2640) #7345

Open

Description

@nmck257

Expected Behavior

From the MCP specification: https://modelcontextprotocol.io/seps/2640-skills-extension

Support things like:

  • Declaring resources as skills
  • Support skill:// URI scheme
  • Expose discovery tools (list, get)

Current Behavior

Not natively available

Activity

  1. CryoThrust commented on Nov 17, 2026

    @CryoThrust
    Contributor

    There is already relevant SDK work to build on: java-sdk#1214 targets the modern server, while java-sdk#1141 also covers the earlier stateless/client APIs. I would keep the wire types and method handlers there rather than introduce another Skills protocol implementation in Spring AI.

    A possible first Spring AI slice is opt-in MODERN server integration, once the SDK API settles. On main@4cce4caa, McpServerModernAutoConfiguration already assembles the SDK repository/features and exposes an ordered server customizer. The integration could follow that pattern for a skill repository, reuse the resource repository for file reads, and keep user-supplied repository beans as the override point.

    The released extension specification gives a useful acceptance contract: advertise both Resources and io.modelcontextprotocol/skills; implement skills/list and skills/get; return complete frontmatter/file manifests with byte sizes and digests; serve those same bytes through resources/read. skills/get must work for an unlisted but served URI. The optional directory method can remain disabled initially. A skill:// resource alone does not establish skill identity or constitute full extension support.

    I would include application-context and wire tests for discovery → list/get → file read, repository overrides, disabled Skills, and an explicit Resources-disabled configuration (which must not advertise an unusable extension). Legacy transports and client-side activation/approval would remain separate work.

    Would this server-integration slice be useful here? I can take the Spring configuration/tests/docs part after agreement on the SDK dependency, without duplicating either SDK PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions