Skip to content
Closed
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
41 changes: 38 additions & 3 deletions docs/reference/server-json/server.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@
"$ref": "#/definitions/StdioTransport"
},
{
"$ref": "#/definitions/StreamableHttpTransport"
"$ref": "#/definitions/PackageStreamableHttpTransport"
},
{
"$ref": "#/definitions/SseTransport"
"$ref": "#/definitions/PackageSseTransport"
}
],
"description": "Transport protocol configuration for the package"
Expand Down Expand Up @@ -371,7 +371,8 @@
},
"url": {
"type": "string",
"description": "URL template for the streamable-http transport. Variables in {curly_braces} reference argument valueHints, argument names, or environment variable names. After variable substitution, this should produce a valid URI.",
"format": "uri",
"description": "Streamable-http endpoint URL",
"example": "https://api.example.com/mcp"
},
"headers": {
Expand Down Expand Up @@ -413,6 +414,40 @@
}
}
},
"PackageStreamableHttpTransport": {
"allOf": [
{
"$ref": "#/definitions/StreamableHttpTransport"
},
{
"properties": {
"url": {
"type": "string",
"pattern": "^https?://[^\\s]+$",
"description": "URL template for the streamable-http transport. Variables in {curly_braces} reference argument valueHints, argument names, or environment variable names. After variable substitution, this should produce a valid URI.",
"example": "https://api.example.com:{port}/mcp"
}
}
}
]
},
"PackageSseTransport": {
"allOf": [
{
"$ref": "#/definitions/SseTransport"
},
{
"properties": {
"url": {
"type": "string",
"pattern": "^https?://[^\\s]+$",
"description": "URL template for the sse transport. Variables in {curly_braces} reference argument valueHints, argument names, or environment variable names. After variable substitution, this should produce a valid URI.",
"example": "https://mcp-fs.example.com:{port}/sse"
}
}
}
]
},
"ServerDetail": {
"description": "Schema for a static representation of an MCP server. Used in various contexts related to discovery, installation, and configuration.",
"allOf": [
Expand Down
Loading