
MediaWiki MCP Server
Let agents read, search, parse, and compare pages on your MediaWiki or internal wiki without custom API scripts.
Overview
MediaWiki MCP Server is a MCP server for the Build phase that lets AI clients query and manipulate MediaWiki wikis through standard tools and a config-driven stdio connection.
What is this MCP server?
- Standard MCP tools to interact with any MediaWiki-compatible wiki API
- Configurable via CONFIG filepath (default config.json) plus auth guardrails against silent static-credential fallback
- MCP_CONTENT_MAX_BYTES default 50000 with truncation markers on oversized page bodies and diffs
- Ships as mcpb release v0.9.1 with documented environment variables
- Supports get-page, get-pages, parse-wikitext, and compare-pages style workflows for agents
- Server version 0.9.1 (mcpb registry)
- Default MCP_CONTENT_MAX_BYTES: 50000
- Default CONFIG path: config.json
Community signal: 98 GitHub stars.
What problem does it solve?
Your agent needs live wiki context but MediaWiki APIs, auth modes, and huge page bodies are painful to wire safely by hand.
Who is it for?
Solo builders documenting on MediaWiki who want Cursor or Claude Code to edit, audit, and summarize wiki content with guardrailed auth.
Skip if: Teams on Notion-only or static-site docs with no MediaWiki instance to target.
What do I get? / Deliverables
After install, the agent can fetch pages, parse wikitext, compare revisions, and work within byte caps using one MCP server and config.json.
- Agent-callable tools for page retrieval, parsing, and comparison against your wiki
- Truncation-aware content payloads capped by MCP_CONTENT_MAX_BYTES
- Configurable wiki connection without custom per-session API scripts
Recommended MCP Servers
Journey fit
Documentation and knowledge bases are built and maintained while you are still constructing the product—not only at launch. Wiki CRUD, wikitext parsing, and diff tools map directly to docs subphase work for internal handbooks, product wikis, and runbooks.
How it compares
Wiki API MCP bridge, not a Markdown file skill or hosted CMS replacement.
Common Questions / FAQ
Who is MediaWiki MCP Server for?
Developers and small teams that host documentation on MediaWiki and want MCP-native tools for page read, parse, and compare operations inside AI coding agents.
When should I use MediaWiki MCP Server?
Use it during build and docs maintenance when agents must pull canonical wiki pages, render or parse wikitext, or diff revisions without you writing custom API glue.
How do I add MediaWiki MCP Server to my agent?
Download or reference the v0.9.1 mcpb package, set CONFIG to your config.json with wiki URL and credentials, add the stdio server to your MCP client, and optionally tune MCP_CONTENT_MAX_BYTES and MCP_ALLOW_STATIC_FALLBACK per your security policy.