Simplest icon

Simplest

2

Demonstrates a minimal, working example of a Multi-Client Protocol server and client using the stdio method.

Acerca de

This repository provides a foundational, bare-bones example of a Multi-Client Protocol (MCP) server and client. Designed for simplicity, it uses the "stdio" method to illustrate how an MCP server can expose a tool and return results. The example includes a server that offers a single function, `get_users_favorite_number`, which consistently returns "42", demonstrating the core mechanism of tool definition and execution within the MCP framework. It also includes an automated test to verify server functionality.

Características Principales

  • 0 GitHub stars
  • Utilizes the "stdio" communication method
  • Includes a basic example tool (`get_users_favorite_number`)
  • Minimal MCP server and client implementation
  • Easy setup with virtual environment and `mcp` library installation
  • Automated testing script for server verification

Casos de Uso

  • Testing MCP client implementations against a simple, predictable server
  • Learning and understanding the Multi-Client Protocol (MCP) fundamentals
  • As a boilerplate for developing new MCP tools
Advertisement

Advertisement