MediaWiki

MediaWiki

A Model Context Protocol (MCP) Server that interacts with any MediaWiki wiki

40
Stars
9
Forks
9
Releases

Overview

MediaWiki MCP Server is an MCP (Model Context Protocol) server that lets Large Language Model clients issue actions against any MediaWiki installation. It exposes a set of tools to manage wikis and pages, including adding and removing wikis as MCP resources, creating, updating, deleting, and undeleting pages, retrieving page and revision data, listing category members, uploading files, and performing content searches. Resources are addressed via mcp://wikis/{wikiKey}, and credentials are never exposed in resource content. After you add or remove a wiki, the server emits notifications (notifications/resources/list_changed) so clients refresh their view. Configuration is done with a config.json file (default config.json) listing wikis with sitename, server, articlepath, scriptpath, and authentication details (token, username, password, private). The server supports OAuth2 tokens (preferred) or bot username/password fallbacks; authentication is required for tools marked as secured. Installation offers Smithery, Claude Desktop/Code, VS Code, Cursor, Windsurf, and Claude Code integration. Environment variables include CONFIG, MCP_TRANSPORT, and PORT. The development section introduces MCP Inspector and MCPJam Inspector for testing without an LLM.

Details

Owner
ProfessionalWiki
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

add-wiki

Adds a new wiki as an MCP resource from a URL.

create-page

Create a new wiki page (permissions: Create, edit, and move pages).

delete-page

Delete a wiki page (permissions: Delete pages, revisions, and log entries).

get-page

Returns the standard page object for a wiki page.

get-page-history

Returns information about the latest revisions to a wiki page.

get-revision

Returns the standard revision object for a page.

search-page

Search wiki page titles and contents for the provided search terms.

update-page

Update an existing wiki page (permissions: Edit existing pages).

Tags

MediaWikiMCPServerLLMWikiOAuthAuthenticationToolsNotifications