MediaWiki MCP Server

io.github.ProfessionalWiki/mediawiki-mcp-server

MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mediawiki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@professional-wiki/mediawiki-mcp-server@0.21.0"
      ],
      "env": {
        "CONFIG": "config.json",
        "MCP_CONTENT_MAX_BYTES": "75000",
        "MCP_FILE_DATA_MAX_BYTES": "1000000",
        "MCP_LOG_LEVEL": "debug",
        "MCP_MAX_REQUEST_BODY": "1mb",
        "MCP_SHUTDOWN_GRACE_MS": "10000",
        "MCP_TRANSPORT": "stdio",
        "MCP_UPLOAD_MAX_BYTES": "104857600",
        "PORT": "3000"
      }
    }
  }
}
Environment variables
  • CONFIGPath to your configuration file
  • MCP_CONTENT_MAX_BYTESByte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, statement and row listings). An oversized response is truncated with a trailing marker describing what was left out.
  • MCP_FILE_DATA_MAX_BYTESHard cap on the base64-encoded size of a get-file-data response. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap responses error rather than truncate.
  • MCP_LOG_LEVELMinimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.
  • MCP_MAX_REQUEST_BODYMaximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.
  • MCP_SHUTDOWN_GRACE_MSMaximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.
  • MCP_TRANSPORTType of MCP server transport
  • MCP_UPLOAD_MAX_BYTESMemory cap on the server-side fetch used by upload-file-from-url and update-file-from-url. Files larger than this are routed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize.
  • PORTPort used for StreamableHTTP transport

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.21.0
Registry
active
Published
11/5/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that MediaWiki MCP Server is listed here — it’s also the link we check for a free listing.

MediaWiki MCP Server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-professionalwiki-mediawiki-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="MediaWiki MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![MediaWiki MCP Server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-professionalwiki-mediawiki-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.