Hello World MCP Server
A simple Model Context Protocol (MCP) server that demonstrates basic functionality using FastMCP and uv for dependency management.
Features
This MCP server provides:
Tools
say_hello(name): Returns a greeting message for the specified name (defaults to "World")
get_server_info(): Returns information about the server including version and capabilities
Resources
hello://greeting: A simple hello world message
hello://info: Server information including creation details
Requirements
Python >=3.10
uv (for dependency management)
Installation
Clone or download this project
Install dependencies using uv:
uv sync
Usage
Running the MCP Server
To start the MCP server:
The server will start in STDIO mode, ready to accept MCP client connections.
Testing the Server
Run the test script to verify functionality:
Development
The project structure:
Dependencies
fastmcp: Modern Python framework for building MCP servers
Managed with uv for fast, reliable dependency resolution
License
This is a demo project for learning MCP server development.
This server cannot be installed
A simple demonstration MCP server that provides basic greeting functionality and server information. Enables users to generate hello messages and retrieve server details through tools and resources.