Back to Home
ProfessionalWiki icon

MediaWiki-MCP-Server

Verified Safe

by ProfessionalWiki

Overview

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

Installation

Run Command
npx @professional-wiki/mediawiki-mcp-server@latest

Environment Variables

  • CONFIG
  • MCP_TRANSPORT
  • PORT

Security Notes

The server demonstrates good security practices by externalizing sensitive credentials (OAuth2 tokens, usernames, passwords) into a `config.json` file. The `wikiService.sanitize` method explicitly prevents these credentials from being exposed in MCP resource content. The core logic relies on the `mwn` library for MediaWiki API interactions, abstracting much of the direct API handling. No 'eval' or obvious obfuscation was found. Network requests are made to configured MediaWiki instances, which is inherent to its functionality. The HTTP transport uses session IDs for request handling. Overall, the design prioritizes secure handling of sensitive data and external interactions.

Similar Servers

Stats

Interest Score46
Security Score9
Cost ClassMedium
Avg Tokens1000
Stars51
Forks10
Last Update2026-01-19

Tags

MediaWikiLLMMCPWikiContent Management