mcp.schema.ClientCapabilities
See theClientCapabilities companion object
final case class ClientCapabilities(experimental: Option[Map[String, Json]], roots: Option[RootCapabilities], sampling: Option[Sampling])
Clients can implement additional features to enrich connected MCP servers with additional capabilities. These capabilities can be used to extend the functionality of the server, or to provide additional information to the server about the client's capabilities.
Value parameters
- experimental
-
WIP
- roots
-
define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to.
- sampling
-
Provides a standardized way for servers to request LLM sampling (“completions” or “generations”) from language models via clients.
Attributes
- Companion
- object
- Source
- ClientCapabilities.scala
- Graph
-
- Supertypes
Members list
In this article