Skip to main content
Glama

MediaWiki Syntax MCP Server

MediaWiki Syntax MCP Server

A comprehensive MediaWiki syntax documentation server built with FastMCP.

This MCP server provides complete MediaWiki markup syntax documentation by dynamically fetching and consolidating information from official MediaWiki help pages. It enables LLMs to access up-to-date and comprehensive MediaWiki syntax information.

Features

  • Comprehensive Coverage: Fetches syntax information from multiple official MediaWiki help pages
  • Dynamic Updates: Always provides current documentation from MediaWiki.org
  • Clean Content: Extracts only the essential syntax information, removing navigation and metadata
  • Structured Output: Organizes syntax information by categories (formatting, links, tables, etc.)

Development

To get started, clone the repository and install the dependencies.

git clone https://github.com/kongyo2/mediawiki-syntax-mcp.git cd mediawiki-syntax-mcp npm install npm run dev

Usage

Start the server

If you simply want to start the server, you can use the start script.

npm run start

However, you can also interact with the server using the dev script.

npm run dev

This will start the server and allow you to interact with it using CLI.

Available Tools

The server provides one main tool:

  • get-mediawiki-syntax: Retrieves comprehensive MediaWiki syntax documentation
    • format (optional): "complete" for full documentation (default) or "summary" for condensed version

Testing

npm run test

The tests verify that the server module can be properly imported and initialized.

Linting

Having a good linting setup reduces the friction for other developers to contribute to your project.

npm run lint

This boilerplate uses Prettier, ESLint and TypeScript ESLint to lint the code.

Formatting

Use npm run format to format the code.

npm run format

MediaWiki Syntax Coverage

This server fetches syntax documentation from the following official MediaWiki help pages:

  • Text Formatting: Basic text formatting, headings, lists, and markup
  • Links: Internal links, external links, interwiki links, and piped links
  • Tables: Table creation and formatting syntax
  • Images and Media: Image embedding, sizing, and media file syntax
  • Templates: Template usage, parameters, and transclusion
  • Categories: Category assignment and organization
  • Magic Words: Variables, parser functions, and behavior switches
  • Citations and References: Reference and citation syntax

Configuration

The server is designed to work out of the box with no configuration required. It dynamically fetches content from MediaWiki.org using the MediaWiki API, similar to the approach used in wikipedia-mcp.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

This MCP server provides complete MediaWiki markup syntax documentation by dynamically fetching and consolidating information from official MediaWiki help pages. It enables LLMs to access up-to-date and comprehensive MediaWiki syntax information.

  1. Features
    1. Development
      1. Usage
        1. Start the server
        2. Available Tools
        3. Testing
        4. Linting
        5. Formatting
      2. MediaWiki Syntax Coverage
        1. Configuration

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖. wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!
            Last updated -
            2
            14
            Python
          • A
            security
            F
            license
            A
            quality
            An MCP server that enables interaction with Markdown knowledge bases, allowing users to search and retrieve content by tags, text, URL, or date range from their local markdown files.
            Last updated -
            7
            73
            Python
            • Apple
          • A
            security
            A
            license
            A
            quality
            An MCP server that fetches and converts Deepwiki documentation into Markdown, allowing users to crawl pages from deepwiki.com repositories and access them in different output formats.
            Last updated -
            1
            2,874
            918
            TypeScript
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An MCP Server implementation that enables managing Confluence wiki pages through natural language queries, supporting operations like creating, updating, deleting, and searching pages across different knowledge bases.
            Last updated -
            1
            Python

          View all related MCP servers

          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/kongyo2/MediaWiki-Syntax-MCP'

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