Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 63 additions & 67 deletions mcp/mcp-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,23 +332,17 @@
"description": "Present if the client supports elicitation from the server.",
"properties": {
"form": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject"
},
"url": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject"
}
},
"type": "object"
},
"experimental": {
"additionalProperties": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject"
},
"description": "Experimental, non-standard capabilities that the client supports.",
"type": "object"
Expand Down Expand Up @@ -376,16 +370,12 @@
"description": "Present if the client supports sampling from an LLM.",
"properties": {
"context": {
"additionalProperties": true,
"description": "Whether the client supports context inclusion via `includeContext` parameter.\nIf not declared, servers SHOULD only use `includeContext: \"none\"` (or omit it).",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether the client supports context inclusion via `includeContext` parameter.\nIf not declared, servers SHOULD only use `includeContext: \"none\"` (or omit it)."
},
"tools": {
"additionalProperties": true,
"description": "Whether the client supports tool use via `tools` and `toolChoice` parameters.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether the client supports tool use via `tools` and `toolChoice` parameters."
}
},
"type": "object"
Expand All @@ -394,16 +384,12 @@
"description": "Present if the client supports task-augmented requests.",
"properties": {
"cancel": {
"additionalProperties": true,
"description": "Whether this client supports {@link CancelTaskRequesttasks/cancel}.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether this client supports {@link CancelTaskRequesttasks/cancel}."
},
"list": {
"additionalProperties": true,
"description": "Whether this client supports {@link ListTasksRequesttasks/list}.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether this client supports {@link ListTasksRequesttasks/list}."
},
"requests": {
"description": "Specifies which request types can be augmented with tasks.",
Expand All @@ -412,10 +398,8 @@
"description": "Task support for elicitation-related requests.",
"properties": {
"create": {
"additionalProperties": true,
"description": "Whether the client supports task-augmented {@link ElicitRequestelicitation/create} requests.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether the client supports task-augmented {@link ElicitRequestelicitation/create} requests."
}
},
"type": "object"
Expand All @@ -424,10 +408,8 @@
"description": "Task support for sampling-related requests.",
"properties": {
"createMessage": {
"additionalProperties": true,
"description": "Whether the client supports task-augmented `sampling/createMessage` requests.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether the client supports task-augmented `sampling/createMessage` requests."
}
},
"type": "object"
Expand Down Expand Up @@ -752,10 +734,8 @@
"type": "array"
},
"metadata": {
"additionalProperties": true,
"description": "Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific."
},
"modelPreferences": {
"$ref": "#/$defs/ModelPreferences",
Expand Down Expand Up @@ -1604,7 +1584,7 @@
"$ref": "#/$defs/ServerCapabilities"
},
"instructions": {
"description": "Instructions describing how to use the server and its features.\n\nThis can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a \"hint\" to the model. For example, this information MAY be added to the system prompt.",
"description": "Instructions describing how to use the server and its features.\n\nInstructions should focus on information that helps the model use the server effectively (e.g., cross-tool relationships, workflow patterns, constraints), but should not duplicate information already in tool descriptions.\n\nClients MAY add this information to the system prompt.",
"type": "string"
},
"protocolVersion": {
Expand Down Expand Up @@ -1730,6 +1710,18 @@
],
"type": "object"
},
"JSONArray": {
"items": {
"$ref": "#/$defs/JSONValue"
},
"type": "array"
},
"JSONObject": {
"additionalProperties": {
"$ref": "#/$defs/JSONValue"
},
"type": "object"
},
"JSONRPCErrorResponse": {
"description": "A response to a request that indicates an error occurred.",
"properties": {
Expand Down Expand Up @@ -1845,6 +1837,26 @@
],
"type": "object"
},
"JSONValue": {
"anyOf": [
{
"$ref": "#/$defs/JSONObject"
},
{
"items": {
"$ref": "#/$defs/JSONValue"
},
"type": "array"
},
{
"type": [
"string",
"integer",
"boolean"
]
}
]
},
"LegacyTitledEnumSchema": {
"description": "Use {@link TitledSingleSelectEnumSchema} instead.\nThis interface will be removed in a future version.",
"properties": {
Expand Down Expand Up @@ -3333,16 +3345,12 @@
"description": "Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.",
"properties": {
"completions": {
"additionalProperties": true,
"description": "Present if the server supports argument autocompletion suggestions.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Present if the server supports argument autocompletion suggestions."
},
"experimental": {
"additionalProperties": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject"
},
"description": "Experimental, non-standard capabilities that the server supports.",
"type": "object"
Expand All @@ -3357,10 +3365,8 @@
"type": "object"
},
"logging": {
"additionalProperties": true,
"description": "Present if the server supports sending log messages to the client.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Present if the server supports sending log messages to the client."
},
"prompts": {
"description": "Present if the server offers any prompt templates.",
Expand Down Expand Up @@ -3390,16 +3396,12 @@
"description": "Present if the server supports task-augmented requests.",
"properties": {
"cancel": {
"additionalProperties": true,
"description": "Whether this server supports {@link CancelTaskRequesttasks/cancel}.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether this server supports {@link CancelTaskRequesttasks/cancel}."
},
"list": {
"additionalProperties": true,
"description": "Whether this server supports {@link ListTasksRequesttasks/list}.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether this server supports {@link ListTasksRequesttasks/list}."
},
"requests": {
"description": "Specifies which request types can be augmented with tasks.",
Expand All @@ -3408,10 +3410,8 @@
"description": "Task support for tool-related requests.",
"properties": {
"call": {
"additionalProperties": true,
"description": "Whether the server supports task-augmented {@link CallToolRequesttools/call} requests.",
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONObject",
"description": "Whether the server supports task-augmented {@link CallToolRequesttools/call} requests."
}
},
"type": "object"
Expand Down Expand Up @@ -4023,9 +4023,7 @@
},
"properties": {
"additionalProperties": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONValue"
},
"type": "object"
},
Expand Down Expand Up @@ -4057,9 +4055,7 @@
},
"properties": {
"additionalProperties": {
"additionalProperties": true,
"properties": {},
"type": "object"
"$ref": "#/$defs/JSONValue"
},
"type": "object"
},
Expand Down
Loading