Skip to main content
Glama
magico13

Recipe Manager MCP Server

by magico13

Recipe Manager MCP Server

A FastMCP server built with FastAPI that serves a recipe editing web page and exposes recipe data via MCP tools. Recipes are stored in a JSON file.

Features

  • Web UI — Clean, responsive form for editing recipes at /

  • REST APIGET /api/get-recipe and POST /api/save-recipe

  • MCP Toolsget_recipe and save_recipe exposed at /mcp/

  • Persistent storage — Recipes saved to recipes.json

Related MCP server: Mealie MCP Server

Quick Start

Running locally

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn server:app --host 0.0.0.0 --port 8000

Running with Docker

docker build -t recipe-mcp .
docker run -d --name recipe-mcp-server -p 8000:8000 --rm recipe-mcp

Endpoints

Endpoint

Method

Description

/

GET

Web UI for editing recipes

/api/get-recipe

GET

Get the current recipe as JSON

/api/save-recipe

POST

Save a recipe (JSON body with name, ingredients, directions)

/mcp/

POST

MCP Streamable HTTP transport endpoint

MCP Tools

  • get_recipe — Retrieve the current recipe

  • save_recipe — Save or update a recipe (params: name, ingredients, directions)

Project Structure

recipe-mcp/
├── Dockerfile
├── .dockerignore
├── .gitignore
├── README.md
├── data.py             # Recipe I/O and Pydantic model
├── mcp_server.py       # FastMCP tools definition
├── requirements.txt    # Python dependencies
├── run.sh              # One-command rebuild + restart
├── server.py           # FastAPI app, routes, and entry point
└── templates/
    └── web_page.html   # Web UI template

Recipe data is persisted in a Docker named volume (recipe-data) and is not tracked by git.

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/magico13/recipe-mcp'

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