Wiki source code of MCP Server

Last modified by Vincent Massol on 2026/09/04 19:23

Show last authors
1 The MCP server of the [[LLM Application>>doc:extensions:Extension.LLM.WebHome]] has no compile-time knowledge of its own tools: each tool is an XWiki component, so any module can contribute one without the server changing.
2
3 [[Architecture>>doc:documentation.extensions.dev.llm.mcp-server.architecture.WebHome]] describes the four layers a tool call passes through. [[MCP Tool API>>doc:documentation.extensions.dev.llm.mcp-server.mcp-tool-api.WebHome]] documents the extension point itself, [[MCPToolSupport>>doc:documentation.extensions.dev.llm.mcp-server.tool-support.WebHome]] the declarative layer a tool declares its parameters with, and [[Tool Man Pages>>doc:documentation.extensions.dev.llm.mcp-server.man-pages.WebHome]] what a tool prints for the model that reads it.
4
5 [[Create a New MCP Tool>>doc:documentation.extensions.dev.llm.mcp-server.create-mcp-tool.WebHome]] walks through implementing one and [[Test an MCP Tool>>doc:documentation.extensions.dev.llm.mcp-server.test-tool.WebHome]] through testing it. [[Access Doors>>doc:documentation.extensions.dev.llm.mcp-server.access-doors.WebHome]] is the authorization API every tool has to go through instead of resolving references on its own, and [[Farm Script Service>>doc:documentation.extensions.dev.llm.mcp-server.farm-script-service.WebHome]] is the Script API the farm dashboard administers wikis with.

Get Connected