declare function getMCP(mcpName: MCPName): IMCPSchema;
Retrieves an MCP (Model Context Protocol) schema by its name from the swarm's MCP schema service. Logs the operation if logging is enabled in the global configuration.
Parameter | Description |
---|---|
mcpName |
The name of the MCP to retrieve. |