Skip to content

Flatten pipe/flow: update projio wrappers and MCP server registration

Goal

Update the projio-side MCP wrappers and server tool registrations to match the flow-only API. Remove all pipe parameters.

Context

Prior tasks removed pipe from: registry schema, pipeio MCP functions, pipeio CLI. This task updates the projio wrapper layer that exposes tools to AI agents.

Prompt

Update projio MCP wrappers and server registration for flow-only addressing.

Files to modify

src/projio/mcp/pipeio.py: Every pipeio_* wrapper function that takes pipe: str must drop it. These are thin wrappers — match the new pipeio MCP signatures.

All functions that currently take pipe and flow → keep only flow. Examples: - pipeio_flow_status(pipe, flow)pipeio_flow_status(flow) - pipeio_nb_sync(pipe, flow, name, ...)pipeio_nb_sync(flow, name, ...) - pipeio_mod_context(pipe, flow, mod)pipeio_mod_context(flow, mod) - etc. for ALL ~35 wrapper functions

Where wrappers currently call:

mcp_nb_sync(root, pipe=pipe, flow=flow, name=name, ...)
Change to:
mcp_nb_sync(root, flow=flow, name=name, ...)

src/projio/mcp/server.py: Update every @server.tool decorated function to drop pipe: str from parameters.

Constraints

  • Modify only src/projio/mcp/pipeio.py and src/projio/mcp/server.py
  • Run PYTHONPATH=src python -m pytest tests/ -q from the projio root to verify
  • Save with datalad_save

Acceptance Criteria

  • [ ] No pipe: str param on any wrapper or server tool function
  • [ ] All wrappers call pipeio MCP functions with correct new signatures
  • [ ] All projio tests pass

Result

(Filled in after execution)

Batch Result

  • status: failed
  • batch queue_id: 48c064cff89c
  • batch duration: 1800.1s