Skip to content

super_recipes (MCP) should expose recipe source bodies for inlining #90

Description

@chrismo

The MCP super_recipes tool returns each recipe's signature, description, args, and examples — but not the function/operator body (source). When the goal is to inline a recipe (copy its definition into a standalone query because the sk CLI is no longer a query runner), the body is exactly what's needed, and it isn't available through the tool.

Today the workaround is to re-derive the definition by hand from the description + examples and verify it against test data. That works for something small like sk_titleize, but it's error-prone and defeats the purpose of having a canonical recipe collection — the "source of truth" body lives in the .spq files but isn't reachable via the MCP.

Request: expose the recipe source body through super_recipes (e.g. a source / body field on each recipe), so callers can inline the canonical definition instead of reconstructing it.

Context: came up while migrating a script off the old sk CLI — needed sk_titleize's actual definition to inline it, and super_recipes could describe the function but not hand over its body.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions