annotation

MCP::MCPServer

Configure server metadata and capabilities at the class level.

  • name / version become serverInfo in the initialize response.
  • tools / prompts / resources enable the respective capabilities (default false) and auto-register list-changed notifications.