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.
-
-d, --debugEnable debug logging to the console, which prints detailed information about what Aspire CLI is doing when a command is run.
-
--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. |