Back to Home
sriniketh icon

mediawiki-mcp-server

Verified Safe

by sriniketh

Overview

Integrates MediaWiki content with Model Context Protocol (MCP) compatible systems (e.g., LLMs) to provide grounded information retrieval from wiki-based websites.

Installation

Run Command
docker run -i -e WIKI_NAME="Your Wiki Name" -e WIKI_API_URL="https://yourwiki.com/w/api.php" mediawiki-mcp-server

Environment Variables

  • WIKI_NAME
  • WIKI_API_URL

Security Notes

The server uses Ktor for HTTP requests and Jsoup for HTML cleaning, both standard and generally secure libraries. Environment variables are used for configuration, preventing hardcoded secrets. Error handling for API calls is present. The `cleanHtmlContent` function uses Jsoup to strip HTML, which helps mitigate XSS risks in content returned to a consuming model. No 'eval' or similar dangerous patterns were found. The primary security consideration outside the server's code itself would be ensuring the integrity and trustworthiness of the upstream MediaWiki API it connects to.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2026-01-17

Tags

MediaWikiMCPKotlinAPI WrapperInformation Retrieval