aspire agent mcp command
aspire agent mcp - Start the MCP (Model Context Protocol) server.
Synopsis
Section titled “Synopsis”aspire agent mcp [options]Description
Section titled “Description”The aspire agent mcp command starts the MCP (Model Context Protocol) server, which enables AI assistants and development tools to interact with your Aspire AppHost. The MCP server provides a standardized interface for resource management, diagnostics, and observability operations.
When the server is running, MCP-compatible clients can connect to it to:
- List and manage Aspire resources
- View structured logs and traces
- Execute resource commands (start, stop, restart)
- Query integration information
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.
Examples
Section titled “Examples”-
Start the MCP server:
Aspire CLI aspire agent mcp