Skip to content

mcp-registry list is broken in shell-pipelines #909

@spacelatte

Description

@spacelatte

Hi there,

The mcp-registry list command has been broken since mid-August. I finally got some time to triage the issue and found out that the list sub-command now awaits for hard-coded "down-arrow" keys.

In the UNIX philosophy, a tool or command does one thing, and does it good. In this case, pagination is the job of less or more commands, or any other CLI command, that can be part of $LESSPIPE or $EDITOR environment variables.

The issue here is that whenever I pipe the mcp-registry list, let's say to | grep, it does not show entire output at all. Also outputs "press down arrow for the next page" directly into the stdout (which is reserved for program output) contaminating the resulting data. (It should send this to the stderr, which is used for info/warning/error messages for the applications)

Refs:

This is a critical bug that prevents automation and scripting, which is a primary use-case of CLI tools in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions