Wiki source code of MCP Specification Compliance

Last modified by gabrielc on 2026/11/13 11:53

Show last authors
1 How the MCP server of the [[LLM Application>>doc:extensions:Extension.LLM.WebHome]] version 1.0.0 matches the [[Model Context Protocol specification>>https://modelcontextprotocol.io/specification/2026-07-28]]. The latest revision of the specification is 2026-07-28. The server implements revisions 2025-03-26, 2025-06-18 and 2025-11-25 through the MCP Java SDK, and answers a client with the revision it asks for, or with 2025-11-25 when it doesn't support that revision.
2
3 |=Feature |=Specification |=Status |=Notes
4 |Streamable HTTP transport|Required|Supported|One endpoint per wiki: ##/rest/wikis/<wiki>/aiLLM/mcp##.
5 |Version negotiation (##initialize##)|Required up to 2025-11-25|Supported|
6 |Stateless requests (##server/discover##, version in ##_meta##)|Required in 2026-07-28|Not supported|Clients have to start with ##initialize##.
7 |Sessions (##Mcp-Session-Id##)|Optional, removed in 2026-07-28|Not used|Each request stands alone. ##GET## and ##DELETE## answer ##405##.
8 |Server-sent event streams|Optional|Not supported|Each response is a single ##application/json## body.
9 |##ping##|Required up to 2025-11-25|Supported|
10 |Cancellation and progress notifications|Optional|Not supported|
11 |Protected resource metadata (RFC 9728)|Required|Supported|Served when the XWiki OpenID Connect Provider is installed.
12 |##WWW-Authenticate## challenge on ##401##|Required|Supported|Points to the protected resource metadata.
13 |Bearer token validation|Required|Delegated|The XWiki OpenID Connect Provider validates the token.
14 |Scope challenge (##insufficient_scope##)|Recommended|Not supported|Access follows the XWiki rights of the user, not token scopes.
15 |Tools (##tools/list##, ##tools/call##)|Optional|Supported|See [[MCP Tools>>doc:documentation.extensions.user.llm.mcp-server.tools.WebHome]].
16 |Tool input schemas|Required for tools|Supported|The server checks each schema when it registers the tool and skips an invalid one.
17 |Tool execution errors (##isError##)|Required for tools|Supported|An unexpected failure becomes a generic error result.
18 |Output schemas and structured content|Optional|Not supported|Tools return text content.
19 |Tool annotations (##readOnlyHint##, ##destructiveHint##)|Optional|Not supported|
20 |Tool titles and icons|Optional|Not supported|
21 |Tool list change notifications|Optional|Not supported|Clients see a changed tool list on their next ##tools/list##.
22 |Pagination|Optional|Not supported|##tools/list## returns every tool at once.
23 |Server instructions|Optional|Supported|Taken from the server description in the configuration.
24 |Resources|Optional|Not supported|
25 |Prompts|Optional|Not supported|
26 |Completion|Optional|Not supported|
27 |Logging|Optional, deprecated in 2026-07-28|Not supported|
28 |Sampling, elicitation and roots|Optional|Not supported|These need requests from the server to the client.
29 |Tasks|Optional|Not supported|

Get Connected