Generate Yoyo PHP component boilerplate: the PHP class (properties, props, query string, listeners, lifecycle hooks, actions, computed properties) and the matching PHP, Blade, or Twig template. Anonymous components return only the template.
This page documents the MCP tool findutils:yoyo_component_generator. See the REST reference →
Call it over MCP
Tool name findutils:yoyo_component_generator
· no API keys · 120 requests/min per IP
Claude Code
claude mcp add findutils --transport http https://mcp.findutils.com/ Claude Desktop — claude_desktop_config.json
{
"mcpServers": {
"findutils": {
"url": "https://mcp.findutils.com/"
}
}
} Raw JSON-RPC (any MCP client) — verified example
curl -X POST https://mcp.findutils.com/ \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "yoyo_component_generator",
"arguments": {
"name": "Counter",
"properties": [
{
"name": "count",
"type": "int",
"default_value": "0"
}
],
"actions": [
"increment"
],
"computed_props": [
"doubleCount"
]
}
}
}' Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| name | string | no | Component name (converted to PascalCase). Default: "MyComponent". Default: "MyComponent". |
| namespace | string | no | PHP namespace. Default: "App\Yoyo". Default: "App\\Yoyo". |
| engine | string (php | blade | twig) | no | Template engine. Default: "php". Default: "php". |
| component_type | string (dynamic | anonymous) | no | "dynamic" (class + template) or "anonymous" (template only). Default: "dynamic". Default: "dynamic". |
| properties | array | no | Public properties: [{ name, type: string|int|float|bool|array, default_value? }]. |
| use_props | boolean | no | Declare $props with every property name. Default: false. Default: false. |
| use_query_string | boolean | no | Declare $queryString with every property name. Default: false. Default: false. |
| actions | array | no | Action method names, e.g. ["increment", "decrement"]. |
| computed_props | array | no | Computed property names, e.g. ["doubleCount"]. |
| listeners | array | no | Event listeners: [{ event, handler }]. |
| hooks | array | no | Lifecycle hooks to stub: any of "initialize", "mount", "rendering", "rendered". |
Example arguments (verified)
{
"name": "Counter",
"properties": [
{
"name": "count",
"type": "int",
"default_value": "0"
}
],
"actions": [
"increment"
],
"computed_props": [
"doubleCount"
]
} Also a REST endpoint
The same tool answers plain HTTP at
POST /api/tools/yoyo-component-generator/execute — no key, 60 requests/min.
More Generators tools
Barcode Generator
Generate a 1D barcode as an SVG string from text.
Box Shadow Generator
Generate a CSS box-shadow declaration from offset, blur, spread, colour, opacity, and inset settings, or from a named preset (subtle, soft,
Caption Generator
Generate a social-media caption from a topic using built-in templates (no AI): picks a template for the content type and tone, fills in the
Color Palette Generator
Generate a harmonious colour palette from a base hex colour: complementary, analogous, triadic, tetradic, split-complementary, or monochroma
Css Animation Generator
Return CSS @keyframes animation code (or Tailwind config, Web Animations API / React, or Framer Motion code) from a named preset such as fad
Glassmorphism Generator
Generate the CSS for a glassmorphism (frosted glass) card: semi-transparent background, backdrop-filter blur and saturation (with the -webki
Gradient Generator
Generate a CSS linear, radial, or conic gradient from colour stops (2 to 10) and an angle, or from a preset (sunset, ocean, forest, fire, pu
Hashtag Generator
Generate relevant hashtags from keywords using a built-in, rule-based database (no AI): matches keywords against topic categories, scores po