This package provides a ready-to-use Model-Context Protocol (MCP) server that allows LLM agents to create or update pages on test2.wikipedia.org via the MediaWiki Action API.
# npm npm install --save @MyTH-AI-JP/sample-mcp # or pnpm yarn add @MyTH-AI-JP/sample-mcpℹ️ Node.js ≥ 18 is required (for native
fetch).
npx wikipedia-mcp-server | mcp-proxyThe server communicates over stdio. See the MCP specification for the message format.
import { runWikipediaServer } from "@MyTH-AI-JP/sample-mcp"; await runWikipediaServer();git clone https://github.com/your-org/sample-mcp.git cd sample-mcp npm install --legacy-peer-deps npm run build- Bump the version in
package.json. npm publish --access public(requiresnpm login).
MIT © 2025