Perteghella icon

Perteghella

Provides a simple Python implementation of a Model Communication Protocol (MCP) server over a network using Server-Sent Events (SSE).

About

This repository offers a basic yet functional MCP server written in Python, designed for demonstration, testing, and development. Utilizing `uvicorn`, the server defaults to running on port 8000 and uses SSE transport for network exposure. It includes comprehensive testing with `pytest`, covering functionalities like addition, subtraction, input validation, and API endpoint testing. Its integration is facilitated through a `mcp.json` configuration, making it compatible with tools like Cursor or Claude.

Key Features

  • Implements a basic MCP server in Python
  • Uses Server-Sent Events (SSE) for network communication
  • Supports integration with tools like Cursor and Claude via mcp.json configuration
  • 1 GitHub stars
  • Includes a comprehensive test suite with pytest
  • Utilizes uvicorn as the default server

Use Cases

  • Testing and development of MCP-based applications
  • Integration with AI tools like Cursor and Claude
  • Demonstrating basic MCP server functionality
Craft Better Prompts with AnyPrompt