Skip to content

Support for 2025-11-25 protocol version

Latest

Choose a tag to compare

@wommel0 wommel0 released this 04 Jun 19:26
· 1 commit to main since this release
56bb820
  • Support for 2025-11-25 protocol version
  • Tasks: background task lifecycle with tasks/list, tasks/get, tasks/result, and tasks/cancel
    • ZCL_MCP_TASKS persists tasks in new ZMCP_TASKS table
    • ZIF_MCP_TASK_EXECUTOR connects tools to background jobs/RFCs
    • ZMCP_CLEAR_MCP_TASKS deletes expired task records
  • Completion: completion/complete endpoint for prompt and resource-template argument autocomplete
  • DDIC Schema Builder: ZCL_MCP_SCHEMA_BUILDER_DDIC auto-generates JSON schemas from DDIC structures
  • Tools: optional output_schema declaration and task_support execution mode on tool definitions
  • Prompts, resources, tools, and server info now support 2025-11-25 metadata additions such as titles, annotations, and icons
  • New demos: ZCL_MCP_DEMO_SERVER_DDIC and ZMCP_DEMO_BG_TASK

! BREAKING (MCP-managed sessions only): MCP sessions are now bound to the creating user
(new CREATED_BY column in ZMCP_SESSIONS). This only affects servers using ZCL_MCP_SESSION-based
session management; stateless and ICF-session servers are unaffected.
Existing session records will have an empty CREATED_BY after table conversion and will be rejected.
Run ZMCP_CLEAR_MCP_SESSIONS before activating the new code to prevent unexpected session errors
for connected clients.

! BREAKING: ZCL_MCP_RESP_INITIALIZE capabilities structure changed.
The PROMPTS, RESOURCES, and TOOLS fields in the CAPABILITIES type changed from ABAP_BOOL to nested
structs (PROMPTS_CAPABILITY, RESOURCES_CAPABILITY, TOOLS_CAPABILITY). Replace direct boolean
assignments such as CAPABILITIES-PROMPTS = ABAP_TRUE with CAPABILITIES-PROMPTS-ENABLED = ABAP_TRUE.

! BREAKING: Local ANNOTATIONS types removed from response classes.
ZCL_MCP_RESP_CALL_TOOL=>ANNOTATIONS, ZCL_MCP_RESP_GET_PROMPT=>ANNOTATIONS,
ZCL_MCP_RESP_LIST_RESOURCES=>ANNOTATIONS, and ZCL_MCP_RESP_LIST_RES_TMPL=>ANNOTATIONS have been
removed. Replace any references with ZIF_MCP_TYPES=>ANNOTATIONS (structure is identical).

! BREAKING: Batch JSON-RPC API removed from ZCL_MCP_JSONRPC.
PARSE_BATCH_REQUEST, SERIALIZE_BATCH_RESPONSE, and the REQUESTS/RESPONSES table types have been
removed. Batch processing was never part of the MCP specification and is not supported by clients.