Skip to main content
Glama
ThiagoEvans71

MediaWiki MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONFIGNoPath to your configuration file.config.json
MCP_BINDNoThe HTTP transport binds to `127.0.0.1` by default. When you open it up with `MCP_BIND=0.0.0.0`, set `MCP_ALLOWED_HOSTS` to the hostnames your proxy forwards and `MCP_ALLOWED_ORIGINS` to the browser origins allowed to call the server.127.0.0.1
MCP_LOG_LEVELNoMinimum severity for logger output. One of `debug`, `info`, `notice`, `warning`, `error`, `critical`, `alert`, `emergency`, or `silent`.debug
MCP_TRANSPORTNoType of MCP server transport (`stdio` or `http`).stdio
MCP_USER_AGENTNoReplaces the `User-Agent` header of every outbound request, so wiki operators can reach you. Give a name and an email or URL, e.g. `ExampleBot/1.0 (bot@example.org)`.mediawiki-mcp-server/<version> (https://github.com/ProfessionalWiki/MediaWiki-MCP-Server)
MCP_ALLOWED_HOSTSNoSet to the hostnames your proxy forwards, to block DNS rebinding attacks when `MCP_BIND` is set to `0.0.0.0`.
MCP_ALLOWED_ORIGINSNoSet to the browser origins allowed to call the server, to block DNS rebinding attacks when `MCP_BIND` is set to `0.0.0.0`.
MCP_OAUTH_NO_BROWSERNoSet to `1` to skip launching a browser during the OAuth flow; the auth URL is logged to stderr instead. Useful in headless environments.
MCP_UPLOAD_MAX_BYTESNoMemory cap on the server-side fetch used by `upload-file-from-url` / `update-file-from-url`. Files larger than this are handed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's `$wgMaxUploadSize`.104857600
MCP_CONTENT_MAX_BYTESNoByte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, statement and row listings), applied once per response. Tune to the target LLM client's tool-response budget.75000
MCP_FILE_DATA_MAX_BYTESNoHard cap on the base64-encoded size of a `get-file-data` response. A transport/safety backstop; tune the actual size per call with the tool's `width`. Over-cap calls error rather than truncate.1000000
MCP_OAUTH_CREDENTIALS_FILENoOverride the default credentials store path. Default: `~/.config/mediawiki-mcp/credentials.json` (Linux/macOS) or `%APPDATA%\mediawiki-mcp\credentials.json` (Windows).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources