aspire mcp init command
此内容尚不支持你的语言。
aspire mcp init - Initialize MCP server configuration for detected agent environments.
Synopsis
Section titled “Synopsis”aspire mcp init [options]Description
Section titled “Description”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
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”-
Initialize MCP configuration for detected agent environments:
Aspire CLI aspire mcp init