Skip to content

SEP-2640: Skills Extension #1140

Open

Description

@uc4w6c

Expected Behavior

The Java SDK should support the SEP-2640 Skills extension, enabling MCP clients to discover and retrieve Agent Skills exposed by MCP servers.

The SDK should provide:

  • Schema types and method constants for skills/list, skills/get, and the optional resources/directory/read.
  • Client APIs to list skills, retrieve a skill entry by its SKILL.md URI, read skill resources, and—when advertised—read directory resources.
  • Stateless server APIs to register skills and expose the required endpoints.
  • Support for io.modelcontextprotocol/skills capability negotiation, including the optional directoryRead setting.

Current Behavior

The SDK does not yet support the SEP-2640 Skills extension.

Context

This change adds support for the SEP-2640 Skills extension to the Java SDK, aligning it with the following implementations in other MCP SDKs:

I implemented this before realizing that non-trivial changes should be discussed with maintainers first. I would appreciate feedback on the proposed scope and API design, and I am happy to revise the implementation accordingly.

Activity

  1. added
    P3Nice to haves, rare edge cases
    extensionsWork relating to MCP extensions - see https://modelcontextprotocol.io/extensions/overview
    on Sep 23, 2026
  2. Ben-Home commented on Sep 30, 2026

    @Ben-Home
  3. xfdzcoder commented on Nov 13, 2026

    @xfdzcoder

    Could #1214 land as the modern server portion of SEP-2640 once reviewed, with this issue staying open to track Java client support and a decision on the classic server scope in #1141?

    In a local run against #1214 with a build-time Resources dependency check, all 45 Skills conformance checks passed over HTTP. The SDK docs describe using the conformance suite to exercise the server while the modern Java client is pending. Modern server docs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Nice to haves, rare edge casesextensionsWork relating to MCP extensions - see https://modelcontextprotocol.io/extensions/overview

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions