aspire mcp start command
aspire mcp start - Start the MCP (Model Context Protocol) server.
Synopsis
Section titled “Synopsis”aspire mcp start [options]Description
Section titled “Description”The aspire mcp start 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.
-
-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.
Examples
Section titled “Examples”-
Start the MCP server:
Aspire CLI aspire mcp start