Reference
The MCP server can be used to give an LLM-based agent access to data that is indexed in the index for the LLM application. For example, a coding agent could use this to access technical documentation in the wiki.
Authentication
The MCP uses XWiki's configured authentication method(s). By default, it doesn't ask for authentication which makes it possible to also query collections that are available to guests. An authentication header, e.g., for basic auth can be used to authenticate the user using the configured authentication method in XWiki.
When the OpenID Connect Provider extension is installed:
- Access for guest users is denied.
- The OpenID connect provider is indicated as the authentication method.
- The MCP client should trigger an authentication flow to obtain an authentication token.
For the OpenID Connect Provider to work properly, "Set authentication service" must be changed to "Token based authenticator" (see "Choose the authenticator") in Administer Wiki > Users & Rights > Authentication. You can set up a fallback authenticator by following the instructions on the OpenID Connect Provider page.
FAQ
Is the MCP server always available when the LLM application is installed?
No, the MCP server currently isn't installed as a dependency of any other extension of the LLM extension and needs to be installed explicitly to be available.
More
To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.