Skip to content

aspire mcp command

aspire mcp - Manage MCP (Model Context Protocol) server.

Aspire CLI
aspire mcp [command] [options]

The aspire mcp command manages MCP (Model Context Protocol) server operations for Aspire. The MCP server enables AI assistants and development tools to interact with your Aspire AppHost, providing capabilities such as resource management, diagnostics, and observability.

The following options are available:

  • -?, -h, --help

    Prints help and usage documentation for the available commands and options.

  • -d, --debug

    Enable debug logging to the console, which prints detailed information about what Aspire CLI is doing when a command is run.

  • --wait-for-debugger

    Wait for a debugger to attach before running a command.

The following commands are available:

CommandStatusFunction
aspire mcp startStableStart the MCP (Model Context Protocol) server.
aspire mcp initStableInitialize MCP server configuration for detected agent environments.
FAQCollaborateCommunityDiscussWatch