Skip to main content
Glama

mediawiki_upload_file

Upload files from URLs to MediaWiki wikis, enabling users to add images, documents, and other media with customizable descriptions and overwrite options.

Instructions

Upload a file to the wiki from a URL.

USE WHEN: User says "upload this image", "add file to wiki", "import document".

PARAMETERS:

  • filename: Target filename on wiki (required)

  • file_url: Source URL to fetch file from (required)

  • text: File description page content (optional)

  • comment: Upload comment (optional)

  • ignore_warnings: Overwrite existing file (default false)

RETURNS: Upload status and file page URL.

NOTE: Requires authentication. URL must be publicly accessible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesTarget filename on the wiki (e.g., 'Example.png')
file_pathNoLocal file path to upload
file_urlNoURL to fetch and upload (alternative to file_path)
textNoFile description page content (wikitext)
commentNoUpload comment for the log
ignore_warningsNoIgnore duplicate/overwrite warnings

Latest Blog Posts

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/olgasafonova/mediawiki-mcp-server'

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