Skip to content

McpListCommand

Rasuvaeff\Yii3Mcp\McpListCommand

ClassRasuvaeff\Yii3McpSourceExtends: Symfony\Component\Console\Command\Command

Prints every registered MCP capability (tools, resources, resource templates, prompts) without an MCP client: the introspection goes through the same in-process JSON-RPC path a real client uses, so the output shows what is actually served — attribute tools, OpenAPI-bridged operations and Markdown prompts alike.

--json prints the full capability definitions as normalized JSON (the SchemaSnapshot format: sections keyed, items ordered by identity, object keys sorted) — stable for CI diffs and external automation.

No public properties or methods beyond the constructor.