OM

olgasafonova/mediawiki-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

23 stars 8 forks 质量 65 趋势 31MIT

MediaWiki 维基的 MCP 服务器——从 AI 助手中搜索、阅读和编辑维基内容

概览

将你的AI助手连接到任何MediaWiki维基,或直接从终端编写脚本。使用自然语言或wiki CLI搜索、阅读和编辑维基内容。 1. — Claude Desktop、Claude Code、Cursor、ChatGPT、n8n、VS Code、Google ADK 或任何兼容 MCP 的工具。参见 SETUP.md。2. — 相同的 API 客户端,相同的认证,无需 AI。用于 shell 流水线、CI 检查、cron 作业。参见 CLI.md。3. — /plugin marketplace 添加 olgasafonova/mediawiki-mcp-server 直接为 Claude Code 添加维基技能。参见 .claude-plugin/README.md。 同样的操作可以通过提示符(通过MCP)或直接在你的shell(通过wiki CLI)进行: 完整工具列表请参见 TOOLS.md。CLI 返回输入的退出代码以支持CI友好分支——详见 CLI.md。 1. 从 Releases 下载或前往 build -o mediawiki-mcp-server 。(需要 Go 1.24+)。2. — 通常 https://your-wiki.com/api.php. 维基百科是 https://en.wikipedia.org/w/api.php. 访问 Special:Version 以确认。3. — 参见设置。

概述(AI 翻译)

将你的AI助手连接到任何MediaWiki维基,或直接从终端编写脚本。使用自然语言或wiki CLI搜索、阅读和编辑维基内容。

三种使用方式:

  1. MCP 服务器 — Claude 桌面、Claude 代码、光标、ChatGPT、n8n、VS Code、Google ADK 或任何兼容 MCP 的工具。参见 SETUP.md。
  2. wiki CLI — 同一API客户端,相同认证,无需AI。用于shell流水线、CI检查、cron作业。详见 CLI.md。
  3. Claude Code 插件 — /plugin marketplace add olgasafonova/mediawiki-mcp-server 直接向 Claude Code 添加维基技能。参见 .claude-plugin/README.md。

文献资料

文档 内容
QUICKSTART.md 两分钟后开始跑步
SETUP.md 按工具配置(Claude Desktop、Cursor、ChatGPT、n8n、VS Code、Google ADK)
CLI.md wiki 命令行引用
TOOLS.md 完整工具参考(类别43款工具)
DEPLOYMENT.md HTTP 传输,安全性,端点,环境变量
TIETO_SETUP.md 连接Tieto的公共360°维基(初学者友好)
WIKI_USE_CASES.md 按 persona 分类的详细工作流程
ARCHITECTURE.md 系统设计
贡献力量。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MediaWiki MCP Server

Connect your AI assistant to any MediaWiki wiki, or script it directly from the terminal. Search, read, and edit wiki content using natural language or the wiki CLI.

Three ways to use it:

  1. MCP server — Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, VS Code, Google ADK, or any MCP-compatible tool. See SETUP.md.
  2. wiki CLI — same API client, same auth, no AI needed. For shell pipelines, CI checks, cron jobs. See CLI.md.
  3. Claude Code plugin — /plugin marketplace add olgasafonova/mediawiki-mcp-server adds wiki skills directly to Claude Code. See .claude-plugin/README.md.

Documentation

Document What it covers
QUICKSTART.md Get running in 2 minutes
SETUP.md Per-tool configuration (Claude Desktop, Cursor, ChatGPT, n8n, VS Code, Google ADK)
CLI.md wiki command-line reference
TOOLS.md Full tool reference (43 tools by category)
DEPLOYMENT.md HTTP transport, security, endpoints, env vars
TIETO_SETUP.md Connect to Tieto’s Public 360° Wiki (beginner-friendly)
WIKI_USE_CASES.md Detailed workflows by persona
ARCHITECTURE.md System design
CONTRIBUTING.md How to contribute
SECURITY.md Security policies
CHANGELOG.md Version history

What Can You Do?

The same operation works from a prompt (via MCP) or directly in your shell (via the wiki CLI):

Goal Prompt your AI From your terminal
Search the wiki “What does our wiki say about onboarding?” wiki search "onboarding"
Read a page “Show me the Getting Started page” wiki page "Getting Started"
Find broken links “Are there broken links on the Docs page?” wiki links broken --json
Find stale content “Which pages haven’t been updated in 90 days?” wiki stale-pages --days 90
Cross-link suggestions “What pages are similar to the API Reference?” wiki similar "API Reference"
Audit wiki health “Run a health check on the wiki” wiki audit --json
Publish markdown “Publish this README to the wiki” wiki publish README.md "Page Title"
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →