aspire agent command
aspire agent - Manage AI agent integrations.
Synopsis
Section titled “Synopsis”aspire agent [command] [options]Description
Section titled “Description”The aspire agent command manages AI agent integrations for Aspire. This includes starting the MCP (Model Context Protocol) server and initializing agent environment configurations. The MCP server enables AI assistants and development tools to interact with your Aspire AppHost, providing capabilities such as resource management, diagnostics, and observability.
Options
Section titled “Options”The following options are available:
-
-?, -h, --helpPrints help and usage documentation for the available commands and options.
-
-l, --log-level <Critical|Debug|Error|Information|None|Trace|Warning>Set the minimum log level for console output. Use this option to increase diagnostics while troubleshooting or reduce output in scripted runs.
-
--non-interactiveRun the command in non-interactive mode, disabling all interactive prompts and spinners.
-
--nologoSuppress the startup banner and telemetry notice.
-
--bannerDisplay the animated Aspire CLI welcome banner.
-
--wait-for-debuggerWait for a debugger to attach before running a command.
Commands
Section titled “Commands”The following commands are available:
| Command | Status | Function |
|---|---|---|
aspire agent mcp | Stable | Start the MCP (Model Context Protocol) server. |
aspire agent init | Stable | Initialize MCP server configuration for detected agent environments. |