@the-pioneer/sample-mcp
v0.1.0
Published
MCP server to test-edit pages on test2.wikipedia.org via MediaWiki API.
Readme
Wikipedia MCP Server
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.
Installation
# 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).
Usage (CLI)
npx wikipedia-mcp-server | mcp-proxyThe server communicates over stdio. See the MCP specification for the message format.
Usage (Programmatic)
import { runWikipediaServer } from "@MyTH-AI-JP/sample-mcp";
await runWikipediaServer();Development
git clone https://github.com/your-org/sample-mcp.git
cd sample-mcp
npm install --legacy-peer-deps
npm run buildPublishing
- Bump the version in
package.json. npm publish --access public(requiresnpm login).
License
MIT © 2025
