aspire agent init command

Name

aspire agent init - Initialize MCP server configuration for detected agent environments.

Synopsis

aspire agent init [options]

Description

The aspire agent init command initializes the MCP (Model Context Protocol) server configuration for your development environment. It detects agent environments (such as VS Code with GitHub Copilot, or other MCP-compatible tools) and creates the necessary configuration files to enable MCP integration.

The command performs the following:

  • Detects supported agent environments in the current workspace
  • Creates or updates MCP configuration files for each detected environment
  • Sets up the connection between the agent and the Aspire MCP server

Options

The following options are available:

            • Examples

  • Initialize MCP configuration for detected agent environments:

    aspire agent init
    

See also