Prosigliere/pizza-mcp
3.2
If you are the rightful owner of pizza-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Pizza MCP Server is a Model Context Protocol server designed to manage pizzas, toppings, and people efficiently.
Tools
4
Resources
0
Prompts
0
Pizza MCP Server
A Model Context Protocol (MCP) server for managing pizzas, toppings, and people.
Fixed Issues
✅ Line 5 Error Fixed: The requests module import error has been resolved by:
- Adding proper
[project]configuration topyproject.toml - Installing all required dependencies using
uv sync - Upgrading
fastmcpfrom 2.6.1 to 2.13.0.1 to fix compatibility issues - Updating FastMCP initialization API calls (
title→name,auth_handler→auth)
Setup
Prerequisites
- Python 3.10 or higher
uvpackage manager
Installation
- Install dependencies:
uv sync
- Create a
.envfile (optional, see.env.example):
cp .env.example .env
- Edit
.envwith your configuration:PIZZA_API_BASE_URL: Backend API URLPIZZA_API_KEY: API authentication keyBRIDGE_SECRET_KEY: MCP server authentication keyPORT: Server port (default: 8080)
Running the Server
uv run python server.py
The server will start on http://0.0.0.0:8080 by default.
Available Tools
Math Tools
add(a, b)- Add two numberssubtract(a, b)- Subtract two numbers
Person Management
create_person(name, email, phone)- Create a new personfind_all_people()- Get all peoplefind_one_person(person_id)- Get a specific personupdate_person(person_id, ...)- Update person detailsremove_person(person_id)- Delete a person
Topping Management
create_topping(name, description, ...)- Create a new toppingfind_all_toppings()- Get all toppingsfind_one_topping(topping_id)- Get a specific toppingupdate_topping(topping_id, ...)- Update topping detailsremove_topping(topping_id)- Delete a topping
Pizza Management
create_pizza(name, person_id, topping_ids)- Create a new pizzafind_all_pizzas()- Get all pizzasfind_one_pizza(pizza_id)- Get a specific pizzaupdate_pizza(pizza_id, ...)- Update pizza detailsremove_pizza(pizza_id)- Delete a pizza
Dependencies
fastmcp- MCP server frameworkrequests- HTTP client for API callspython-dotenv- Environment variable managementstarlette- Web framework components