Hello World MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hello World MCP Serversay hello to Alice"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
uv run python -m test_mcp.serverThe server will start in STDIO mode, ready to accept MCP client connections.
Testing the Server
Run the test script to verify functionality:
uv run python test_server.pyDevelopment
The project structure:
test_mcp/
├── test_mcp/
│ ├── __init__.py
│ └── server.py # Main MCP server implementation
├── test_server.py # Test script
├── pyproject.toml # Project configuration and dependencies
├── .python-version # Python version (3.10)
└── README.md # This fileDependencies
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.
Related MCP Connectors
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
A very simple remote MCP server that greets you, with a custom icon.