Skip to main content
Glama
RemseyMailjard

Demo FastMCP Server

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 tools

  • pyproject.toml: project metadata and dependencies

  • .gitignore: basic Python ignores

Related MCP server: Basic MCP Server

Demo tools

  • ping: returns pong

  • add_numbers(a, b): returns the sum of two numbers

  • get_utc_time(): returns the current UTC time

Quick start (uv)

  1. Install uv: https://docs.astral.sh/uv/getting-started/installation/

  2. Create and sync environment:

    uv venv
    uv sync
  3. Run the server:

    uv run fastmcp run main.py:mcp --transport http --port 8000
  4. MCP 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 8000

Try from an MCP client

Ask your MCP client to run these tool calls:

  • ping

  • add_numbers with a=5 and b=7

  • get_utc_time

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RemseyMailjard/demo-fastmcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server