Skip to content
Home About Services Portfolio Blog Contact Get Started
AI & Automation

XWiki MCP Server AI Wiki Knowledge: Give Agents Your Wiki Without Giving Away Control

Written by

MTD Technologies

Published
Read Time 9 min
XWiki MCP server AI wiki knowledge illustration

If your team’s knowledge lives in XWiki, the XWiki MCP server AI wiki knowledge extension is the most controlled way yet to let an AI agent actually use it. This free, open-source beta connects XWiki to Claude Code, Codex, OpenCode, Pi, Microsoft Copilot and any other tool speaking the Model Context Protocol (MCP) — a governed front door into the wiki you already run, instead of copied pages or intranet scraping.

That distinction matters. Most teams have a knowledge-access problem, not a knowledge problem: procedures are written down, but sit behind a search box nobody enjoys using, while the AI assistant everyone actually asks has never seen them. This review covers what it does, what it costs, and its limits.

The verdict up front: for any business already running XWiki, this is the first AI integration worth piloting, provided you start read-only. It is not a finished enterprise product, but its defaults are the right way round — writes off, permissions inherited, self-hosting possible.

What the XWiki MCP Server AI Wiki Knowledge Setup Actually Is

MCP is an open standard introduced by Anthropic in late 2024 for connecting AI applications to external tools and data — one standard connector instead of a custom integration for every source. An MCP server speaks that protocol and exposes tools an agent can call: search this, read that, create this page.

The XWiki MCP Server is that connector for XWiki, a long-established open-source wiki platform — around for more than 20 years — used for documentation spaces, intranets and procedures, including structured applications built with App Within Minutes. The extension lets an agent search, read, create and edit wiki content through a standard endpoint, instead of screen-scraping or a bespoke API integration you must maintain.

Two design choices define it. First, it is optional and self-hostable: you decide whether to install it, which model to use, and where everything runs — combine self-hosted XWiki with a self-hosted model and knowledge, server and agent can all stay on infrastructure you control. Second, it inherits XWiki’s permission model: the agent gets the same permissions as its connecting user account, with no back door to unseen pages.

XWiki MCP server AI wiki knowledge illustration

What It Does: Search, Read, Edit and Structured Data

In practical terms, an agent connected through the server can find information, create or edit pages, work with structured data, and build a structured application. That last point separates it from a simple document reader: because XWiki supports structured data, agents work with objects and classes, not just page text. Per XWiki SAS’s Q3 2026 updates, agents can now read, write and delete pages, objects, classes and attachments, and access page history and backlinks.

Consider what that unlocks. A support agent could pull the current returns procedure, check whether it changed last month, and follow backlinks to the warranty page, instead of answering from a stale summary. A developer could have an agent draft a runbook from existing procedures for review. An operations lead could find every page referencing a retired supplier, grounded in the wiki rather than guessed.

  • Search and read: find pages and read them, including a rendered version for macro-dependent pages so the agent works with what readers see.
  • Create and edit: draft and update pages, subject to write tools being enabled and the connecting user’s permissions.
  • Structured data: read and write objects and classes, so App Within Minutes applications and structured records are reachable, not just prose.
  • Attachments and context: work with attached documents, page history and backlinks, so answers can be checked against sources.
  • Admin configuration: a settings page replaces editing configuration files, with no restart needed.

Pricing: Free Extension, Real Running Costs

The XWiki MCP Server extension is free and open source, with no per-seat MCP price or paid tier for the extension itself that we could verify from official pages. That is good news, but not the whole cost picture.

Your real costs are the three things around it: hosting XWiki (your own server or XWiki Cloud, a separate paid service), the AI model (a subscription such as Claude or Copilot, or compute for a self-hosted model), and staff time to pilot, permission and audit it. For a business already running XWiki, the incremental cash cost can be near zero with a model subscription you already pay for. Starting from scratch, compare against a hosted tool where one subscription covers hosting, model and support. Open source saves licence fees, not implementation time.

One overlooked cost is token usage: an agent that can search a whole wiki will pull large pages into context on every question, and that shows up on your model bill. A pilot should measure tokens per resolved question, not just whether answers look good.

Who It Is For — and Who Should Wait

This tool fits teams that already live in XWiki: engineering departments with runbooks, support teams with procedures, professional services firms with playbooks, and any organisation whose intranet is a wiki rather than shared documents. It also fits regulated or privacy-conscious teams that want AI help without exporting their knowledge base to a vendor’s cloud.

It is a weaker fit if you do not already use XWiki: migrating a knowledge base just for this extension would be backwards. Nor is it yet right for a team needing guaranteed uptime, a service-level agreement and vendor support; a beta cannot promise that. If your wiki is small, a well-organised wiki plus good search may serve better until the beta matures.

XWiki MCP server AI wiki knowledge gateway illustration

Watch-Outs and Honest Limitations

The strongest safety feature is also the first thing to verify: write tools are disabled by default, and every non-write tool is selected by default. A careless install therefore gives you a read-only agent, not one that can rewrite procedures overnight. Keep it that way for the pilot; enable writes only for a named service account, on a test space, with human review — and only after watching what the agent does while merely reading.

Permissions deserve the same care. The agent sees what its connecting user sees, so a broadly privileged service account quietly defeats the whole model. Create a dedicated account with the minimum spaces it needs, and review its rights as you would a new employee’s. Guest access is off by default and should stay off for internal wikis; guests get read tools only, and there is rarely a reason to expose internal procedures to unauthenticated agents.

One subtler risk is the rendered-content option, on by default. It lets the agent work with pages as readers see them, including macro output — but rendered content executes macros with the page author’s rights, exactly as viewing does. That is consistent behaviour, not a bug, yet macro-heavy pages deserve review first. And the beta label itself is a limitation: features and screens may change, so expect to revisit your setup after updates.

Finally, do not confuse the official extension with an earlier third-party bridge exposing just three tools — search, get a page, create a page — over basic authentication. The official beta is fuller, with admin configuration and structured-data support; a tutorial describing only those three tools describes the old bridge.

How It Compares to the Alternatives

The obvious alternative is open RAG: chunk your wiki, embed it, and let a chatbot answer from the chunks. That works, but it creates a second copy of your knowledge that drifts out of date, inherits none of your wiki permissions unless you rebuild them, and cannot write anything back. The MCP server reads the live wiki, respects its permissions, and can update it — live access beats a frozen index for a knowledge base that changes weekly.

Hosted competitors such as Confluence with AI features are smoother and supported — but they move your knowledge into their cloud and charge per seat. A generic MCP file or database server is cheaper, yet gives the agent raw files with no understanding of wiki structure, history or macros. XWiki’s extension sits between those poles: less polished than a hosted suite, far more wiki-aware than a generic connector, and under your control throughout.

Setting It Up in an Afternoon

  1. Install the extension on a test XWiki instance first, never directly on production. Confirm the beta version and read its release notes.
  2. Open administration, Other, MCP Server. If the configuration is reported as not trusted, reset it and take ownership so defaults apply under your account.
  3. Leave write tools off. Confirm the endpoint is enabled, guest access is off, and only read tools are exposed for the pilot.
  4. Create a dedicated agent user with access to one test space only, and connect your MCP client — Claude Code, Codex, OpenCode or Pi — using that account.
  5. Copy the endpoint URL from the administration page, checking the case-sensitive wiki identifier, and confirm the client connects successfully.
  6. Run ten real questions from your own procedures, check every answer against its source page, and measure token usage before widening access.

From Our Experience: Pilot It Like a New Hire, Not a Plugin

Across more than nine years and 300-plus projects, the pattern with internal AI tools is consistent: the technology decision is easy; governance is where projects succeed or quietly fail. Treat an agent with wiki access like a new hire — start it on one team, review early work, widen access as it proves reliable — not with write access to every procedure on day one.

Two gotchas are worth naming. First, agents find the answering page well but rarely notice when it is out of date; page history helps only if someone checks it, so ask the agent to cite the page and its last-modified date for anything operational. Second, structured data cuts both ways: an agent that can edit objects and classes can fix a broken record in seconds — or corrupt a structured application faster than a human typing. Hence writes stay off until you have a backup and rollback plan. If your team wants help scoping that pilot, our AI integration and automation team does controlled rollouts — reach us via our contact page, or browse similar launches in our AI Tools Directory.

Frequently Asked Questions

Is the XWiki MCP Server free?

Yes — a free, open-source extension, currently in beta. You still pay for hosting XWiki and for your AI model, but there is no licence fee for the extension itself.

Can an agent edit or delete wiki pages through it?

Only if you enable the write tools. They are disabled by default, and the agent stays bounded by its connecting user’s permissions. Start read-only; enable writes deliberately, for a limited account, on test spaces.

Which AI tools work with the XWiki MCP Server?

Any MCP-compatible client, including Claude Code, Codex, OpenCode, Pi and Microsoft Copilot. Connect the client to your wiki’s MCP endpoint URL and it discovers the tools the wiki exposes.

Does it send my wiki content to a cloud model?

That depends on the model you choose, not the server. A cloud model receives the pages it reads; self-host XWiki and the model together and everything can stay on infrastructure you control.

Should we enable guest access for the MCP endpoint?

No, not for an internal wiki. Guest access is off by default and guests get read tools only; keep the endpoint behind an authenticated account with minimum permissions.

The Bottom Line

The XWiki MCP server AI wiki knowledge extension does one thing well: it lets assistants your team already uses read — and, when you choose, update — the knowledge base you already maintain, without a second copy, a new cloud vendor or a permissions bypass. Its beta status means pilot it, not bet a department on it tomorrow: start read-only, on a test space, with a dedicated account, and judge it on ten real questions with sources checked. If it passes, it is the most sensible AI upgrade available to an XWiki team today. For help running that pilot safely, talk to MTD Technologies.