Skip to content

PublicMcp ​

Type
Class
Namespace
craft\mcp\attributes
Inherits
craft\mcp\attributes\PublicMcp
Since
5.12.0

Marks an MCP capability as eligible for the public server.

Public discovery still requires explicit approval in the MCP settings.

View source