原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MediaWiki MCP Server

作者:ProfessionalWiki版本 0.21.0i★ –i在你的电脑上运行
注册名称io.github.ProfessionalWiki/mediawiki-mcp-server

安装

概览

作者提供的说明(英文原文)

MCP server enabling AI clients to interact with any MediaWiki wiki through standard tools

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CONFIG, MCP_ALLOW_STATIC_FALLBACK, MCP_CONTENT_MAX_BYTES, MCP_FILE_DATA_MAX_BYTES, MCP_LOG_LEVEL, MCP_MAX_REQUEST_BODY, 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, MCP_TRANSPORT, MCP_UPLOAD_MAX_BYTES, MCP_USER_AGENT, PORT

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

下载作者的 .mcpb 文件

链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。

在终端中运行这条命令

claude mcp add mediawiki --env CONFIG=your-value --env MCP_ALLOW_STATIC_FALLBACK=your-value --env MCP_CONTENT_MAX_BYTES=your-value --env MCP_FILE_DATA_MAX_BYTES=your-value --env MCP_LOG_LEVEL=your-value --env MCP_MAX_REQUEST_BODY=your-value --env MCP_METRICS=your-value --env MCP_OAUTH_ALLOWED_REDIRECTS=your-value --env MCP_OAUTH_CIMD_ALLOWED_HOSTS=your-value --env MCP_OAUTH_CREDENTIALS_FILE=your-value --env MCP_OAUTH_NO_BROWSER=your-value --env MCP_OAUTH_PROXY_STORE_FILE=your-value --env MCP_PUBLIC_URL=your-value --env MCP_SHUTDOWN_GRACE_MS=your-value --env MCP_TRANSPORT=your-value --env MCP_UPLOAD_MAX_BYTES=your-value --env MCP_USER_AGENT=your-value --env PORT=your-value -- npx -y @professional-wiki/mediawiki-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mediawiki": {
      "command": "npx",
      "args": [
        "-y",
        "@professional-wiki/mediawiki-mcp-server"
      ],
      "env": {
        "CONFIG": "your-value",
        "MCP_ALLOW_STATIC_FALLBACK": "your-value",
        "MCP_CONTENT_MAX_BYTES": "your-value",
        "MCP_FILE_DATA_MAX_BYTES": "your-value",
        "MCP_LOG_LEVEL": "your-value",
        "MCP_MAX_REQUEST_BODY": "your-value",
        "MCP_METRICS": "your-value",
        "MCP_OAUTH_ALLOWED_REDIRECTS": "your-value",
        "MCP_OAUTH_CIMD_ALLOWED_HOSTS": "your-value",
        "MCP_OAUTH_CREDENTIALS_FILE": "your-value",
        "MCP_OAUTH_NO_BROWSER": "your-value",
        "MCP_OAUTH_PROXY_STORE_FILE": "your-value",
        "MCP_PUBLIC_URL": "your-value",
        "MCP_SHUTDOWN_GRACE_MS": "your-value",
        "MCP_TRANSPORT": "your-value",
        "MCP_UPLOAD_MAX_BYTES": "your-value",
        "MCP_USER_AGENT": "your-value",
        "PORT": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mediawiki": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@professional-wiki/mediawiki-mcp-server"
      ],
      "env": {
        "CONFIG": "your-value",
        "MCP_ALLOW_STATIC_FALLBACK": "your-value",
        "MCP_CONTENT_MAX_BYTES": "your-value",
        "MCP_FILE_DATA_MAX_BYTES": "your-value",
        "MCP_LOG_LEVEL": "your-value",
        "MCP_MAX_REQUEST_BODY": "your-value",
        "MCP_METRICS": "your-value",
        "MCP_OAUTH_ALLOWED_REDIRECTS": "your-value",
        "MCP_OAUTH_CIMD_ALLOWED_HOSTS": "your-value",
        "MCP_OAUTH_CREDENTIALS_FILE": "your-value",
        "MCP_OAUTH_NO_BROWSER": "your-value",
        "MCP_OAUTH_PROXY_STORE_FILE": "your-value",
        "MCP_PUBLIC_URL": "your-value",
        "MCP_SHUTDOWN_GRACE_MS": "your-value",
        "MCP_TRANSPORT": "your-value",
        "MCP_UPLOAD_MAX_BYTES": "your-value",
        "MCP_USER_AGENT": "your-value",
        "PORT": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CONFIG env
    Path to your configuration file
  • MCP_ALLOW_STATIC_FALLBACK env
    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 env
    Byte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, statement and row listings). An oversized response is truncated with a trailing marker describing what…
  • MCP_FILE_DATA_MAX_BYTES env
    Hard cap on the base64-encoded size of a get-file-data response. A transport/safety backstop; callers tune actual size with the tool's width parameter. Over-cap responses error rather than truncate.
  • MCP_LOG_LEVEL env
    Minimum severity for logger output (stderr telemetry and sendLoggingMessage broadcast). Invalid values fail loudly on first log call.
  • MCP_MAX_REQUEST_BODY env
    Maximum HTTP request body size on the StreamableHTTP transport. Accepts size strings like 1mb or 512kb.
  • MCP_METRICS env
    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 env
    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…
  • MCP_OAUTH_CIMD_ALLOWED_HOSTS env
    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 env
    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 env
    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 env
    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 env
    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 env
    Maximum milliseconds to wait for in-flight /mcp calls to drain on SIGTERM/SIGINT before exiting. Capped at 600000.
  • MCP_TRANSPORT env
    Type of MCP server transport
  • MCP_UPLOAD_MAX_BYTES env
    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. Gua…
  • MCP_USER_AGENT env
    Replaces the User-Agent header of every outbound request, which defaults to mediawiki-mcp-server/ (https://github.com/ProfessionalWiki/MediaWiki-MCP-Server). If you set it, give a name and an email o…
  • PORT env
    Port used for StreamableHTTP transport

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ProfessionalWiki 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3577 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3577 个服务器的 90% 更新
  • 基础检查结果等于或优于此分类中其他 3577 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MediaWiki MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.21.0)于3天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB, Node.js。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO正在增长★ 76202个月前更新

在云端运行

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa广泛使用↓ 5万/周★ 42768天前更新

在你的电脑上运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8475天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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
NameDescription
compare-pagesDiff two versions of a wiki page by revision, title, or supplied wikitext.
get-category-membersList members of a category (up to 500 per call, paginated via continueFrom).
get-fileFetch a file page.
get-file-dataFetch 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-hereList 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-pageFetch a wiki page.
get-page-historyList recent revisions of a wiki page.
get-pagesFetch multiple wiki pages in one call (up to 50).
get-random-pagesList a random sample of wiki pages from one namespace (main by default, redirects excluded by default, up to 500 per call).
get-recent-changesList 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-revisionFetch a specific revision of a page.
get-site-infoGet a wiki's key settings: MediaWiki version, content language, title-case rules, namespaces, installed extensions, license, and (optionally) statistics.
list-wikisList 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-wikitextRender wikitext to HTML without saving. Returns parse warnings, wikilinks, templates, and external URLs.
search-pageSearch wiki page titles and contents (full-text). Searches the wiki's content namespaces unless given other namespace IDs.
search-page-by-prefixSearch page titles by prefix.
whoamiReport the identity the current session is authenticated as on the targeted wiki — username, whether it is anonymous, and group memberships (optionally user rights).
Page writes
NameDescriptionPermissions
create-page 🔐Create a new wiki page.Create, edit, and move pages
delete-page 🔐Delete a wiki page.Delete pages, revisions, and log entries
move-page 🔐Move (rename) a wiki page.Create, edit, and move pages
protect-page 🔐Protect or unprotect a wiki page.Protect and unprotect pages
undelete-page 🔐Undelete a wiki page.Delete pages, revisions, and log entries
update-file 🔐Upload a new revision of an existing file from local disk.Upload, replace, and move files
update-file-from-url 🔐Upload a new revision of an existing file from a URL.Upload, replace, and move files
update-page 🔐Update an existing wiki page: overwrite it, add to it, or rewrite one passage of it.Edit existing pages
upload-file 🔐Upload a file to the wiki from local disk.Upload new files
upload-file-from-url 🔐Upload a file to the wiki from a URL.Upload, replace, and move files
Wiki management
NameDescription
add-wikiAdd a wiki as an MCP resource from its URL. Disabled when allowWikiManagement is false.
remove-wikiRemove a wiki resource. Disabled when allowWikiManagement is false or fewer than two wikis are configured.
OAuth
NameDescription
oauth-logoutRemove stored OAuth tokens. Stdio only.
oauth-statusList stored OAuth tokens with scopes and expiry (no token values). Stdio only.
Extension packs

Each pack's tools register only on wikis where its extension is installed.

[NeoWiki](https://neowiki.ai/)

NameDescription
neowiki-list-schemasList schemas (entity types) and their property counts.
neowiki-get-schemaGet one schema's property definitions, relations, and select options.
neowiki-cypher-queryRun a read-only Cypher query against the knowledge graph.
neowiki-search-subjectsFind subject IDs by name, in one schema or all.
neowiki-get-subjectFetch one subject's structured data by ID.
neowiki-get-page-subjectsList the subjects attached to a wiki page.
neowiki-create-subjectCreate a subject (main or other) on a page. Requires the edit right.
neowiki-update-subjectReplace a subject's label and statements. Requires the edit right.
neowiki-delete-subjectDelete a subject by ID. Requires the edit right.
neowiki-set-main-subjectSet or clear a page's main subject. Requires the edit right.
neowiki-validate-subjectDry-run validate a proposed subject and return violations.
neowiki-mint-subject-idsMint unused subject IDs for dependent subjects written with their host.

[Semantic MediaWiki](https://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki)

NameDescription
smw-list-propertiesList Semantic MediaWiki properties with copy-paste templates for smw-query.
smw-queryRun a Semantic MediaWiki #ask query.

[Bucket](https://github.com/weirdgloop/mediawiki-extensions-Bucket)

NameDescription
bucket-queryRun a Bucket Lua query.

[Cargo](https://www.mediawiki.org/wiki/Extension:Cargo)

NameDescription
cargo-list-tablesList Cargo tables defined on the wiki.
cargo-describe-tableList a Cargo table's fields with their types and list-flags.
cargo-queryRun a Cargo SQL-style query.

[Wikibase](https://www.mediawiki.org/wiki/Extension:Wikibase_Repository)

NameDescription
wikibase-search-entitiesFind items and properties by label or alias.
wikibase-get-entityRead one entity's terms and statements, with referenced IDs resolved to labels.
wikibase-queryRun a SPARQL query against the wiki's query service. Offered only for a repository whose siteinfo publishes one.
wikibase-edit-entityCreate or change an entity from Wikibase entity JSON. Requires the edit right.
wikibase-add-statementAdd one statement with an item, string, external-id or url value. Requires the edit right.
Resources

`mcp://wikis/{wikiKey}` — per-wiki resource exposing sitename, server (the wiki's public address), articlepath, scriptpath, and the private and readOnly flags.

  • Those fields are the whole of it: the resource publishes a fixed list, so credentials and server-side settings in your configuration file are never exposed in resource content.
  • After add-wiki or remove-wiki, the server sends notifications/resources/list_changed so clients refresh.

Example read result

{

"contents": [ { "uri": "mcp://wikis/en.wikipedia.org", "mimeType": "application/json", "text": "{ \"sitename\":\"Wikipedia\",\"server\":\"https://en.wikipedia.org\",\"articlepath\":\"/wiki\",\"scriptpath\":\"/w\",\"private\":false }" } ] }

</details>
Environment variables

The variables below are relevant to any setup. Variables that only apply when self-hosting the HTTP transport (ports, timeouts, Host/Origin and SSRF guards) or running the hosted OAuth proxy are in docs/deployment.md — environment variables. Config-file substitution and upload-directory variables are in docs/configuration.md.

NameDescriptionDefault
CONFIGPath to your configuration fileconfig.json
MCP_TRANSPORTType of MCP server transport (stdio or http)stdio
MCP_LOG_LEVELMinimum severity for logger output. One of debug, info, notice, warning, error, critical, alert, emergency, or silent.debug
MCP_CONTENT_MAX_BYTESByte cap for the content bodies and result blocks tools return (wikitext, rendered HTML, diffs, statement and row listings), applied once per response. Tune to the target LLM client's tool-response budget.75000
MCP_FILE_DATA_MAX_BYTESHard cap on the base64-encoded size of a get-file-data response. A transport/safety backstop; tune the actual size per call with the tool's width. Over-cap calls error rather than truncate.1000000
MCP_UPLOAD_MAX_BYTESMemory cap on the server-side fetch used by upload-file-from-url / update-file-from-url. Files larger than this are handed to the wiki's own copy-upload instead of being buffered by the server. Guards this server's memory, not the wiki's $wgMaxUploadSize.104857600
MCP_USER_AGENTReplaces the User-Agent header of every outbound request, so wiki operators can reach you. Give a name and an email or URL, e.g. ExampleBot/1.0 (bot@example.org).mediawiki-mcp-server/ (https://github.com/ProfessionalWiki/MediaWiki-MCP-Server)
MCP_OAUTH_CREDENTIALS_FILEOverride the default credentials store path. Default: ~/.config/mediawiki-mcp/credentials.json (Linux/macOS) or %APPDATA%\mediawiki-mcp\credentials.json (Windows).unset
MCP_OAUTH_NO_BROWSERSet to 1 to skip launching a browser during the OAuth flow; the auth URL is logged to stderr instead. Useful in headless environments.unset

Configuration

[!NOTE]

Config is only required when interacting with a private wiki or using authenticated tools.

Create a config.json file to configure wiki connections. Use the config.example.json as a starting point.

{

"defaultWiki": "en.wikipedia.org", "wikis": { "en.wikipedia.org": { "sitename": "Wikipedia", "server": "https://en.wikipedia.org", "articlepath": "/wiki", "scriptpath": "/w" } } }

Internal vs public address. The server you configure may be an internal hostname (e.g. http://mediawiki in Docker); URLs handed back to the caller are built from the wiki's public address, so internal hostnames don't leak into links, once the internal host is listed in MCP_TRUSTED_HOSTS. See docs/configuration.md — per-wiki fields.

For the full field reference, env-var substitution, secret sources, change tags, bot edits, upload directories, and authentication options, see docs/configuration.md.

Authentication

Tools marked 🔐 require authentication. Write tools (including extension-pack writes) are refused on a wiki that has readOnly: true, and hidden from tools/list when every configured wiki has it — see Deployment.

  • Browser-based OAuth (recommended). Sign in through a browse

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx