MediaWiki MCP Server
MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools
MediaWiki MCP Server scores 77 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Knowledge, AI and memory. GitHub shows 154 stars. Package registries report about 2,325 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
77 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 77 comes from
22 + 20 + 12 + 10 + 10 + 3 = 77. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 12 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "professionalwiki-mediawiki-mcp-server": { "command": "npx", "args": [ "-y", "https://github.com/ProfessionalWiki/MediaWiki-MCP-Server/releases/download/v0.24.0/MediaWiki-MCP-Server.mcpb" ], "env": { "CONFIG": "config.json", "MCP_ALLOW_STATIC_FALLBACK": "", "MCP_CONTENT_MAX_BYTES": "75000", "MCP_FILE_DATA_MAX_BYTES": "1000000", "MCP_LOG_LEVEL": "debug", "MCP_MAX_REQUEST_BODY": "1mb", "MCP_METRICS": "", "MCP_OAUTH_ALLOWED_REDIRECTS": "", "MCP_OAUTH_CIMD_ALLOWED_HOSTS": "", "MCP_OAUTH_CREDENTIALS_FILE": "", "MCP_OAUTH_NO_BROWSER": "", "MCP_OAUTH_PROXY_STORE_FILE": "", "MCP_PUBLIC_URL": "", "MCP_SHUTDOWN_GRACE_MS": "10000", "MCP_TRANSPORT": "stdio", "MCP_UPLOAD_MAX_BYTES": "104857600", "MCP_USER_AGENT": "", "PORT": "3000" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CONFIG | Optional | Path to your configuration file |
MCP_ALLOW_STATIC_FALLBACK | Optional | Set to 'true' to allow HTTP startup when config.json has static credentials. Otherwise the server refuses to start, preventing silent shared-identity fallback for unauthenticated requests. |
MCP_CONTENT_MAX_BYTES | Optional | Byte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, original text files, statement and row listings). An oversized response is truncated with a trailing marker describing what was left out. |
MCP_FILE_DATA_MAX_BYTES | Optional | Hard cap on the base64-encoded size of a get-file-data rendition. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap renditions error rather than truncate. |
MCP_LOG_LEVEL | Optional | Minimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call. |
MCP_MAX_REQUEST_BODY | Optional | Maximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb. |
MCP_METRICS | Optional | Set to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport. |
MCP_OAUTH_ALLOWED_REDIRECTS | Optional | Additional allowed redirect URIs for hosted-proxy client registration: comma-separated exact URIs (which must include a host) and https prefix patterns ending in /*. Loopback, claude.ai, and verified first-party clients (ChatGPT, Cursor, VS Code) are always allowed; unset means no additional clients. |
MCP_OAUTH_CIMD_ALLOWED_HOSTS | Optional | Comma-separated additional client_id document hosts trusted for CIMD (bare host or host:port). Verified first-party hosts are always trusted. |
MCP_OAUTH_CREDENTIALS_FILE | Optional | Override the default OAuth credentials store path. Default: ~/.config/mediawiki-mcp/credentials.json on Linux/macOS, %APPDATA%\mediawiki-mcp\credentials.json on Windows. |
MCP_OAUTH_NO_BROWSER | Optional | Set to '1' to skip launching a browser during the OAuth dance and log the auth URL to stderr instead. Useful in headless environments and CI. |
MCP_OAUTH_PROXY_STORE_FILE | Optional | Path to the hosted OAuth proxy's encrypted state file, which lets sign-ins survive restarts. Default: proxy-store.enc under the mediawiki-mcp config dir; /app/data/proxy-store.enc in the Docker image. |
MCP_PUBLIC_URL | Optional | Override the request-derived public URL used in the protected-resource discovery doc and WWW-Authenticate header. Set this when running behind a proxy that rewrites the request Host. |
MCP_SHUTDOWN_GRACE_MS | Optional | Maximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000. |
MCP_TRANSPORT | Optional | Type of MCP server transport |
MCP_UPLOAD_MAX_BYTES | Optional | Memory cap on the server-side fetch used by upload-file-from-url and update-file-from-url. Files larger than this are routed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize. |
MCP_USER_AGENT | Optional | Replaces the User-Agent header of every outbound request, which defaults to mediawiki-mcp-server/<version> (https://github.com/ProfessionalWiki/MediaWiki-MCP-Server). If you set it, give a name and an email or URL, e.g. 'ExampleBot/1.0 (bot@example.org)'. |
PORT | Optional | Port used for StreamableHTTP transport |
CONFIG | Optional | Path to your configuration file |
MCP_ALLOW_STATIC_FALLBACK | Optional | Set to 'true' to allow HTTP startup when config.json has static credentials. Otherwise the server refuses to start, preventing silent shared-identity fallback for unauthenticated requests. |
MCP_CONTENT_MAX_BYTES | Optional | Byte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, original text files, statement and row listings). An oversized response is truncated with a trailing marker describing what was left out. |
MCP_FILE_DATA_MAX_BYTES | Optional | Hard cap on the base64-encoded size of a get-file-data rendition. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap renditions error rather than truncate. |
MCP_LOG_LEVEL | Optional | Minimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call. |
MCP_MAX_REQUEST_BODY | Optional | Maximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb. |
MCP_METRICS | Optional | Set to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport. |
MCP_OAUTH_ALLOWED_REDIRECTS | Optional | Additional allowed redirect URIs for hosted-proxy client registration: comma-separated exact URIs (which must include a host) and https prefix patterns ending in /*. Loopback, claude.ai, and verified first-party clients (ChatGPT, Cursor, VS Code) are always allowed; unset means no additional clients. |
MCP_OAUTH_CIMD_ALLOWED_HOSTS | Optional | Comma-separated additional client_id document hosts trusted for CIMD (bare host or host:port). Verified first-party hosts are always trusted. |
MCP_OAUTH_CREDENTIALS_FILE | Optional | Override the default OAuth credentials store path. Default: ~/.config/mediawiki-mcp/credentials.json on Linux/macOS, %APPDATA%\mediawiki-mcp\credentials.json on Windows. |
MCP_OAUTH_NO_BROWSER | Optional | Set to '1' to skip launching a browser during the OAuth dance and log the auth URL to stderr instead. Useful in headless environments and CI. |
MCP_OAUTH_PROXY_STORE_FILE | Optional | Path to the hosted OAuth proxy's encrypted state file, which lets sign-ins survive restarts. Default: proxy-store.enc under the mediawiki-mcp config dir; /app/data/proxy-store.enc in the Docker image. |
MCP_PUBLIC_URL | Optional | Override the request-derived public URL used in the protected-resource discovery doc and WWW-Authenticate header. Set this when running behind a proxy that rewrites the request Host. |
MCP_SHUTDOWN_GRACE_MS | Optional | Maximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000. |
MCP_TRANSPORT | Optional | Type of MCP server transport |
MCP_UPLOAD_MAX_BYTES | Optional | Memory cap on the server-side fetch used by upload-file-from-url and update-file-from-url. Files larger than this are routed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize. |
MCP_USER_AGENT | Optional | Replaces the User-Agent header of every outbound request, which defaults to mediawiki-mcp-server/<version> (https://github.com/ProfessionalWiki/MediaWiki-MCP-Server). If you set it, give a name and an email or URL, e.g. 'ExampleBot/1.0 (bot@example.org)'. |
PORT | Optional | Port used for StreamableHTTP transport |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools
Frequently asked questions
What is MediaWiki MCP Server?
MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools
How do I install MediaWiki MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MediaWiki MCP Server runs locally from the MCP bundle https://github.com/ProfessionalWiki/MediaWiki-MCP-Server/releases/download/v0.24.0/MediaWiki-MCP-Server.mcpb with the command npx -y https://github.com/ProfessionalWiki/MediaWiki-MCP-Server/releases/download/v0.24.0/MediaWiki-MCP-Server.mcpb.
Is MediaWiki MCP Server free and open source?
Yes. MediaWiki MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MediaWiki MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MediaWiki MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is MediaWiki MCP Server's trust score calculated?
MediaWiki MCP Server scores 77 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.