MediaWiki MCP Server
MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@professional-wiki/mediawiki-mcp-server"
],
"env": {
"CONFIG": "config.json",
"MCP_ALLOW_STATIC_FALLBACK": "<mcp_allow_static_fallback>",
"MCP_CONTENT_MAX_BYTES": "50000",
"MCP_LOG_LEVEL": "debug",
"MCP_MAX_REQUEST_BODY": "1mb",
"MCP_METRICS": "<mcp_metrics>",
"MCP_OAUTH_CREDENTIALS_FILE": "<mcp_oauth_credentials_file>",
"MCP_OAUTH_NO_BROWSER": "<mcp_oauth_no_browser>",
"MCP_PUBLIC_URL": "<mcp_public_url>",
"MCP_SHUTDOWN_GRACE_MS": "10000",
"MCP_TRANSPORT": "stdio",
"PORT": "3000"
}
}
}
}{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@professional-wiki/mediawiki-mcp-server"
],
"env": {
"CONFIG": "config.json",
"MCP_ALLOW_STATIC_FALLBACK": "<mcp_allow_static_fallback>",
"MCP_CONTENT_MAX_BYTES": "50000",
"MCP_LOG_LEVEL": "debug",
"MCP_MAX_REQUEST_BODY": "1mb",
"MCP_METRICS": "<mcp_metrics>",
"MCP_OAUTH_CREDENTIALS_FILE": "<mcp_oauth_credentials_file>",
"MCP_OAUTH_NO_BROWSER": "<mcp_oauth_no_browser>",
"MCP_PUBLIC_URL": "<mcp_public_url>",
"MCP_SHUTDOWN_GRACE_MS": "10000",
"MCP_TRANSPORT": "stdio",
"PORT": "3000"
}
}
}
}npx -y @professional-wiki/mediawiki-mcp-serverCONFIGPath to your configuration file
MCP_ALLOW_STATIC_FALLBACKSet 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_BYTESByte cap for content bodies (wikitext, rendered HTML, diffs) returned by get-page, get-pages, parse-wikitext, and compare-pages. Oversized bodies are truncated with a trailing marker.
MCP_LOG_LEVELMinimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.
MCP_MAX_REQUEST_BODYMaximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.
MCP_METRICSSet to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport.
MCP_OAUTH_CREDENTIALS_FILEOverride 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_BROWSERSet 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_PUBLIC_URLOverride 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_MSMaximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.
MCP_TRANSPORTType of MCP server transport
PORTPort used for StreamableHTTP transport
CONFIGPath to your configuration file
MCP_ALLOW_STATIC_FALLBACKSet 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_BYTESByte cap for content bodies (wikitext, rendered HTML, diffs) returned by get-page, get-pages, parse-wikitext, and compare-pages. Oversized bodies are truncated with a trailing marker.
MCP_LOG_LEVELMinimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.
MCP_MAX_REQUEST_BODYMaximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.
MCP_METRICSSet to 'true' to expose Prometheus metrics at GET /metrics on the HTTP transport. Has no effect on the stdio transport.
MCP_OAUTH_CREDENTIALS_FILEOverride 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_BROWSERSet 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_PUBLIC_URLOverride 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_MSMaximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.
MCP_TRANSPORTType of MCP server transport
PORTPort used for StreamableHTTP transport
AI-powered trading strategy development: backtesting, market data, and portfolio analysis
Feature flagging and A/B testing platform with AI-first experimentation workflows.
Query Meta Ads performance data — accounts, campaigns, ad sets, ads, metrics & settings.