Steps
Connect an MCP-capable AI assistant (OpenCode, Claude Code, OpenAI Codex or another client) to your wiki's MCP endpoint.
- Obtain the endpoint URL from your wiki administrator.
- Configure your MCP client with the endpoint URL.
- Complete the OAuth login flow when prompted. Your client will open a browser or display a URL to authenticate.
- 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.