Salta ai contenuti

aspire mcp init command

Questi contenuti non sono ancora disponibili nella tua lingua.

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

Aspire CLI
aspire mcp init [options]

The aspire mcp 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

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.

  • Initialize MCP configuration for detected agent environments:

    Aspire CLI
    aspire mcp init
Domande & RisposteCollaboraCommunityDiscuteGuarda