ServerOptions
class ServerOptions(val capabilities: ServerCapabilities, enforceStrictCapabilities: Boolean = true, val resourceTemplateMatcherFactory: ResourceTemplateMatcherFactory = PathSegmentTemplateMatcher.factory) : ProtocolOptions(source)
Configuration options for the MCP server.
Constructors
Link copied to clipboard
constructor(capabilities: ServerCapabilities, enforceStrictCapabilities: Boolean = true, resourceTemplateMatcherFactory: ResourceTemplateMatcherFactory = PathSegmentTemplateMatcher.factory)
Properties
Link copied to clipboard
The capabilities this server supports.
Link copied to clipboard
Link copied to clipboard
The factory used to create ResourceTemplateMatcher instances for matching resource URIs against registered templates. Defaults to PathSegmentTemplateMatcher.factory.