MediaWiki MCP Server

Model Context Protocol (MCP) server for MediaWiki

Remote serverstreamable-httpGo

What is the MediaWiki MCP server?

Connect MediaWiki to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Model Context Protocol (MCP) server for MediaWiki. The mediawiki mcp server is what makes that connection.

What the server does

An MCP (Model Context Protocol) server that enables Large Language Model (LLM) clients to interact with any MediaWiki wiki.

Available tools

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

  • Tools — Every tool that operates on a wiki accepts an optional wiki argument naming the wiki to act on (the wiki-management and OAuth tools do not) — pass a
  • OAuth — The OAuth tool exposed by this server
  • Resources — The Resources tool exposed by this server
  • Codex — Add this repository as a plugin marketplace, then install the bundled server:
  • Antigravity — Add the standard configuration to Antigravity's MCP config, either globally in ~/.gemini/config/mcp_config.json or
  • OpenCode — OpenCode uses its own configuration shape rather than mcpServers; add this to opencode.json in your project root, or ~/.config/opencode/opencode.json

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: CONFIG. 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.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MediaWiki's toolset — Tools, OAuth, Resources and 3 more — is a fair guide to whether it matches your workflow. It is maintained by ProfessionalWiki; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MediaWiki's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ToolsEvery tool that operates on a wiki accepts an optional wiki argument naming the wiki to act on (the wiki-management and OAuth tools do not) — pass a wiki key (e.g. en.wikipedia.org) or the full mcp://wikis/{wikiKey} URI.
OAuthThe OAuth tool exposed by this server.
ResourcesThe Resources tool exposed by this server.
CodexAdd this repository as a plugin marketplace, then install the bundled server:
AntigravityAdd the [standard configuration](#standard-configuration) to Antigravity's MCP config, either globally in ~/.gemini/config/mcp_config.json or per-workspace in .agents/mcp_config.json.
OpenCodeOpenCode uses its own configuration shape rather than mcpServers; add this to opencode.json in your project root, or ~/.config/opencode/opencode.json for a global install.

How to install the MediaWiki MCP server

{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "npx",
      "args": ["-y", "@professional-wiki/mediawiki-mcp-server@latest"],
      "env": {
        "CONFIG": "path/to/config.json"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
CONFIGConfiguration value read at startup.Optional

Example prompts to try

  • Use MediaWiki to Tools.
  • Use MediaWiki to OAuth.
  • Use MediaWiki to Resources.

Frequently asked questions

It connects MediaWiki to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (Tools, OAuth, Resources, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MediaWiki directly.