# Workout Maker MCP Server

An MCP server for creating workout content, sessions, and plans.

## Features

- **Create Exercise Page**: Generates a detailed exercise page in Markdown with step-by-step instructions and optimized NanoBanana/Gemini image prompts.
- **Create Session**: Groups exercises into a balanced daily workout (Push, Pull, Legs, Core).
- **Create Workout Plan**: Generates a multi-day schedule tailored to goals and age, ensuring balanced movement patterns.

## Installation

```bash
pip install -r requirements.txt
```

## Usage

Run the server:

```bash
python workout_server.py
```

### Tools

1.  `create_exercise_page(name, type, steps, visual_description)`
2.  `create_session(name, difficulty, duration_minutes)`
3.  `create_workout_plan(goal, age_range, length_days)`

## Integration with Gemini/NanoBanana

The `create_exercise_page` tool outputs a Markdown block containing a command like:
`/image prompt="..."`

This allows you to easily generate consistent, high-quality illustrations for your workout content using the Gemini CLI extensions.
