Connect an AI Assistant

Version 1.6 by gabrielc on 2026/07/14 10:28

Steps

Connect an MCP-capable AI assistant (OpenCode, Claude Code, OpenAI Codex or another client) to your wiki's MCP endpoint.

  1. Obtain the endpoint URL from your wiki administrator.
  2. Configure your MCP client with the endpoint URL.
  3. Complete the OAuth login flow when prompted. Your client will open a browser or display a URL to authenticate.
  4. Once connected, ask the agent to list all available tools in the XWiki MCP server.

 

FAQ

How does the endpoint URL look like?

The endpoint URL looks like this: https://your-xwiki.example.com/rest/wikis/{wiki}/aiLLM/mcp

Replace {wiki} with the wiki id. By default, the id for the main wiki is xwiki.

I got a 404 error, what should I do now?

A 404 error indicates that the endpoint is turned off for that wiki or the URL is wrong. Please contact your administrator.

I got a 401 error, what should I do now?

A 401 error indicates that authentication is required. Complete the OAuth flow your AI assistant offers.

More

To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.

Related

Get Connected