Skip to main content
Glama
blackviking1311

MCP FastMCP Demo Server

MCP FastMCP Demo Server

This project is a simple MCP (Model Context Protocol) server built using FastMCP.
It exposes:

  • A tool (add)

  • A dynamic resource (greeting://{name})

  • A prompt (greet_user)

The server is designed to run over STDIO and can be inspected using the MCP Inspector UI.


📦 Prerequisites

Make sure you have the following installed:

All Platforms

  • Python 3.9+

  • Node.js 18+

  • npm (comes with Node.js)

Check versions:

python --version
node --version
npm --version

🐍 Python Setup

Linux / macOS

python3 -m venv .venv
source .venv/bin/activate

Windows (PowerShell)

python -m venv .venv
.venv\Scripts\Activate.ps1

2️⃣ Install dependencies

pip install -r requirements.txt

(If using uv, make sure it’s already configured.)

▶️ Running the MCP Server with Inspector The MCP Inspector will start the server and connect to it automatically using STDIO.

Linux / macOS / Windows

npx @modelcontextprotocol/inspector python server.py

This will: Launch the Inspector UI Spawn python server.py and Connect via STDIO automatically.

📍 Inspector UI opens at:

http://localhost:5173 🧪 Verifying the Connection.

Once connected in the Inspector UI:

Tools

  1. add(a: int, b: int) → int

  2. Resources

  3. greeting://{name}

  4. Prompts

  5. greet_user

F
license - not found
-
quality - not tested
D
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.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A minimal demonstration MCP server that provides basic mathematical addition and greeting functionality, serving as a template for building and deploying FastMCP servers.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    A minimal demonstration MCP server built with FastMCP that exposes a simple greeting tool, showcasing basic server setup and remote deployment capabilities.
    Last updated
  • F
    license
    -
    quality
    C
    maintenance
    A demonstration MCP server built with FastMCP that provides basic mathematical operations (addition and multiplication) and personalized greeting generation tools with multiple style options.
    Last updated
  • F
    license
    A
    quality
    D
    maintenance
    A simple MCP server built with Python's FastMCP that exposes a calculator tool for addition operations and a dynamic greeting resource for personalized messages.
    Last updated
    1

View all related MCP servers

Related MCP Connectors

  • A very simple remote MCP server that greets you, with a custom icon.

  • A basic MCP server to operate on the Postman API.

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

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/blackviking1311/sample-mcp-server'

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