What if your AI assistant could find documentation, retrieve information, and update pages directly in your wiki, without requiring you to move your knowledge to another platform?

That's what we explored during our Tech Thursday session, on the 29th of October.

Gabriel Ciocârlan, Product Manager at XWiki, introduced the XWiki MCP Server. This open-source extension connects AI agents to XWiki through the Model Context Protocol (MCP).

During the session, we looked at how to connect an AI assistant to XWiki, what agents can do with wiki content, and how organizations can manage permissions and access. The discussion also raised questions about authentication, semantic search, enterprise deployments, security, and future development.

If you missed the session or want to revisit a particular topic, here's a recap, followed by answers to the participants' questions.

Watch the webinar recording

In this Tech Thursday session, Gabriel Ciocârlan, Product Manager at XWiki, walks you through the setup and shows the MCP Server in action using OpenCode.

What is the XWiki MCP Server?

The XWiki MCP Server is an open-source extension that lets organizations connect AI agents to the knowledge they already manage in XWiki. They don't need to move their content to another platform or commit to a particular AI provider.

It uses the Model Context Protocol (MCP), an open standard that connects AI applications to external systems and tools. Rather than building a separate integration for every AI assistant, XWiki makes its capabilities available through a common protocol.

An agent connected to XWiki can search documentation, read page content, retrieve attachments, examine version history, and work with structured data. With the appropriate permissions, it can also create and update content.

The server runs as part of XWiki, while organizations remain free to choose their preferred AI client and model. They can host these on their own infrastructure or use an external provider.

This choice is central to why we developed the XWiki MCP Server. AI can be useful for accessing and managing knowledge, but organizations should decide how to introduce it, which tools to trust, and where their information is processed. The extension is optional, self-hostable, and designed to work with XWiki's existing permissions system.

Key takeaways

1. Connect XWiki to your preferred AI assistant

The XWiki MCP Server works with MCP-compatible AI clients, including OpenCode, Claude Code, Codex, Microsoft Copilot, and othersOpen the annotation about this text.. Organizations can choose the language model behind their assistant, whether hosted locally or through an external provider.

This flexibility allows teams to use existing AI tools or experiment with different models without changing their knowledge management platform.

Getting started involves installing the extension, configuring authentication, and connecting the AI client to XWiki's MCP endpoint. The installation guide and AI assistant connection guides walk you through the process.

2. Find and use wiki knowledge through natural language

Looking for an old project decision, a technical specification, or information scattered across several spaces? An AI assistant connected to XWiki can help retrieve it.

Through MCP, agents can search wiki content, navigate documentation hierarchies, and retrieve relevant pages to answer questions.

For example, you could ask an agent to find documentation about a particular feature, summarize a project, or gather information from several pages into a single overview.

The connected AI model retrieves the information through the MCP Server, it interprets it, and generates a response.Open the annotation about this text. The results depend on the quality of the documentation and should be reviewed for accuracy.

3. Work with structured data, attachments, and document history

XWiki's knowledge management capabilities go beyond page content. Documents can include attachments, metadata, version history, and structured objects created through applications.

The MCP Server makes these elements accessible to AI agents through dedicated tools.

For example, an agent can examine changes between document revisions, retrieve attachment information, explore links between pages, or query records maintained through App Within Minutes.

This is particularly useful for organizations managing inventories, project records, or internal processes in XWiki. Agents can work with existing data structures to retrieve and organize information without relying exclusively on unstructured text.

The MCP tools reference provides details about the available operations.

4. Create, update, and maintain documentation

With the appropriate permissions, AI agents can create XWiki pages, edit existing documents, modify structured objects, and manage attachments.

This can help teams turn meeting notes into documentation, update technical instructions after a product change, or reorganize information into a more consistent structure.

Agents can also assist with wiki gardening: reviewing large knowledge bases, spotting potential inconsistencies, identifying pages that may be outdated, and suggesting improvements.

These tasks still require clear instructions and human review, particularly when deciding which information is authoritative.

Write operations are disabled by default. Administrators must explicitly enable the MCP write tools. Changes made through MCP are recorded in XWiki's revision history, so teams can review what was modified.

5. Keep control over what AI agents can access

Security and permissions were among the most discussed topics during the webinar, particularly for organizations managing sensitive information.

The MCP Server follows XWiki's existing permission model. An authenticated agent operates with the permissions of its associated XWiki user. It cannot access documents or perform actions that the user is not authorized to carry out.

Administrators can introduce additional restrictions by selecting the available tools and limiting access to particular spaces or documents.

For example, an organization could give an agent read-only access to technical documentation while excluding confidential HR or financial information. Dedicated service accounts with limited permissions offer another way to manage access.

When connecting external AI providers, organizations should also review how those services process and retain information. XWiki controls access to wiki content, while the AI client's configuration and the provider's policies determine how retrieved information is handled outside XWiki.

Questions and answers from the webinar

The session generated more questions than we could cover live, particularly around security, authentication, permissions, and enterprise integration.

We've consolidated related questions into the following sections while preserving the specific technical concerns raised by participants.

Capabilities and content management

  • Which capabilities are available today, and what is planned for future versions?

    The XWiki MCP Server already allows AI agents to perform many everyday wiki operations using natural language. They can search, create, edit, and delete pages, work with structured objects and classes, and interact with attachments.

    Version 1.0.0 provides 18 built-in tools, with additional semantic search capabilities available through the LLM indexing module. The full list is available in the MCP tools reference.

    Looking ahead, we're exploring deeper AI integration directly into XWiki. One idea is a built-in chat interface that would let users interact with their preferred AI model without leaving the wiki. It could understand the context of the current page and show proposed changes before applying them.

    We're also considering an auditing interface that would make it easier to review AI actions performed across the wiki. These ideas are still being explored, and community feedback will help shape their development.

  • What can an AI agent currently do when working with XWiki?

    AI agents can create, read, edit, search, and delete XWiki pages, provided they have the necessary permissions.

    They can also work with XWiki objects and classes, retrieve document history, inspect links between pages, and interact with attachments.

    For example, you could ask an agent to create a documentation page, update an existing procedure, retrieve a file, or organize information into structured records.

    These operations are available through the MCP Server's tools, so the agent can perform them without manually navigating the XWiki interface.

  • Does the MCP Server support renaming XWiki pages?

    Yes, although the approach depends on what you want to rename.

    If you want to change a page's displayed title, an AI agent can edit it directly.

    Changing the page's URL or reference requires a workaround. The agent can recreate the page at the new location and delete the original.

    This is different from XWiki's native rename operation. If preserving page history, existing links, or other relationships is important, those elements should be checked carefully before using this approach.

  • Can AI agents search XWiki pages by their content?

    The MCP Server uses XWiki's Solr search capabilities, allowing agents to search page content and retrieve relevant results.

    Agents can use the query_documents tool to search the wiki, then retrieve individual pages for further analysis.

    This means they can answer questions based on information distributed across multiple documents instead of relying on a single page.

  • Can an agent search for pages by user, author, or last modifier?

    Agents can filter search results by the last person who modified a page, using the author parameter of the query_documents tool.

    Finding pages by their original creator is also possible through a creator: clause in the search query, since the tool accepts Solr query syntax.

    The available search parameters are documented in the MCP Server's built-in man tool.

  • Can an agent retrieve page metadata and version history?

    Agents can retrieve document metadata, examine previous versions, and compare revisions.

    They can also inspect links, backlinks, and attachment information.

    This can be useful for understanding how documentation has evolved, identifying recent changes, or investigating which pages depend on a particular document.

  • Can agents summarize, rewrite, translate, draft, or improve documentation?

    Once an agent retrieves content from XWiki, it canOpen the annotation about this text. summarize, translate, rewrite, or draft documentation.

    If write tools are enabled and the user has the necessary permissions the agent can also save the resulting content to XWiki. More advanced tasks, such as identifying duplicate, inconsistent, or missing documentation, are possible workflows. However, their accuracy depends on the model, the information retrieved, and the criteria provided.

    💡They should not be treated as guaranteed automatic quality checks. Human review remains important, especially when changes affect shared or business-critical documentation.

  • How can AI identify useful documentation and ignore archived, outdated, or low-quality pages?

    AI agents can use page content, metadata, and document history to help assess which information is relevant.

    However, determining whether a page is authoritative, outdated, or suitable for a particular task depends on how the organization's knowledge is structured.

    For example, teams can use dedicated spaces, consistent document labels, or structured metadata to distinguish active documentation from archived material.

    Agents can then be instructed to prioritize specific sources or exclude certain content.

    Organizations can improve the reliability of these workflows by maintaining clear documentation structures, using consistent lifecycle metadata, and limiting the content available to the agent where appropriate.

    An AI agent can assist with identifying documentation that needs review, but the criteria for what counts as authoritative or outdated should be defined by the organization.

  • Can XWiki identify pages created or modified by AI?

    AI-generated edits are marked with [AI] in XWiki's version history. Changes are also attributed to the user account associated with the agent.

    This allows teams to distinguish MCP-generated modifications from regular edits.

    For organizations that want clearer separation, a dedicated account for AI agents can make their contributions easier to identify.

    This does not mean XWiki automatically detects all AI-generated content. For example, text written with an external AI tool and pasted into a page manually would not necessarily receive the same attribution.

Getting started with the XWiki MCP Server

Want to see what an AI agent can do with your wiki? You can try the MCP Server on your existing XWiki instance or start with a free XWiki demo.

The XWiki MCP Server extension is available through XWiki's Extension Manager. The administrator documentation walks you through installation, authentication, and access configuration. Once everything is set up, follow the AI assistant connection guides to connect your preferred MCP-compatible client.

We recommend starting with read-only access to a selected set of documents. Try searching for information, retrieving page history, or summarizing existing documentation. As you become more familiar with the integration, you can enable additional tools and explore more advanced workflows.

Final thoughts

AI should help people work with their knowledge, while leaving them in control of how it's accessed and used.

As AI becomes part of everyday workflows, organizations need practical ways to make their existing knowledge easier to find, understand, and maintain. That includes choosing which AI tools to use, what information they can access, and which actions they can perform.

With the XWiki MCP Server, teams can introduce AI-assisted workflows into their existing knowledge management environment. They retain control over their data, permissions, and infrastructure.

That wraps up our Tech Thursday webinar on the XWiki MCP Server. If you'd like to explore how AI agents could support your organization's knowledge management workflows, feel free to contact us at via email. You can also schedule a call with our team to discuss your requirements, deployment options, or existing XWiki setup.