There are 2 updates.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-327a6f98-206f-45e8-8809-8b14c99cb97a LLMAI-153 In Progress

MCP architecture refactor

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-7ee8e0a2-4810-41c3-b931-b55a07b313c6 Changes by Paul Pantiru on 10/Jul/26 16:46
 
Version: 0.9
Description: Code duplication extraction Restructure the MCP server internals ahead of the next tool wave (objects, attachments, history), following an architecture audit that found the shared machinery trapped inside individual tools and already being forked by the index module.

The tool-support layer (declarative parameters, result/error builders, text helpers) and the access-door roles are promoted to mcp-api as @Unstable public API so contributing modules reuse them instead of copying. Internally, the duplicated plumbing is extracted into shared pieces: reach-conditional tool schemas, the write scaffold, get_document's rendered-HTML composer, and an authorized HQL row-query door the coming tools will query through. The per-wiki space filter is also cached (invalidated on config saves) instead of re-parsed per document checked.

Behavior-preserving throughout;