# MediaWiki MCP Server — Read & Write Wiki Pages > MCP server for interacting with any MediaWiki wiki; verified 89 stars, npx install, and read/write tools (writes gated behind 🔐 auth). ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash npx @professional-wiki/mediawiki-mcp-server@latest # optional: set CONFIG=path/to/config.json in your MCP client env # start with a public wiki (e.g., en.wikipedia.org) to test reads ``` ## Intro MCP server for interacting with any MediaWiki wiki; verified 89 stars, npx install, and read/write tools (writes gated behind 🔐 auth). **Best for:** Teams who want agents to search, diff, and update MediaWiki content via a tool surface (with auth-gated writes) **Works with:** npx-based installs, Claude/Cursor MCP configs, multiple auth modes (OAuth/bearer/bot password), optional extension packs **Setup time:** 5-15 minutes ## Main - The tool inventory is explicit: page reads (search, history, parse wikitext) plus page writes (create/update/upload) gated behind 🔐 auth requirements. - It includes quantitative limits that matter for agents: category members up to 500 per call, multi-page fetch up to 50 per call, and recent changes up to 50 per call with pagination. - Auth and deployment choices are documented: browser OAuth, per-request bearer token, manual OAuth token, or bot password fallback. ### FAQ - **Can I use it on any wiki?**: The README says it works with any MediaWiki wiki; start with a public wiki to validate read flows. - **Are write tools always enabled?**: Write tools require authentication and may be hidden when `readOnly` is set in config. - **What should I verify first?**: Run a `search-page` / `get-page` read before enabling any authenticated write capability. ## Source & Thanks > Source: https://github.com/ProfessionalWiki/MediaWiki-MCP-Server > License: MIT > GitHub stars: 89 · forks: 23 --- ## Quick Use ```bash npx @professional-wiki/mediawiki-mcp-server@latest # optional: set CONFIG=path/to/config.json in your MCP client env # start with a public wiki (e.g., en.wikipedia.org) to test reads ``` ## Intro 可连接任意 MediaWiki wiki 的 MCP server;已核验 89 stars,可用 npx 安装,提供读写工具(写操作需 🔐 认证),并支持 OAuth/token/bot password 多种方式。 **Best for:** 希望让 agent 通过工具面搜索、diff、更新 MediaWiki 内容,并对写操作做认证控制的团队 **Works with:** 基于 npx 的安装、Claude/Cursor MCP 配置、多种认证方式(OAuth/bearer/bot password),以及可选扩展包 **Setup time:** 5-15 minutes ## Main - 工具清单非常明确:读操作(搜索、历史、解析 wikitext)+ 写操作(创建/更新/上传)且写操作以 🔐 认证门槛控制。 - README 给出对 agent 很关键的数量上限:category 成员每次最多 500,批量取页面最多 50,recent changes 每次最多 50 且支持分页。 - 认证与部署路径也比较完整:浏览器 OAuth、按请求 bearer token、手动 OAuth token、或 bot password 兜底方案。 ### FAQ - **能连任何 wiki 吗?**:README 写的是可连接任意 MediaWiki wiki;建议先用公有 wiki 验证读链路。 - **写工具默认可用吗?**:写工具需要认证;当配置为 `readOnly` 时会隐藏写工具。 - **第一步验证什么?**:先跑 `search-page` / `get-page` 之类读操作,再考虑开启写能力。 ## Source & Thanks > Source: https://github.com/ProfessionalWiki/MediaWiki-MCP-Server > License: MIT > GitHub stars: 89 · forks: 23 --- Source: https://tokrepo.com/en/workflows/mediawiki-mcp-server-read-write-wiki-pages Author: MCP Hub