Build and return the configured server instance.
Register individual prompts.
Register individual static resources.
Register resource templates.
ExperimentalRegister a task tool provider. MCP Tasks is an experimental SDK feature
ExperimentalRegister individual task tools. MCP Tasks is an experimental SDK feature
Register individual tools.
Fluent builder for constructing MCP servers.
Provides a declarative API for configuring all aspects of an MCP server including tools, resources, prompts, transport, and lifecycle hooks.
Example: Basic usage with tool provider