hdxsfbr/mcp-server
3.1
If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The FastMCP Demo Server is a minimal implementation of a Model Context Protocol (MCP) server, designed to demonstrate the capabilities of FastMCP technology.
Tools
4
Resources
0
Prompts
0
FastMCP Demo Server
This is a minimal Model Context Protocol (MCP) server implemented with FastMCP, showcasing:
- Tools (callable functions)
- Prompts (templated text)
- Resources (static and dynamic data)
Quick start
- Create a virtual environment and install dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e .
- Run the server with a transport of your choice (stdio shown here):
python -m fastmcp run src/server.py --transport stdio
- From an MCP-compatible client, you should see the server expose:
- Tools:
echo,add,get_time,read_resource - Prompts:
hello,sum - Resources:
greeting.txt(static),time.json(dynamic)
Project layout
src/server.py– FastMCP server definitionpyproject.toml– project metadataREADME.md– this fileresources/– example resource files