MCP.so
ログイン

MCP Server with Wikipedia Article Tool

@codingaslu

MCP Server with Wikipedia Article Tool について

A lightweight implementation of the Model Context Protocol (MCP) server using Server-Sent Events. Features a Wikipedia article parser that converts content to Markdown format. Demonstrates client-server MCP communication over HTTP.

基本情報

カテゴリ

開発者ツール

ランタイム

python

トランスポート

stdio

公開者

codingaslu

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "http-sse-mcp-starter": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "-r",
        "requirements.txt"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server with Wikipedia Article Tool?

An HTTP SSE-based MCP (Model Context Protocol) server that provides a tool for fetching Wikipedia articles and converting them to Markdown format. It is built with FastMCP and intended for AI assistants and clients that use the Model Context Protocol.

How to use MCP Server with Wikipedia Article Tool?

Clone the repository, install dependencies with uv using uv pip install -r requirements.txt, then start the server with python server.py. The server listens on http://localhost:8000 with an SSE endpoint at /sse and a POST endpoint at /messages/. Clients can list server capabilities or fetch a Wikipedia article by passing the article URL as an argument.

Key features of MCP Server with Wikipedia Article Tool

  • Fetches and converts Wikipedia articles to Markdown.
  • Uses Server-Sent Events (SSE) for communication.
  • Provides Tools, Resources, and Prompts as MCP capabilities.
  • Built with FastMCP and Python for easy setup.

Use cases of MCP Server with Wikipedia Article Tool

  • Integrating Wikipedia article retrieval into AI assistant workflows.
  • Converting Wikipedia content to plain Markdown for documentation or analysis.
  • Demonstrating or prototyping an HTTP SSE-based MCP server.

FAQ from MCP Server with Wikipedia Article Tool

What Python version is required?

Python 3.8 or higher is required.

What dependencies does it need?

All dependencies are listed in requirements.txt and must be installed using the uv package manager.

How does the server communicate with clients?

It uses Server-Sent Events (SSE) for real‑time communication from server to client and a separate POST endpoint (/messages/) for incoming messages.

What does the read_wikipedia_article tool do?

It fetches an article from Wikipedia, parses its HTML content, and converts it to Markdown format.

What endpoints does the server expose?

Two endpoints: /sse for SSE connections and /messages/ for handling POST requests.

コメント

「開発者ツール」の他のコンテンツ