Skip to content

History

Revisions

  • feat(delivery): a client's default from its clientInfo, and VS Code's built in mcp.delivery_default(fn) answers each request's inputs at level 4 of DLV-3, from the client's clientInfo: initialize's params, else the request's _meta["io.modelcontextprotocol/clientInfo"], else the session's. kubed-mcp's table of known clients is level 6, matched by the longest case-sensitive prefix of the name: Visual Studio Code gets resources off. A server's own settings beat the table. Every input with a Delivery attribute has every level, so Via and Listed stay aligned and a Via from delivery_default or the table puts its preset at that level. An fn that raises, or answers with no Delivery, is logged at error and gives nothing. The default-mode client stamps its own clientInfo into each request's _meta, so the malformed-_meta tests send a raw tools/call on a legacy session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    f6bf21d
  • feat(delivery): X-MCP-Via presets what each listing shows X-MCP-Via (Kb-Via, ?via=, a config's via) is mcp, extension or local. Under extension prompts/list leaves out the plugins' prompts; under local prompts/list, skills/list and agents/list leave out all of the plugins' material. Every get and read still answers, and the server's own prompts and skills.serve catalogue are always listed. The preset ranks at the level its Via came from (DLV-3, DLV-9): Via is walked first, and Listed only up to that level, so a client's local beats a config's listed. Via and Listed keep the same levels for that, so an input with a Delivery attribute always has a config level. skills/list is hidden through _Skills._list_skill_entries, which FastMCP 4.2's skills/list asks and skills/get does not; prompts/get reaches every plugin prompt through _Prompts._get_prompt. kubed.mcp.delivery.Resolved replaces _Resolved and is public. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    9cac7d9
  • Merge wiki issue-16 into issue-22 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # superpowers/plans/2026-11-24-material-delivery-design.md # superpowers/specs/delivery.md

    @kferrone kferrone committed Nov 25, 2026
    e395de0
  • fix(delivery): title the resource tools in their annotations too list_resources and read_resource had a top-level title but none in their ToolAnnotations, where selenium-flow's tool rules look for it. The shared annotations are now built per tool with its title, and the listing test checks that each matches. DLV-6 says so. The material-delivery design's release plan gains 0.2.0rc3, cut right after #22 merges so both servers move before the epic merges; rc2 is recorded as covering #20, #37 and #21. The docs pointer moves to the wiki commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    7662bff
  • feat(delivery): list_resources and read_resource for clients that cannot read resources A server with a plugin now serves two read-only tools, list_resources and read_resource, over every resource it has. They show in tools/list under X-MCP-Resources: off and are always callable by name. list_resources returns the request's resources/list rows, less ui://, with each row's uri written under the gateway prefix. read_resource reads through the server's middleware, as resources/read does: - images come back as image content; - UTF-8 text/* and SVG blobs come back as text; - other binaries come back as a JSON description, with the pointer mcp.binary_pointer(fn) gives; - ui:// is refused; - a miss carries resources/read's message. A server's own list_resources or read_resource tool now refuses the first add_plugin or serve, and mcp.tool, now QuickMCP's own method, refuses either name once there is a plugin. Both messages name the plugin layer's replacement. From the whole-branch review: gateway.prefix() in a custom route reads the server's own prefix header, a tool miss logs at info, the tools' JSON keeps non-ASCII, and the Via parts of DLV-2, DLV-4 and DLV-16 are tagged (proposed). DLV-6 and DLV-7 are built; APP-4 and APP-12 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: done

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    47a4557
  • feat(delivery): X-MCP-Listed chooses the kinds resources/list shows resources/list now shows the kinds the request's X-MCP-Listed resolves to. With skills, the default, it shows one SKILL.md row per plugin skill, as before. With prompts and agents it adds one row per prompts:// or agents:// file, each exactly the row its folder lists it by. Folders and indexes are never listed, and the server's own resources always are. A prompt or agent file is now a _FileResource, whose to_mcp_resource passes its own _meta, so the listed row and the folder row share one wire form with no fastmcp key. DLV-8 is built, and SKL-8 notes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    9ada982
  • feat(delivery): read every input under the server's own header prefix QuickMCP(..., header_prefix="Kb") makes every header input read as Kb-<Name> first, then the shared X-MCP-<Name> alias, then the query parameter. A bad Kb-* value falls to the alias with one warning naming it. A background task's worker on the server reads its own headers too. A prefix that is not a header-name token, or X-MCP itself, is refused with a ValueError before anything is built. DLV-16 is built; APP-2, GW-1 and GW-2 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    dd1b3fc
  • feat(delivery): resolve the delivery inputs and the prefix by levels, falling through Each request resolves X-MCP-Resource-Prefix, X-MCP-Resources and X-MCP-Listed once, in a new _ResolveScope middleware between the call scope and the plugin pin. Each input walks its sources in order: the header, then the query parameter, then the config's delivery default, then the built-in one. An invalid value, the gateway prefix's included, falls through to the next source, with one warning that names the source. Warn-once is keyed on (session, source, value) and bounded at 4096, the least recently warned forgotten first. FastMCP 4.2.5 gives a middleware no signal when a session ends. The handshake resolves without warning, since its session has no id yet. gateway.prefix() now reads the resolution, and HEADER, QUERY, _VALID and request._first_time are removed. kubed.mcp exports Delivery. DLV-1 to DLV-5 are built; GW-1, GW-3, FAC-1 and FAC-2 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    ba7ef47
  • docs(delivery): spec and plan of record for the delivery inputs (#21) Rewrite DLV-1 to DLV-8 for the resolver, the fall-through warnings, the resource tools and the listing, and add DLV-16, the server's own header prefix. All stay (proposed) until the task that builds each one. The plan builds them in four tasks: the resolver and warn-once, header_prefix, X-MCP-Listed, and the resource tools with binary_pointer and the DLV-7 name check.

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    843b317
  • docs(delivery): plan X-MCP-Via, instructions per request and a client's default Write the plan of record for #22, step 6 of material delivery, and the delivery rows it builds: DLV-3's seven levels, DLV-9's listing table, DLV-10 (hiding is unlisting), DLV-11's Resolved and extensions, DLV-12's echo, DLV-14's clientInfo sources and the new DLV-15 table of known clients. The rows stay (proposed) until the task that builds each one.

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    931c7db
  • Merge wiki issue-16 into issue-21: bundles move to Epic 4, rc2 follows #21 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # superpowers/plans/2026-11-24-material-delivery-design.md

    @kferrone kferrone committed Nov 25, 2026
    e5c2812
  • docs(plan): bundles move to Epic 4, rc2 is the last rc Per Dr K, local bundles (#23, BND-1 to BND-12) leave this epic for Epic 4, #42. The material-delivery design drops step 7 from its Order table and says so, noting that X-MCP-Via: local covers a plugin installed any other way too. BND-1 to BND-12 stay proposed in the bundles spec. The release plan is now: rc1 covered steps 1 to 3, rc2 follows #21 with #20, #37 and #21, and 0.2.0 comes from main when the epic merges. The docs pointer moves to the wiki commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    47c0dd0
  • feat(delivery): list_resources and read_resource for clients that cannot read resources A server with a plugin now serves two read-only tools, list_resources and read_resource, over every resource it has. They show in tools/list under X-MCP-Resources: off and are always callable by name. list_resources returns the request's resources/list rows, less ui://, with each row's uri written under the gateway prefix. read_resource reads through the server's middleware, as resources/read does: - images come back as image content; - UTF-8 text/* and SVG blobs come back as text; - other binaries come back as a JSON description, with the pointer mcp.binary_pointer(fn) gives; - ui:// is refused; - a miss carries resources/read's message. A server's own list_resources or read_resource tool now refuses the first add_plugin or serve, and mcp.tool, now QuickMCP's own method, refuses either name once there is a plugin. Both messages name the plugin layer's replacement. From the whole-branch review: gateway.prefix() in a custom route reads the server's own prefix header, a tool miss logs at info, the tools' JSON keeps non-ASCII, and the Via parts of DLV-2, DLV-4 and DLV-16 are tagged (proposed). DLV-6 and DLV-7 are built; APP-4 and APP-12 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: done

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    2651064
  • feat(delivery): X-MCP-Listed chooses the kinds resources/list shows resources/list now shows the kinds the request's X-MCP-Listed resolves to. With skills, the default, it shows one SKILL.md row per plugin skill, as before. With prompts and agents it adds one row per prompts:// or agents:// file, each exactly the row its folder lists it by. Folders and indexes are never listed, and the server's own resources always are. A prompt or agent file is now a _FileResource, whose to_mcp_resource passes its own _meta, so the listed row and the folder row share one wire form with no fastmcp key. DLV-8 is built, and SKL-8 notes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    fa309c5
  • feat(delivery): read every input under the server's own header prefix QuickMCP(..., header_prefix="Kb") makes every header input read as Kb-<Name> first, then the shared X-MCP-<Name> alias, then the query parameter. A bad Kb-* value falls to the alias with one warning naming it. A background task's worker on the server reads its own headers too. A prefix that is not a header-name token, or X-MCP itself, is refused with a ValueError before anything is built. DLV-16 is built; APP-2, GW-1 and GW-2 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    d00826f
  • feat(delivery): resolve the delivery inputs and the prefix by levels, falling through Each request resolves X-MCP-Resource-Prefix, X-MCP-Resources and X-MCP-Listed once, in a new _ResolveScope middleware between the call scope and the plugin pin. Each input walks its sources in order: the header, then the query parameter, then the config's delivery default, then the built-in one. An invalid value, the gateway prefix's included, falls through to the next source, with one warning that names the source. Warn-once is keyed on (session, source, value) and bounded at 4096, the least recently warned forgotten first. FastMCP 4.2.5 gives a middleware no signal when a session ends. The handshake resolves without warning, since its session has no id yet. gateway.prefix() now reads the resolution, and HEADER, QUERY, _VALID and request._first_time are removed. kubed.mcp exports Delivery. DLV-1 to DLV-5 are built; GW-1, GW-3, FAC-1 and FAC-2 follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    eabce97
  • docs(delivery): spec and plan of record for the delivery inputs (#21) Rewrite DLV-1 to DLV-8 for the resolver, the fall-through warnings, the resource tools and the listing, and add DLV-16, the server's own header prefix. All stay (proposed) until the task that builds each one. The plan builds them in four tasks: the resolver and warn-once, header_prefix, X-MCP-Listed, and the resource tools with binary_pointer and the DLV-7 name check.

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    2f23845
  • docs(plan): rc2 follows #21, then an rc per step The material-delivery design's release plan said the next rc would follow steps 4 to 6. Per Dr K, 0.2.0rc2 is cut right after #21 merges, carrying #20, #37 and #21, and mcp-kb's K3 (mcp-kb#89) waits on it. An rc follows #22 and another #23, each as it lands. The docs pointer moves to the wiki commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    4089a36
  • test(plugins): pin that no served address has a dot segment A plugin.json or marketplace entry naming commands/../x.md, commands/sub/../z.md or agents/../b.md gets PLUG-12's note and serves nothing there, and ./ segments are dropped. No prompts://, agents:// or folder address a build serves, and no site a rewriter sees, has a . or .. segment. The test passed without a code change: nothing let a dot segment through. PLUG-66 says so. The changelog gains the line for prompts:// and agents:// belonging to the plugins, and PLUG-3, PLUG-76 and the nesting guard's line now name both directions it refuses. The material-delivery design records #37 as built: PLUG-75 and PLUG-76. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: done

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    2dd0fcb
  • feat(plugins): refuse a namespace inside another plugin's skill A plugin entering a set (add_plugin, staging.add, staging.keep) is refused when its namespace is, or lies below, a skill a plugin in the set serves, or when a skill of its holds such a plugin's namespace (PLUG-76). Keys are compared by whole segments, and a plugin under the server's own name is checked like any other. The check runs in PluginSet._carry before the plugin enters, so a refused plugin claims nothing, and staging.add wraps the reason as keep does. A set can no longer hold a skill inside another, so the build's whole-catalogue SkillCatalogProvider check, which failed every request on such a set, is removed. PLUG-76 is no longer proposed; PLUG-3, PLUG-18 and PLUG-50 cite it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    d2e7ff8
  • Merge the base's wiki into issue-12

    pr-update committed Nov 25, 2026
    449ea37
  • feat(skills): read a skill's JSON, YAML and script files as text A skill's file other than its SKILL.md reads as UTF-8 text when it is text-like and its bytes are UTF-8, and as a blob of its bytes otherwise (PLUG-75). Text-like is a fixed table of extensions (.json, .yaml, .toml, .sh, .ts and the rest), compared in lowercase, or a text media type. The table gives the same type on every host, where mimetypes guesses .ts as video/mp2t. The decode is strict, so the digests in _manifest and skills/list stay those of the bytes served. The new private module _media owns the rule. EntryOnlySkillProvider serves each non-entry file as _SkillFile, a SkillFileResource that keeps every field FastMCP checks, so skills.serve and every plugin build get it. The build's rewriters use the same text_of, so a rewriter, to_mcp_form and the gateway prefix reach a skill's JSON and YAML too (PLUG-58). PLUG-75 is no longer proposed; PLUG-58 and SKL-9 cite it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    200f11a
  • docs(plan): plan #37, skill text files and the nesting guard Adds PLUG-75 (a skill's text files read as text) and PLUG-76 (no namespace inside another plugin's skill) to the plugins spec, both (proposed), and the plan that builds them with #20's two follow-ups.

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    fae7832
  • Merge the base's wiki into issue-16

    pr-update committed Nov 25, 2026
    754a961
  • feat(plugins): reserve prompts:// and agents:// for the plugins Once a server has a plugin, mcp.resource refuses a resource or template under prompts:// or agents://, the scheme compared in lowercase. A server that already has its own resource under either scheme cannot serve its first plugin: add_plugin, staging.add and mcp.serve refuse it (PLUG-72). The check reads FastMCP's local store, which is private: if a later release renames it, the check is skipped with a warning, and a test fails CI on that bump. mcp.resource is now a method, with FastMCP's signature and docs (APP-4). PLUG-72 is no longer proposed. The design records step 4 built, and the plan records Task 4 as built. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: done

    @kubed-io kubed-io[bot] committed Nov 25, 2026
    aa81188
  • feat(plugins): answer resources/directory/read from the first plugin, skills or not The agents extension the first plugin brings now binds resources/ directory/read and asks every provider, so a plugin server that serves no skill browses its prompts:// and agents:// folders. The first plugin also adds NameTheIndex when the server has none (PLUG-68). Whichever of the agents and Skills extensions registers first binds the method, and the other leaves it out, so it is bound once in every order. A server's own skills.serve still works before or after its plugins. skills.serve adds its advertiser and NameTheIndex each only when missing (SKL-4, SKL-20). PLUG-68 is no longer proposed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 24, 2026
    3960b21
  • feat(plugins): put each prompt's and agent's registration in its index row A prompt's row in its folder's _index.json, and in resources/directory/ read, carries io.kubed/prompt. That holds its name, its arguments as prompts/list gives them, and the invocation keys its served frontmatter sets (PLUG-69). An agent's row carries what agents/get gives as its _meta, its name added to io.kubed/agent (PLUG-70). The rows hold those alone, without FastMCP's own key, and a read of the file carries the same _meta. kubed.mcp.prompts exports META_KEY, INVOCATION_KEYS and index_meta. PLUG-69 and PLUG-70 are no longer proposed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 24, 2026
    22aa27e
  • feat(plugins): serve each prompt and agent file at prompts:// and agents:// A new provider, _Files, serves each file at its address, as markdown, from the request's build. It is never listed (PLUG-67). A file reads as its bytes unless a rewriter changed its text. Every folder the files sit in is a directory resource, the namespace its top. Its children are sorted by URI, and its _index.md and _index.json are rewritten as a skill folder's are, so a gateway prefix writes the URIs in them. The resources/ directory/read rows keep the plain URIs (GW-8). PLUG-66, PLUG-67 and PLUG-71 are no longer proposed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 24, 2026
    0159ff3
  • docs: FAC-11, TEL-3 and TEL-15 in the spec, and the changelog (#34) FAC-11 states what importing kubed.mcp loads: every name in __all__ but Telemetry and TelemetrySettings resolves on first use, so a config layer can embed TelemetrySettings without FastMCP. TEL-3 points to it, and TEL-15 takes Dr K's row 11 ruling on root's handlers. The telemetry design, the OpenTelemetry plan and this plan record it. The package docstring says the same as FAC-11, and the fresh-interpreter tests show a failing child's stderr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent: done

    @kubed-io kubed-io[bot] committed Nov 24, 2026
    e660e65
  • feat(plugins): give each prompt and agent file its address, claimed as a name is Each command and agent file now has its prompts:// or agents:// address, which nothing serves yet. A file under its folder is at its path below it, and a file the manifest lists from outside the folder is at its path below the plugin root. A renamed agent is at <name>@<plugin>.md, with @ unquoted. An address is a claim (PLUG-66). Within a plugin, a later file at a taken address is skipped whole. Across plugins, a prompt's address refuses the later plugin, and an agent's skips just that agent, as PLUG-64 skips a taken <name>@<plugin>, Dr K's ruling on #36. A file at a folder index's address is skipped. PLUG-18, PLUG-64 and PLUG-66 and the plan say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @kubed-io kubed-io[bot] committed Nov 24, 2026
    add8658