Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9400bfb
Format project files the way curb 0.14 does
Mpdreamz Nov 12, 2026
34ff682
Move the nullean libraries and tools to the latest releases
Mpdreamz Nov 12, 2026
1c1811f
Match the MCP handshake journey to the SSE rendering of the new Nulle…
Mpdreamz Nov 12, 2026
5a9da57
Bring the other dependencies and dotnet tools up to date
Mpdreamz Nov 12, 2026
4400b92
Test that Slugify returns an empty string for null input
Mpdreamz Nov 12, 2026
985c2f4
Keep Slugify.Core on 4.0.1
Mpdreamz Nov 12, 2026
58d18f7
Take Elastic.OpenTelemetry 1.7 and stop using ReadOnlyMemoryStream in…
Mpdreamz Nov 12, 2026
bcda84f
Take RazorSlices 0.12 and leave empty attributes out of the HTML
Mpdreamz Nov 12, 2026
93f381a
Make Slugify() return an empty string for null
Mpdreamz Nov 12, 2026
7c14114
Take ModelContextProtocol 2.4
Mpdreamz Nov 12, 2026
1d9dda7
Offer every MCP protocol version instead of pinning one (#4837)
Mpdreamz Nov 16, 2026
6c8e66e
Merge remote-tracking branch 'origin/main' into chore/bump-dependencies
Mpdreamz Nov 16, 2026
490cdc9
Merge main into chore/bump-dependencies
Mpdreamz Nov 16, 2026
04bd9e6
Merge chore/bump-dependencies into chore/bump-modelcontextprotocol
Mpdreamz Nov 16, 2026
08f5703
Cover a tools/call over the 2026-07-28 protocol
Mpdreamz Nov 16, 2026
2a8f726
Stub the document gateway in the MCP handshake tests
Mpdreamz Nov 16, 2026
e589d5f
Merge main into chore/bump-modelcontextprotocol
Mpdreamz Nov 16, 2026
dabc999
Run the MCP handshake cases one at a time
Mpdreamz Nov 16, 2026
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
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
<PackageVersion Include="Markdig" Version="1.6.0" />
<PackageVersion Include="Mermaider" Version="0.17.0" />
<PackageVersion Include="Microsoft.IdentityModel.Tokens" Version="8.23.0" />
<PackageVersion Include="ModelContextProtocol" Version="1.4.0" />
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="1.4.0" />
<PackageVersion Include="ModelContextProtocol" Version="2.4.0" />
<PackageVersion Include="ModelContextProtocol.AspNetCore" Version="2.4.0" />
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.23.0" />
<PackageVersion Include="NetEscapades.EnumGenerators" Version="1.0.0-beta12" PrivateAssets="all" ExcludeAssets="runtime" />
<PackageVersion Include="Proc" Version="0.22.0" />
Expand Down
5 changes: 3 additions & 2 deletions src/api/Elastic.Documentation.Mcp.Remote/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@
{
options.ServerInstructions = profile.ComposeServerInstructions();
options.ServerInfo = new Implementation { Name = profile.ServiceName, Version = serverVersion };
// Null echoes the client's requested version; pin to the latest we actually support.
options.ProtocolVersion = "2025-11-25";
// ProtocolVersion stays null on purpose: the server then offers every version the SDK supports. An initialize
// client gets the version it asks for. A 2026-07-28 client is served through server/discover. Pinning to
// 2025-11-25 refuses the 2026-07-28 clients, and pinning to 2026-07-28 refuses every initialize client.
})
.WithHttpTransport(o => o.Stateless = true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,34 @@ data:
"result": {
"tools": [
{
"name": "find_docs_inconsistencies",
"name": "search_docs",
"description": "…",
"inputSchema": {
"type": "object",
"properties": {
"topic": {
"query": {
"description": "…",
"type": "string"
},
"focusArea": {
"pageNumber": {
"description": "…",
"type": "integer",
"default": 1
},
"pageSize": {
"description": "…",
"type": "integer",
"default": 10
},
"productFilter": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
},
"sectionFilter": {
"description": "…",
"type": [
"string",
Expand All @@ -52,21 +70,18 @@ data:
}
},
"required": [
"topic"
"query"
]
},
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
},
{
"name": "check_docs_coherence",
"name": "find_related_docs",
"description": "…",
"inputSchema": {
"type": "object",
Expand All @@ -78,7 +93,15 @@ data:
"limit": {
"description": "…",
"type": "integer",
"default": 20
"default": 10
},
"productFilter": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
Expand All @@ -90,63 +113,44 @@ data:
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
},
{
"name": "find_related_docs",
"name": "get_document_by_url",
"description": "…",
"inputSchema": {
"type": "object",
"properties": {
"topic": {
"url": {
"description": "…",
"type": "string"
},
"limit": {
"description": "…",
"type": "integer",
"default": 10
},
"productFilter": {
"includeBody": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
"type": "boolean",
"default": false
}
},
"required": [
"topic"
"url"
]
},
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
},
{
"name": "get_document_by_url",
"name": "analyze_document_structure",
"description": "…",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"description": "…",
"type": "string"
},
"includeBody": {
"description": "…",
"type": "boolean",
"default": false
}
},
"required": [
Expand All @@ -158,85 +162,63 @@ data:
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
},
{
"name": "search_docs",
"name": "check_docs_coherence",
"description": "…",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"topic": {
"description": "…",
"type": "string"
},
"pageNumber": {
"description": "…",
"type": "integer",
"default": 1
},
"pageSize": {
"limit": {
"description": "…",
"type": "integer",
"default": 10
},
"productFilter": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
},
"sectionFilter": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
"default": 20
}
},
"required": [
"query"
"topic"
]
},
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
},
{
"name": "analyze_document_structure",
"name": "find_docs_inconsistencies",
"description": "…",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"topic": {
"description": "…",
"type": "string"
},
"focusArea": {
"description": "…",
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"url"
"topic"
]
},
"annotations": {
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true
},
"execution": {
"taskSupport": "optional"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
### initialize
# The client asks for an older protocol version than the one the server pins to. If the pinning regresses, the SDK
# echoes the client's version and the snapshot shows it.
# What most MCP clients send today. Mcp.Remote.Tests covers the other protocol versions.
POST /docs/_mcp
Content-Type: application/json
Accept: application/json, text/event-stream
Expand All @@ -10,7 +9,7 @@ Accept: application/json, text/event-stream
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"protocolVersion": "2025-11-25",
"capabilities": {},
"clientInfo": { "name": "journey-test", "version": "1.0.0" }
}
Expand Down
Loading
Loading