Skip to content

Modern skills/get results must carry ttlMs and cacheScope (ext-skills stable spec) #2404

Closed

Description

@cliffhall

Problem

core/mcp/skillsSchemas.ts treats caching attributes on skills/get as optional, because SEP-2640 said whether they are required was "left open". The stable ext-skills specification (specification/stable/skills.mdx, updated upstream 2026-09-16) now settles that question:

GetSkillResult extends CacheableResult, so ttlMs and cacheScope are REQUIRED, as they are on resources/read, and carry the same semantics.

As a result, the Inspector accepts a modern skills/get result that is missing these required fields, so it reports a non-conforming server as clean.

Expected

On modern (2026-07-28+) connections, validate skills/get results against CacheableResult the same way skills/list already is: require ttlMs as a non-negative integer and cacheScope as public or private. Legacy results stay permissive. Update the "left open" comments to match.

Context

Found in Copilot review of #2401.

Activity

  1. added this to the v2.8.0 milestone on Sep 17, 2026
  2. added
    bug
    v2
    on Sep 17, 2026
  3. cliffhall commented on Sep 17, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Medium (total 7)

    • Severity 3 — the Inspector reports a non-conforming server as clean on a shipped extension surface
    • Urgency 3 — the upstream spec changed this week, and conformance checks should track it this milestone
    • Bonuses: +1 bug label

    Board: #28, Status Todo (filed through the create flow, milestone v2.8.0).

  4. modified the milestones: v2.8.0, v2.9.0 on Sep 23, 2026
  5. self-assigned this
    on Sep 24, 2026
  6. cliffhall commented on Sep 24, 2026

    @cliffhall
    MemberAuthor

    Shipped in #2469.

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

Metadata

Metadata

Assignees

Labels

bugv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions