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.
Overview
What is MCP Server with Wikipedia Article Tool?
This project is a lightweight implementation of the Model Context Protocol (MCP) server that utilizes Server-Sent Events (SSE) to facilitate client-server communication. It includes a tool for fetching Wikipedia articles and converting their content into Markdown format.
How to use MCP Server with Wikipedia Article Tool?
To use this project, clone the repository, install the required dependencies, and start the server. You can then use the client to fetch Wikipedia articles and receive them in Markdown format.
Key features of MCP Server with Wikipedia Article Tool?
- Implementation of MCP server using FastMCP
- Client-server communication via Server-Sent Events (SSE)
- Tool for fetching Wikipedia articles
- Conversion of HTML content to Markdown format
Use cases of MCP Server with Wikipedia Article Tool?
- Fetching and converting Wikipedia articles for documentation purposes.
- Integrating Wikipedia content into applications that require Markdown formatting.
- Demonstrating client-server communication using the MCP protocol.
FAQ from MCP Server with Wikipedia Article Tool?
- What programming language is used for this project?
The project is implemented in Python 3.8 and above.
- How do I start the server?
You can start the server by running
python server.pyafter installing the dependencies.
- What endpoints are available?
The server provides
/ssefor SSE connections and/messages/for handling incoming POST messages.