Skip to content

mcp

Model Context Protocol LinkML Schema

URI: https://w3id.org/lmodel/mcp

Name: mcp

Classes

Class Description
Annotations Optional annotations for the client
ArgumentMap Argument object used in prompt and tool calls
AudioContent Audio provided to or from an LLM
BlobResourceContents Blob resource contents
BooleanSchema Boolean schema definition
CallToolRequestParams Parameters for a tools/call request
CancelledNotificationParams Parameters for a notifications/cancelled notification
ClientCapabilities Capabilities a client may support
ClientNotification A union of all notifications that can be sent by a client
ClientRequest A union of all requests that can be sent by a client
ClientResult A union of all result types that a client can return
CompleteRequestParams Parameters for a completion/complete request
CompletionArgument Argument descriptor for completion requests
CompletionContext Additional context for completion requests
CompletionData Completion result payload
ContentBlock Structured text content block
ContentBlockVariants A union of all content block types
CreateMessageRequestParams Parameters for a sampling/createMessage request
ElicitationCapability Client elicitation capability
ElicitationCompleteNotificationParams Parameters for a notifications/elicitation/complete notification
ElicitationContent Form values returned by an elicitation
ElicitRequestFormParams Parameters for a form-mode elicitation request
ElicitRequestParams A union of all elicitation request parameter types
ElicitRequestURLParams Parameters for a URL-mode elicitation request
EmbeddedResource The contents of a resource, embedded into a prompt or tool call result
EnumOption Single enumerated option with a machine value and display title
EnumSchema A union of all enum schema types
Error A JSON-RPC error object
        InternalError A JSON-RPC error indicating that an internal error occurred on the receiver (...
        InvalidParamsError A JSON-RPC error indicating that the method parameters are invalid or malform...
        InvalidRequestError A JSON-RPC error indicating that the request is not a valid request object (-...
        MethodNotFoundError A JSON-RPC error indicating that the requested method does not exist or is no...
        ParseError A JSON-RPC error indicating that invalid JSON was received by the server (-32...
ErrorData Structured JSON-RPC error data payload
ExtensionAppCapability Extension payload for app mime type declarations
ExtensionsCapability Server/client extension capability object
GetPromptRequestParams Parameters for a prompts/get request
HasAnnotations Mixin for types that carry annotations
HasIcons Mixin for types that carry icons
HasMeta Mixin for types that carry a _meta field
HasName Mixin for types that carry name and title
Icon An optionally-sized icon that can be displayed in a user interface
ImageContent An image provided to or from an LLM
Implementation Describes the MCP implementation
InitializeRequestParams Parameters for an initialize request
JSONRPCErrorResponse A response to a request that indicates an error occurred
        URLElicitationRequiredError A response indicating that additional information is required via URL elicita...
JSONRPCMessage A union of all JSON-RPC message types (requests, notifications, and responses...
JSONRPCNotification A notification which does not expect a response
        CancelledNotification Notification to indicate that a previously-issued request is being cancelled
        ElicitationCompleteNotification Notification from the server that an out-of-band elicitation request complete...
        InitializedNotification Notification sent from the client to the server after initialization has fini...
        LoggingMessageNotification Notification of a log message passed from server to client
        ProgressNotification Out-of-band notification to inform the receiver of a progress update
        PromptListChangedNotification Notification that the list of prompts the server offers has changed
        ResourceListChangedNotification Notification that the list of resources the server can read from has changed
        ResourceUpdatedNotification Notification that a resource has changed and may need to be read again
        RootsListChangedNotification Notification from the client that the list of roots has changed
        TaskStatusNotification Notification that a task's status has changed
        ToolListChangedNotification Notification that the list of tools the server offers has changed
JSONRPCRequest A request that expects a response
        CallToolRequest Used by the client to invoke a tool provided by the server
        CancelTaskRequest A request to cancel a task
        CompleteRequest A request from the client to the server, to ask for completion options
        CreateMessageRequest A request from the server to sample an LLM via the client
        ElicitRequest A request from the server to elicit additional information from the user via ...
        GetPromptRequest Used by the client to get a prompt provided by the server
        GetTaskPayloadRequest A request to retrieve the result of a completed task
        GetTaskRequest A request to retrieve the state of a task
        InitializeRequest Request sent from the client to the server when it first connects, asking it ...
        ListPromptsRequest Sent from the client to request a list of prompts and prompt templates
        ListResourcesRequest Sent from the client to request a list of resources the server has
        ListResourceTemplatesRequest Sent from the client to request a list of resource templates the server has
        ListRootsRequest Sent from the server to request a list of root URIs from the client
        ListTasksRequest A request to retrieve a list of tasks
        ListToolsRequest Sent from the client to request a list of tools the server has
        PingRequest A ping, issued by either the server or the client, to check that the other pa...
        ReadResourceRequest Sent from the client to the server, to read a specific resource URI
        SetLevelRequest A request from the client to the server, to enable or adjust logging
        SubscribeRequest Sent from the client to request resource update notifications
        UnsubscribeRequest Sent from the client to cancel resource update notifications
JSONRPCResponse A union of all JSON-RPC response types
JSONRPCResultResponse A successful (non-error) response to a request
        CallToolResultResponse A successful response from the server for a tools/call request
        CancelTaskResultResponse A successful response for a tasks/cancel request
        CompleteResultResponse A successful response from the server for a completion/complete request
        CreateMessageResultResponse A successful response from the client for a sampling/createMessage request
        CreateTaskResultResponse A successful response for a task-augmented request
        ElicitResultResponse A successful response from the client for an elicitation/create request
        GetPromptResultResponse A successful response from the server for a prompts/get request
        GetTaskPayloadResultResponse A successful response for a tasks/result request
        GetTaskResultResponse A successful response for a tasks/get request
        InitializeResultResponse A successful response from the server for an initialize request
        ListPromptsResultResponse A successful response from the server for a prompts/list request
        ListResourcesResultResponse A successful response from the server for a resources/list request
        ListResourceTemplatesResultResponse A successful response from the server for a resources/templates/list request
        ListRootsResultResponse A successful response from the client for a roots/list request
        ListTasksResultResponse A successful response for a tasks/list request
        ListToolsResultResponse A successful response from the server for a tools/list request
        PingResultResponse A successful response for a ping request
        ReadResourceResultResponse A successful response from the server for a resources/read request
        SetLevelResultResponse A successful response from the server for a logging/setLevel request
        SubscribeResultResponse A successful response for a resources/subscribe request
        UnsubscribeResultResponse A successful response for a resources/unsubscribe request
JsonSchema Restricted JSON Schema object used in MCP payloads
LegacyTitledEnumSchema Legacy titled enum schema
LogData Structured log data payload
LogDetails Structured details attached to log data
LoggingMessageNotificationParams Parameters for a notifications/message notification
MetaObject Metadata object attached to protocol objects
ModelHint Hints to use for model selection
ModelPreferences The server's preferences for model selection, requested of the client during ...
MultiSelectEnumSchema A union of multi-select enum schema types
NumberSchema Number schema definition
PaginatedRequestParams Common params for paginated requests
PrimitiveSchemaDefinition A union of all primitive schema definition types
ProgressNotificationParams Parameters for a notifications/progress notification
Prompt A prompt or prompt template that the server offers
PromptArgument Describes an argument that a prompt can accept
PromptMessage Describes a message returned as part of a prompt
PromptReference Identifies a prompt
PromptsCapability Server prompts capability
ReadResourceRequestParams Parameters for a resources/read request
RelatedTaskMetadata Metadata for associating messages with a task
Resource A known resource that the server is capable of reading
ResourceContents Generic resource contents
ResourceLink A resource that the server is capable of reading, included in a prompt or too...
ResourcesCapability Server resources capability
ResourceTemplate A template description for resources available on the server
ResourceTemplateReference A reference to a resource or resource template definition
ResourceUpdatedNotificationParams Parameters for a notifications/resources/updated notification
Result Common result fields
        CallToolResult The result returned by the server for a tools/call request
        CancelTaskResult The result returned for a tasks/cancel request
        CompleteResult The result returned by the server for a completion/complete request
        CreateMessageResult The result returned by the client for a sampling/createMessage request
        CreateTaskResult The result returned for a task-augmented request
        ElicitResult The result returned by the client for an elicitation/create request
        GetPromptResult The result returned by the server for a prompts/get request
        GetTaskPayloadResult The result returned for a tasks/result request
        GetTaskResult The result returned for a tasks/get request
        InitializeResult The result returned by the server for an initialize request
        ListPromptsResult The result returned by the server for a prompts/list request
        ListResourcesResult The result returned by the server for a resources/list request
        ListResourceTemplatesResult The result returned by the server for a resources/templates/list request
        ListRootsResult The result returned by the client for a roots/list request
        ListTasksResult The result returned for a tasks/list request
        ListToolsResult The result returned by the server for a tools/list request
        ReadResourceResult The result returned by the server for a resources/read request
Root Represents a root directory or file that the server can operate on
RootsCapability Client roots capability
SamplingCapability Client sampling capability
SamplingMessage Describes a message issued to or received from an LLM API
SamplingMessageContentBlock A union of content types valid in sampling messages
SchemaItems JSON Schema items expression used by enum multi-select schemas
SchemaProperties Named JSON Schema property map used by vendor fixtures
ServerCapabilities Capabilities that a server may support
ServerNotification A union of all notifications that can be sent by a server
ServerRequest A union of all requests that can be sent by a server
ServerResult A union of all result types that a server can return
SetLevelRequestParams Parameters for a logging/setLevel request
SingleSelectEnumSchema A union of single-select enum schema types
StringSchema String schema definition
StructuredContentData Structured content object returned by tools
SubscribeRequestParams Parameters for a resources/subscribe request
Task Data associated with a task
TaskMetadata Metadata for augmenting a request with task execution
TaskRequestCapabilities Task request capability map
TasksCapability Task capability object
TaskStatusNotificationParams Parameters for a notifications/tasks/status notification
TextContent Text provided to or from an LLM
TextResourceContents Text resource contents
TitledMultiSelectEnumSchema Multi-selection enum with display titles for each option
TitledSingleSelectEnumSchema Single-selection enum with display titles for each option
Tool Definition for a tool the client can call
ToolAnnotations Additional properties describing a Tool to clients
ToolChoice Controls tool selection behavior for sampling requests
ToolExecution Execution-related properties for a tool
ToolInput Tool input payload
ToolResultContent The result of a tool use, provided by the user back to the assistant
ToolsCapability Server tools capability
ToolUseContent A request from the assistant to call a tool
UnsubscribeRequestParams Parameters for a resources/unsubscribe request
UntitledMultiSelectEnumSchema Multi-selection enum without display titles
UntitledSingleSelectEnumSchema Single-selection enum without display titles
URLElicitation URL-based elicitation request payload carried in error data

Slots

Slot Description
_meta Optional metadata object
a JSON Schema property for key a
action The user action in response to the elicitation
additionalProperties JSON Schema additionalProperties flag
age Age value
annotations Optional annotations for the client
anyOf JSON Schema anyOf entries
apps_extension Extension capability entry for app mime types
argument The argument's information
arguments Arguments for templating
audience Describes who the intended audience of this object or data is
b JSON Schema property for key b
blob A base64-encoded string representing binary data
capabilities Capabilities object
city City value
clientInfo Information about the client implementation
code The error type that occurred
completion The completion result object
conditions Weather conditions description
const JSON Schema const value
content Structured content block of a message or result
contents The resource contents
context Optional completion context
costPriority How much to prioritize cost when selecting a model (0-1)
createdAt ISO 8601 timestamp when the task was created
cursor An opaque token representing the current pagination position
data Base64-encoded binary data
default Default value for a schema field
default_value Default value for a schema field
description A human-readable description
destructiveHint If true, the tool may perform destructive updates
details Nested log details object
elicitation Elicitation capability object
elicitationId The ID of the elicitation
elicitations URL elicitation entries included in error data
email Email value
enum Array of enum values
enum_values Array of enum values
enumNames Display names for enum values (legacy)
error The error object
execution Execution-related properties for a tool
experimental Experimental capability extensions
extensions Implementation-specific extension capabilities
format String format constraint
framework Framework value
hasMore Indicates whether there are additional completion options
hints Optional hints to use for model selection
host Host value
humidity Humidity percentage value
icons Optional set of sized icons that the client can display in a user interface
id Uniquely identifying ID for a JSON-RPC request
idempotentHint If true, calling repeatedly with same arguments has no additional effect
includeContext A request to include context from one or more MCP servers
input The arguments to pass to the tool
inputSchema A JSON Schema object defining the expected parameters for the tool
instructions Instructions describing how to use the server and its features
intelligencePriority How much to prioritize intelligence when selecting a model (0-1)
isError Whether the tool call ended in an error
items JSON Schema items definition
jsonrpc JSON-RPC version string
language Programming language value
lastModified The moment the resource was last modified, as an ISO 8601 formatted string
lastUpdatedAt ISO 8601 timestamp when the task was last updated
level The severity of a log message
listChanged Whether notifications for list changes are supported
location Location value
logger An optional name of the logger issuing this message
maximum Maximum value constraint
maxItems Maximum number of items
maxLength Maximum length constraint
maxTokens The requested maximum number of tokens to sample
message A message string
messages Messages for sampling
method The JSON-RPC method name
mimeType The MIME type of a resource, if known
mimeTypes MIME types supported by an extension capability
minimum Minimum value constraint
minItems Minimum number of items
minLength Minimum length constraint
mode The elicitation mode
model The name of the model that generated the message
modelPreferences Model preferences for sampling
name Intended for programmatic or logical use, but used as a display name in past ...
nextCursor An opaque token representing the pagination position after the last returned ...
oneOf JSON Schema oneOf entries
openWorldHint If true, tool may interact with an open world of external entities
outputSchema An optional JSON Schema object defining the structure of the tool's output
params JSON-RPC parameters payload
pollInterval Suggested polling interval in milliseconds
port Port value
priority How important this data is for operating the server
progress The progress thus far
progressToken The progress token which was given in the initial request, used to associate ...
prompts The list of prompts
properties JSON Schema properties map
protocolVersion The version of the Model Context Protocol
readOnlyHint If true, the tool does not modify its environment
reason An optional string describing the reason
ref A prompt or resource template reference
requestedSchema A restricted subset of JSON Schema
requestId The ID of a request
requests Task request capabilities
required Whether this argument must be provided
required_field Whether this argument must be provided
required_list JSON Schema required property list
resource The embedded resource contents (text or blob)
resources The list of resources
resourceTemplates The list of resource templates
result JSON-RPC successful result payload
role The role of the sender or recipient
roots The list of roots
sampling Sampling capability object
schemaUri Optional JSON Schema dialect identifier
serverInfo Information about the server implementation
size The size of the raw resource content, in bytes
sizes Optional array of strings specifying sizes (WxH format or "any")
speedPriority How much to prioritize sampling speed when selecting a model (0-1)
src A standard URI pointing to an icon resource
status Current task state
statusMessage Optional human-readable message describing the current task state
stopReason The reason why sampling stopped, if known
stopSequences Stop sequences for sampling
structuredContent An optional JSON object representing structured result of the tool call
subscribe Whether subscribing to resource updates is supported
systemPrompt An optional system prompt the server wants to use for sampling
task Task data
taskId The task identifier
tasks The list of tasks
taskSupport Whether this tool supports task-augmented execution
temperature Sampling temperature
text Text content
theme Optional theme specifier for the icon
title Intended for UI and end-user contexts — optimized to be human-readable and ea...
toolChoice Controls how the model uses tools
tools The list of tools
toolUseId The ID of the tool use this result corresponds to
total Total number of items to process (or total progress required), if known
ttl Actual retention duration from creation in milliseconds, null for unlimited
type Type discriminator field
uri A resource URI
uriTemplate A URI template (RFC 6570) for constructing resource URIs
url The URL that the user should navigate to
value A value string
values An array of completion values
version The version of this implementation
websiteUrl An optional URL of the website for this implementation

Enumerations

Enumeration Description
ElicitActionEnum User action in response to an elicitation
IconThemeEnum Theme specifier for an icon
IncludeContextEnum Context inclusion mode for sampling requests
LoggingLevel The severity of a log message
NumberTypeEnum Number type discriminator
Role The sender or recipient of messages and data in a conversation
StringFormatEnum String format constraints
TaskStatusEnum The status of a task
TaskSupportEnum Indicates whether a tool supports task-augmented execution
ToolChoiceModeEnum Controls tool selection behavior for sampling requests

Types

Type Description
Boolean A binary (true or false) value
Curie a compact URI
Cursor An opaque token used to represent a cursor for pagination
Date a date (year, month and day) in an idealized calendar
DateOrDatetime Either a date or a datetime
Datetime The combination of a date and time
Decimal A real number with arbitrary precision that conforms to the xsd:decimal speci...
Double A real number that conforms to the xsd:double specification
Float A real number that conforms to the xsd:float specification
Integer An integer
Jsonpath A string encoding a JSON Path
Jsonpointer A string encoding a JSON Pointer
JsonValue Any JSON-serializable value
Ncname Prefix part of CURIE
Nodeidentifier A URI, CURIE or BNODE that represents a node in a model
Objectidentifier A URI or CURIE that represents an object in the model
ProgressToken A progress token, used to associate progress notifications with the original ...
RequestId A uniquely identifying ID for a request in JSON-RPC
Sparqlpath A string encoding a SPARQL Property Path
String A character string
Time A time object represents a (local) time of day, independent of any particular...
Uri a complete URI
Uriorcurie a URI or a CURIE

Subsets

Subset Description