# Connect MediaWiki to Your AI Agent (Universal MCP)

> Use your AI to organize notes, publish content, and update records in MediaWiki — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http mediawiki https://api.universalmcp.app/mcp/mediawiki`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/mediawiki` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "mediawiki", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: MediaWiki | Category: Collaboration & Productivity (MediaWiki) | Auth: Encrypted API credentials or guided self-hosted setup | Deployment: self-hosted
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Page revisions, Category and links, Revision drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=mediawiki | Guide: https://universalmcp.app/mcp/mediawiki
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (44 actions: 23 Read, 21 Write)
Perform over 40 actions across pages & editing, users & permissions, revisions & history, files & media, export & sharing, categories & links, and discussions & watchlists. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Pages & Editing (6):** Get Page Content (read), Create Wiki Page (write), Delete Wiki Page (write), Update Page Content (write), Update Page Protection (write), Update Page Title (write)
- **Users & Permissions (6):** Check User Rights (read), List Active Users (read), Assign User Group (write), Create User Account (write), Update User Block (write), Update User Preferences (write)
- **Revisions & History (5):** Audit Edit Activity (read), Compare Page Revisions (read), Pull Recent Changes (read), View Page History (read), Update Page To Revision (write)
- **Files & Media (5):** Check File Usage (read), Search Uploaded Files (read), Delete Uploaded File (write), Update File Description (write), Upload Media File (write)
- **Export & Sharing (5):** Export Pages As XML (read), Export Pages To PDF (read), Get Permanent Link (read), Pull Page Citation (read), Create Book From Pages (write)
- **Categories & Links (4):** Check Backlinks (read), Query Pages By Category (read), Assign Page Category (write), Create Redirect Page (write)
- **Discussions & Watchlists (4):** Check Watchlist Changes (read), List Talk Page Threads (read), Post Talk Page Comment (write), Update Watchlist Entry (write)
- **Site Administration (4):** Check Software Version (read), Pull Site Statistics (read), Query Special Pages (read), Update Site Configuration (write)
- **Search & Navigation (3):** List Pages In Namespace (read), Search Wiki Pages (read), Create Short URL (write)
- **Languages & Translation (2):** List Page Languages (read), Update Translated Page (write)

## Example Prompts for MediaWiki
- **Unreviewed pages:** "In MediaWiki, list pages in the Engineering namespace that have no approved revision in the last 30 days."
- **Stale articles:** "Show MediaWiki articles not edited in over a year that are linked from the onboarding category."
- **Editor activity:** "Summarize which MediaWiki editors made the most changes to runbooks during the last 7 days."
- **Draft revision note:** "Draft a MediaWiki revision summary for the deploy runbook, then wait for my approval before saving."
