Toy Server

•

Provides a sample Model Context Protocol server exposing two basic tools for demonstration and development purposes.

This project implements a foundational Model Context Protocol (MCP) server designed as a lightweight reference and demonstration. Built with Anthropic's official Python SDK, it exposes two simple tools: `random_animal` for fetching a random animal, and `roll_d20` for simulating a 20-sided die roll. The server is fully MCP-native, leveraging `FastMCP` for adherence to the MCP specification, and offers flexibility across stdio, streamable HTTP, and SSE transports, making it an ideal starting point for developers exploring MCP tool integration and development.

주요 기능

01MCP-native implementation using FastMCP from the official Python SDK
020 GitHub stars
03Stateless and simple design, suitable as a reference server
04Exposes 'roll_d20' tool to simulate a 20-sided die roll
05Flexible transport options including stdio, streamable HTTP, and SSE
06Exposes 'random_animal' tool to return a random animal

사용 사례

01Learning and experimenting with the Model Context Protocol
02Testing integration with MCP-aware clients like Claude Desktop or MCP Inspector
03Serving as a reference implementation for custom MCP server development