MCPServer (FastMCP)
Click on "Install 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., "@MCPServer (FastMCP)add 5 and 7 for me"
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.
MCPServer (FastMCP) – Ubuntu Setup and GitHub Guide
This repository contains a minimal Model Context Protocol (MCP) server built with FastMCP from the mcp package. It exposes:
Tools:
greet_user(name),add_numbers(a,b),list_files(directory)inserver.pyExample server with resources and prompts in
main.py(add,greeting://{name}, andgreet_userprompt)
The project is configured with a pyproject.toml that depends on mcp[cli] and includes an optional mcp_settings.json for MCP-aware clients.
Requirements
Ubuntu (tested on 22.04+)
Python 3.12+
Git
Optional:
uvfor faster Python dependency management (you can also usepip)
Related MCP server: FastMCP Training Course Server
Quickstart (Ubuntu)
Install system prerequisites
sudo apt update
sudo apt install -y python3.12 python3.12-venv gitCreate and activate a virtual environment
python3.12 -m venv venv
source venv/bin/activate3a) Install dependencies with pip
pip install --upgrade pip
pip install "mcp[cli]>=1.25.0"3b) Or install with uv (optional)
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv venv
source venv/bin/activate
uv pip install "mcp[cli]>=1.25.0"Running the server
You have two entry points. Pick the one that matches your use case.
Minimal tool server (
server.py)
source venv/bin/activate
python server.pyThis exposes tools:
greet_user(name: str) -> stradd_numbers(a: int, b: int) -> intlist_files(directory: str = ".") -> str
Example server with resources and prompts (
main.py)
source venv/bin/activate
python main.pyThis exposes:
Tool:
add(a: int, b: int)Resource:
greeting://{name}Prompt:
greet_user(name: str, style: str = "friendly")
The example runs with transport="streamable-http" (see main.py).
MCP client settings (optional)
If your MCP client supports a settings file (e.g., Windsurf, IDEs), you can point it to your server via mcp_settings.json:
{
"mcpServers": {
"my-mcp-server": {
"command": "/absolute/path/to/your/project/venv/bin/python",
"args": [
"/absolute/path/to/your/project/server.py"
]
}
}
}Note: In this repo, mcp_settings.json is configured with an absolute path under this user's home directory. You should update the paths to match your machine if you use it locally.
Project layout
server.py– Minimal FastMCP server exposing three toolsmain.py– Demo FastMCP server with a tool, a resource, and a promptpyproject.toml– Project metadata and dependency onmcp[cli]mcp_settings.json– Example MCP client configuration (absolute paths; edit for your machine).gitignore– Ignoresvenv/and build artifacts
Development tips
Keep your virtual environment out of Git:
.gitignorealready excludes.venvandvenv/.When moving the project to another machine, recreate the venv and install
mcp[cli].If you want to package this repo later, consider adding a proper module and entry points in
pyproject.toml.
This server cannot be installed
Maintenance
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
- Alicense-qualityDmaintenanceA minimal, production-ready MCP server with a simple addition calculator tool that demonstrates integration with the Model Context Protocol.111MIT
- Flicense-qualityDmaintenanceAn educational MCP server example built with FastMCP that demonstrates how to expose tools, resources, and prompts to AI clients. Provides a learning foundation for building MCP servers with Python and integrating them with AI applications like IDEs and chatbots.
- Alicense-qualityDmaintenanceA minimal FastMCP server implementation that provides basic mathematical and greeting tools. Enables users to perform simple operations like adding numbers and greeting people by name through a lightweight MCP interface.MIT
- Flicense-qualityCmaintenanceA basic MCP server implementation using the FastMCP framework that provides utility tools for greetings and mathematical calculations. It is designed to demonstrate tool integration for AI-assisted development workflows like Cline.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/JustineQinLao/MCPServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server