Demo FastMCP 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., "@Demo FastMCP Serveradd 5 and 7"
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.
Demo FastMCP Server (Python)
This repository is a minimal MCP server demo built with FastMCP.
What is included
main.py: FastMCP server with three demo toolspyproject.toml: project metadata and dependencies.gitignore: basic Python ignores
Related MCP server: Basic MCP Server
Demo tools
ping: returnspongadd_numbers(a, b): returns the sum of two numbersget_utc_time(): returns the current UTC time
Quick start (uv)
Install uv: https://docs.astral.sh/uv/getting-started/installation/
Create and sync environment:
uv venv uv syncRun the server:
uv run fastmcp run main.py:mcp --transport http --port 8000MCP endpoint:
http://127.0.0.1:8000/mcp
Quick start (pip)
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
fastmcp run main.py:mcp --transport http --port 8000Try from an MCP client
Ask your MCP client to run these tool calls:
pingadd_numberswitha=5andb=7get_utc_time
This server cannot be deployed
Maintenance
Related MCP Connectors
A simple MCP server built with FastMCP and python
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA basic educational MCP server that provides simple tools for mathematical calculations, text manipulation, and time retrieval. Designed for learning MCP implementation patterns and development purposes.-
- -licenseNot gradedqualityNot gradedmaintenanceA minimal MCP server example that provides basic utility tools including text echo and current time retrieval. Serves as a simple starting point for building MCP servers with fastmcp.-
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server providing tools for adding integers, getting current time, and fetching weather forecasts via wttr.in.-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server providing basic tools for arithmetic, text echoing, and timezone-aware current time retrieval.-