ServerOptions

class ServerOptions(val capabilities: ServerCapabilities, var enforceStrictCapabilities: Boolean = true) : ProtocolOptions(source)

Configuration options for the MCP server.

Constructors

Link copied to clipboard
constructor(capabilities: ServerCapabilities, enforceStrictCapabilities: Boolean = true)

Properties

Link copied to clipboard

The capabilities this server supports.

Link copied to clipboard

Whether to restrict emitted requests to only those that the remote side has indicated that they can handle, through their advertised capabilities.

Link copied to clipboard