Skip to content

Improve using commands from the CLI or MCP #15610

@JamesNK

Description

@JamesNK

Commands don't have a way to pass arguments from the CLI or MCP. Right now people use the interaction service to get input, but that doesn't work well when called from non-interactive command line.

Also there isn't a way to return output from commands. There should be a way to write to the MCP or CLI output when a command executes to give feedback to the caller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-cliarea-mcp

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions