Fast MCP Local
A minimal FastMCP server implementation with basic tools.
Requirements
Python 3.10 or higher (required by FastMCP)
Setup
Quick Setup (Automated)
If you have Python 3.10+ already installed:
Manual Setup
Install Python 3.13 (if not already installed):
Create a virtual environment:
Install dependencies:
Running the Server
Running Tests
Tools
The server provides two basic tools:
greet(name: str)
: Greets a person by nameadd(a: int, b: int)
: Adds two numbers together
Development
To add new tools:
Define a function in
src/fast_mcp_local/server.py
with type hints and docstringRegister it with
mcp.tool()(your_function)
Write tests in
tests/test_server.py
Run tests:
pytest
Example:
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A 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.