ME

MediaWiki

Created 6 months ago

An MCP server that enables LLM clients to interact with any MediaWiki wiki.

development documentation public

What is MediaWiki?

A Model Context Protocol (MCP) Server that interacts with any MediaWiki wiki

Documentation

MediaWiki MCP Server

Feature# Tools

  • Requires OAuth 2.0 token in configuration: Obtained via Special:OAuthConsumerRegistration/propose/oauth2 provided by the OAuth extension.
Name Description
create-page 🔐 Create a new wiki page.
get-file Returns the standard file object for a file page.
get-page Returns the standard page object for a wiki page.
get-page-history Returns information about the latest revisions to a wiki page.
search-page Search wiki page titles and contents for the provided search terms.
set-wiki Set the wiki to use for the current session.
update-page 🔐 Update an existing wiki page.

Environment variables

Name Description Default
CONFIG Path to your configuration file config.json
MCP_TRANSPORT Type of MCP server transport (stdio or http) stdio
PORT Port used for StreamableHTTP transport 3000

Installation# Install via Smithery

To install MediaWiki MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @ProfessionalWiki/mediawiki-mcp-server --client claude

Install in Claude Desktop

Follow the guide, use following configuration:

{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "npx",
      "args": ["@professional-wiki/mediawiki-mcp-server@latest"]
    }
  }
}

Install in VS Code

Install in VS Code

Development

🐋 Develop with Docker: Replace the npm run part of the command with make (e.g. make dev).

Test with MCP clients

To enable your MCP client to use this MediaWiki MCP Server for local development:

  1. Register the MCP server in your client config (e.g. claude_desktop_config.json for Claude Desktop). An example config is provided at mcp.json.
  2. Run the watch command so that the source will be compiled whenever there is a change:
npm run watch

License

This project is licensed under the GPL 2.0 License. See the LICENSE file for details.

Server Config

{
  "mcpServers": {
    "mediawiki-server": {
      "command": "npx",
      "args": [
        "mediawiki"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: ProfessionalWiki
Category: community
License: GPL 2.0 License
Tags:
development documentation public