Skip to main content
Glama

mediawiki-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OAUTH_TOKENNoOAuth token from the OAuth extension
SCRIPT_PATHNoScript path of the wiki (e.g. /w)
WIKI_SERVERNoDomain of the wiki (e.g. https://en.wikipedia.org)
ARTICLE_PATHNoArticle path of the wiki (e.g. /wiki)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get-page

Returns the standard page object for a wiki page, optionally including page source or rendered HTML, and including the license and information about the latest revision.

get-page-history

Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments.

search-page

Search wiki page titles and contents for the provided search terms, and returns matching pages.

set-wiki

Set the wiki to use for the current session.

update-page

Updates a wiki page. Replaces the existing content of a page with the provided content

get-file

Returns information about a file, including links to download the file in thumbnail, preview, and original formats.

create-page

Creates a wiki page with the provided content.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfessionalWiki/MediaWiki-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server