loading…
Search for a command to run...
loading…
A physics-aware inline skating combo generator that models moves as state transitions to ensure sequences are executable and flow naturally. It allows users to
A physics-aware inline skating combo generator that models moves as state transitions to ensure sequences are executable and flow naturally. It allows users to generate custom skating routines and browse a catalog of wizard-style tricks.
An MCP (Model Context Protocol) server that provides a physics-aware combo generator for wizard-style inline skating, powered by the wzrdbrain Python package.
Unlike random trick generators, this server understands skating physics. It models moves as state transitions (direction, edge, stance, weight point), ensuring that the combinations it generates are actually executable and flow naturally.
git clone https://github.com/your-username/wzrdbrain-mcp.git
cd wzrdbrain-mcp
uv sync
Open the configuration file for your operating system:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the following, replacing <ABSOLUTE_PATH_TO_PROJECT> with the actual path:
{
"mcpServers": {
"wzrdbrain": {
"command": "uv",
"args": [
"--directory",
"<ABSOLUTE_PATH_TO_PROJECT>",
"run",
"mcp-server-wzrdbrain"
]
}
}
}
Restart Claude Desktop. The wzrdbrain tools will appear via the hammer icon in your chat.
claude mcp add wzrdbrain -- uv --directory <ABSOLUTE_PATH_TO_PROJECT> run mcp-server-wzrdbrain
Add to .gemini/settings.json (project-level) or ~/.gemini/settings.json (user-level), replacing <ABSOLUTE_PATH_TO_PROJECT> with the actual path:
{
"mcpServers": {
"wzrdbrain": {
"command": "uv",
"args": [
"--directory",
"<ABSOLUTE_PATH_TO_PROJECT>",
"run",
"mcp-server-wzrdbrain"
]
}
}
}
See the Gemini CLI MCP docs for additional options like timeout and env.
Test the tools locally before connecting to a client:
npx @modelcontextprotocol/inspector uv run mcp-server-wzrdbrain
generate_skating_comboGenerates a physics-aware sequence of inline skating tricks.
| Parameter | Type | Default | Range |
|---|---|---|---|
num_tricks |
integer | 3 | 1–20 |
Each line shows the trick name and its entry/exit state (direction/edge/stance/point):
1. Front Soul Slide: front/outside/open/all → front/outside/open/all
2. Front Mizu Slide: front/inside/open/all → front/inside/open/all
3. Front Fast Slide: front/outside/open/all → front/outside/open/all
list_trick_categoriesReturns the available trick categories as a sorted list. No parameters.
['base', 'manual', 'pivot', 'slide', 'swivel', 'transition', 'turn']
get_tricks_by_categoryLists all tricks in a given category. Case-insensitive.
| Parameter | Type | Required |
|---|---|---|
category |
string | yes |
Tricks in category:
- Back Predator (Open)
- Back Predator One
- Front Predator (Open)
- Front Predator One
Invalid categories return an error listing valid options:
Error: Invalid category. Valid categories are: base, manual, pivot, slide, swivel, transition, turn
skating_practice_routineA prompt template that instructs the LLM to generate a 4-trick combo and structure it into a 30-minute practice session:
| Message | Cause |
|---|---|
Error: num_tricks must be an integer. |
Passed a string, float, or non-integer type |
Error: num_tricks must be between 1 and 20. |
Value outside the allowed range |
Error: Invalid category. Valid categories are: ... |
Unrecognized category name |
Error generating combo: An internal error occurred... |
Unexpected exception from wzrdbrain |
uv sync --extra test
# All tests
uv run pytest -v
# Single test
uv run pytest tests/test_server.py::TestGenerateSkatingComboHappy::test_default_three_tricks
# Coverage (target: 100%)
uv run pytest --cov=wzrdbrain_mcp --cov-report=term-missing
src/wzrdbrain_mcp/server.py # All MCP tools, prompts, and the entry point
tests/test_server.py # Full test suite
pyproject.toml # Dependencies (pinned with ==) and pytest config
wzrdbrain library provides two touchpoints: wzrdbrain.generate_combo() for combo generation and MOVES dict for the trick catalog.direction/edge/stance/point.wzrdbrain responses before formatting._sanitize_for_log() before logging to prevent log injection.==) in pyproject.toml and locked via uv.lock.@mcp.tool() function in server.pywzrdbrain before returning_sanitize_for_log() onlytests/test_server.py — direct calls for happy paths, unittest.mock.patch for error pathsuv run pytest --cov=wzrdbrain_mcp --cov-report=term-missingДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"wzrdbrain-mcp-server": {
"command": "npx",
"args": []
}
}
}