aspire mcp command
Name
aspire mcp - Interact with MCP tools exposed by Aspire resources.
Synopsis
aspire mcp [command] [options]
Description
The aspire mcp command lets you discover and call MCP (Model Context Protocol) tools exposed by resources in a running AppHost. Use it to inspect available tools and invoke them from the terminal.
Note
The aspire mcp command interacts with tools exposed by running resources. To start the MCP server used by compatible AI agents, use aspire agent mcp.
Options
The following options are available:
-
-
-
-
-
Commands
-
-
-
-
The following commands are available:
| Command | Function |
|---|---|
aspire mcp tools |
List MCP tools exposed by running resources. |
aspire mcp call |
Call an MCP tool on a running resource. |
Examples
List MCP tools exposed by the current AppHost:
aspire mcp toolsCall a tool on a running resource:
aspire mcp call myresource mytool