PM

professionalwiki/mediawiki-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

144 stars 43 forks 品質 89 トレンド 37MIT

professionalwiki/mediawiki-mcp-server は、https://github.com/professionalwiki/mediawiki-mcp-server. からインポートされたMCPサーバー候補です。

概要

professionalwiki/mediawiki-mcp-server は、https://github.com/professionalwiki/mediawiki-mcp-server. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

MCP(モデルコンテキストプロトコル)サーバーで、大規模言語モデル(LLM)クライアントが任意のMediaWikiウィキとやり取りできるようにします。

特徴

道具

ウィキ上で動作するすべてのツールは、ウィキを行動させるための任意のwiki引数を受け入れます(ウィキ管理ツールやOAuthツールは受け付けません)—ウィキキー(例:en.wikipedia.org)または完全なmcp://wikis/{wikiKey}のURIを渡します。設定済みのデフォルトウィキを使うために省略してください(設定参照)。各ツールの応答は、その呼び出しが実行されたウィキを報告します。成功した各応答は、contentでは散文、structuredContentではJSONとしてペイロードを持ちます。応答チャネルを参照してください。

ページが読み上げる

名前 説明
compare-pages ウィキページの2つのバージョンは、改訂、タイトル、または提供されたウィキテキストで区別されます。
get-category-members カテゴリのメンバーをリストします(1コールあたり最大500人、continueFromでページ分け)。
get-file ファイルページを取ってきて。
get-file-data ファイルの画像バイトをインライン(base64)で取得し、視覚解析のために — ウィキホストにアクセスできないクライアント向けに。スケールされたレンダリング(設定 width);レンダリング不可タイプ(音声、ビデオ、バイナリ)エラーを返します。メタデータやダウンロードURLについては、get-fileをご利用ください。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MediaWiki MCP Server

An MCP (Model Context Protocol) server that enables Large Language Model (LLM) clients to interact with any MediaWiki wiki.

Features

Tools

Every tool that operates on a wiki accepts an optional wiki argument naming the wiki to act on (the wiki-management and OAuth tools do not) — pass a wiki key (e.g. en.wikipedia.org) or the full mcp://wikis/{wikiKey} URI. Omit it to use the configured default wiki (see Configuration). Each tool response reports the wiki the call ran against. Each successful response carries its payload as prose in content and as JSON in structuredContent; see response channels.

Page reads

Name Description
compare-pages Diff two versions of a wiki page by revision, title, or supplied wikitext.
get-category-members List members of a category (up to 500 per call, paginated via continueFrom).
get-file Fetch a file page.
get-file-data Fetch a file’s image bytes inline (base64) for visual analysis — for clients that can’t reach the wiki host. Returns a scaled rendition (set width); non-renderable types (audio, video, binaries) error. For metadata or a download URL, use get-file.
get-links-here List pages that reference a wiki page — pages that link to it, embed it as a template, or display it as a file (select via type), including pages that reach it through a redirect. Up to 500 per call, paginated via continueFrom.
get-page Fetch a wiki page.
get-page-history List recent revisions of a wiki page.
get-pages Fetch multiple wiki pages in one call (up to 50).
get-recent-changes List recent change events across the wiki, filterable by timestamp, namespace, user, tag, type, and hide flags (up to 50 per call, paginated via continue).
get-revision Fetch a specific revision of a page.
get-site-info Get a wiki’s key settings: MediaWiki version, content language, title-case rules, namespaces, installed extensions, license, and (optionally) statistics.
list-wikis List every configured wiki — its key, sitename, server, whether it is read-only or the default, whether it is reachable, which extension-gated tools work on it, and, for an OAuth-configured wiki, its authorization server. Disabled when fewer than two wikis are configured.
parse-wikitext Render wikitext to HTML without saving. Returns parse warnings, wikilinks, templates, and external URLs.
search-page Search wiki page titles and contents (full-text). Searches the wiki’s content namespaces unless given other namespace IDs.
GitHub で README 全文を見る

インストール

npx -y @professional-wiki/mediawiki-mcp-server@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mediawiki-mcp-server": { "command": "npx", "args": ["-y", "@professional-wiki/mediawiki-mcp-server@latest"], "env": { "CONFIG": "path/to/config.json" } } } }