Xwiki MCP Server

MCP server for XWiki REST API — full-text Solr search + read/write tools for AI agents

Local serverstdio

What is the Xwiki MCP MCP server?

If you already use Xwiki MCP, the xwiki mcp mcp server is the piece that lets your assistant work with it directly. MCP server for XWiki REST API — full-text Solr search + read/write tools for AI agents.

What the server does

MCP server for XWiki REST API. Lets AI agents (Claude Code, Claude Desktop, etc.) search, read and write your wiki — with proper Solr full-text search, not the half-broken legacy endpoint most clients default to.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Read — The Read tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: XWIKI_BASE_URL, XWIKI_AUTH_TYPE, XWIKI_USERNAME, XWIKI_PASSWORD, XWIKI_TOKEN, XWIKI_REST_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at xwiki-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Xwiki MCP's toolset — Read — is a fair guide to whether it matches your workflow. It is maintained by vitos73; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ReadThe Read tool exposed by this server.

How to install the Xwiki MCP MCP server

{
  "mcpServers": {
    "xwiki": {
      "command": "npx",
      "args": ["xwiki-mcp"],
      "env": {
        "XWIKI_BASE_URL": "https://wiki.example.com",
        "XWIKI_AUTH_TYPE": "basic",
        "XWIKI_USERNAME": "your-username",
        "XWIKI_PASSWORD": "your-password"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
XWIKI_BASE_URLEndpoint or connection string the server talks to.Yes
XWIKI_AUTH_TYPEConfiguration value read at startup.Optional
XWIKI_USERNAMEConfiguration value read at startup.Optional
XWIKI_PASSWORDConfiguration value read at startup.Optional
XWIKI_TOKENCredential the server authenticates with.Yes
XWIKI_REST_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Xwiki MCP to Read.

Frequently asked questions

It connects Xwiki MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Read) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Xwiki MCP directly.