Contraptify is an MCP server published by io.github.torsviklabs, hosted at mcp.contraptify.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 6 tools, including simulate, explain, list_examples, get_example, show.
Design redstone machines with your AI and test them tick by tick with Java Edition 26.3 rules.
755 connections through 5 shared values. Tap any node.
Run a redstone design with its own test (inputs and expectations) and return which expectations hold and which fail (with what the block was instead, and when), what visibly changed (lamps, pistons, doors, dispensers) and when, dispenser shots, and notes on what broke. Without a test it just runs the machine and reports what changed. Use it on every candidate before showing it. Do not use it to display a design to the user: use show.
| Parameter | Type | Description |
|---|---|---|
| design * | object | A machine: a list of blocks plus what it is for. See the server instructions for block types and rules. |
{
"name": "simulate",
"title": "Simulate and test a design",
"description": "Run a redstone design with its own test (inputs and expectations) and return which expectations hold and which fail (with what the block was instead, and when), what visibly changed (lamps, pistons, doors, dispensers) and when, dispenser shots, and notes on what broke. Without a test it just runs the machine and reports what changed. Use it on every candidate before showing it. Do not use it to display a design to the user: use show.",
"inputSchema": {
"type": "object",
"required": [
"design"
],
"properties": {
"design": {
"type": "object",
"required": [
"blocks"
],
"properties": {
"name": {
"type": "string",
"description": "2-5 word name"
},
"test": {
"type": "object",
"properties": {
"ticks": {
"type": "integer",
"maximum": 6000,
"minimum": 1,
"description": "How long to run (default: 60 ticks after the last input or expectation, at least 100)"
},
"expect": {
"type": "array",
"items": {
"type": "object"
},
"description": "What must be true: {at: [x,y,z], tick, is: {field: value}} or {at, from, to, is} (every tick from..to). Fields: type, shape (rails), on, lit, open, powered, extended, level, power, phase, locked, attached, inverted, facing, out (a comparator's output), count (items in a container). Or {shots: {min, max}, from, to, at?} for dispenser shots."
},
"inputs": {
"type": "array",
"items": {
"type": "object"
},
"description": "What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a plain minecart on a rail; a hopper minecart goes in the design: \"minecart\": \"hopper\" on the rail)"
}
},
"description": "Your test for this design (see TESTING in the instructions). Tick 0 is the machine once built; inputs at tick t happen after t game ticks, and expectations for tick t are checked right after them."
},
"time": {
"type": "integer",
"maximum": 23999,
"minimum": 0,
"description": "Time of day at the start, 0-23999 (6000 = noon, the default); only daylight detectors use it"
},
"view": {
"type": "object",
"properties": {
"from": {
"type": "array",
"items": {
"type": "number"
}
},
"target": {
"type": "array",
"items": {
"type": "number"
}
}
},
"description": "Optional starting camera for show, when the part to watch is small in a large machine: {target: [x,y,z] to look at, from: [x,y,z] the camera position}. Default: the whole machine."
},
"parts": {
"type": "object",
"description": "Part key -> {name, text}: what each part does, shown when the user clicks it",
"additionalProperties": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "Block objects: {type, x, y, z, ...fields, part}"
},
"summary": {
"type": "string",
"description": "One or two plain sentences: how it works and how to use it"
}
},
"description": "A machine: a list of blocks plus what it is for. See the server instructions for block types and rules."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List a design's parts with their explanations, how many blocks each covers, and any blocks without a part. Use it before show to make sure every block is explained. Do not use it to test whether the machine works: use simulate.
| Parameter | Type | Description |
|---|---|---|
| design * | object | A machine: a list of blocks plus what it is for. See the server instructions for block types and rules. |
{
"name": "explain",
"title": "Check a design's part explanations",
"description": "List a design's parts with their explanations, how many blocks each covers, and any blocks without a part. Use it before show to make sure every block is explained. Do not use it to test whether the machine works: use simulate.",
"inputSchema": {
"type": "object",
"required": [
"design"
],
"properties": {
"design": {
"type": "object",
"required": [
"blocks"
],
"properties": {
"name": {
"type": "string",
"description": "2-5 word name"
},
"test": {
"type": "object",
"properties": {
"ticks": {
"type": "integer",
"maximum": 6000,
"minimum": 1,
"description": "How long to run (default: 60 ticks after the last input or expectation, at least 100)"
},
"expect": {
"type": "array",
"items": {
"type": "object"
},
"description": "What must be true: {at: [x,y,z], tick, is: {field: value}} or {at, from, to, is} (every tick from..to). Fields: type, shape (rails), on, lit, open, powered, extended, level, power, phase, locked, attached, inverted, facing, out (a comparator's output), count (items in a container). Or {shots: {min, max}, from, to, at?} for dispenser shots."
},
"inputs": {
"type": "array",
"items": {
"type": "object"
},
"description": "What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a plain minecart on a rail; a hopper minecart goes in the design: \"minecart\": \"hopper\" on the rail)"
}
},
"description": "Your test for this design (see TESTING in the instructions). Tick 0 is the machine once built; inputs at tick t happen after t game ticks, and expectations for tick t are checked right after them."
},
"time": {
"type": "integer",
"maximum": 23999,
"minimum": 0,
"description": "Time of day at the start, 0-23999 (6000 = noon, the default); only daylight detectors use it"
},
"view": {
"type": "object",
"properties": {
"from": {
"type": "array",
"items": {
"type": "number"
}
},
"target": {
"type": "array",
"items": {
"type": "number"
}
}
},
"description": "Optional starting camera for show, when the part to watch is small in a large machine: {target: [x,y,z] to look at, from: [x,y,z] the camera position}. Default: the whole machine."
},
"parts": {
"type": "object",
"description": "Part key -> {name, text}: what each part does, shown when the user clicks it",
"additionalProperties": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "Block objects: {type, x, y, z, ...fields, part}"
},
"summary": {
"type": "string",
"description": "One or two plain sentences: how it works and how to use it"
}
},
"description": "A machine: a list of blocks plus what it is for. See the server instructions for block types and rules."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the built-in example designs (clocks, counters, a piston door, a lock, a flying machine, an item sorter). Use it to find a known-good starting point. Do not use it to fetch a design's blocks: use get_example.
No parameters.
{
"name": "list_examples",
"title": "List example designs",
"description": "List the built-in example designs (clocks, counters, a piston door, a lock, a flying machine, an item sorter). Use it to find a known-good starting point. Do not use it to fetch a design's blocks: use get_example.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return one built-in example design with its blocks, part explanations and its own test, by id from list_examples. Large designs (the 0-9 counter has about 2,500 blocks, the 00-59 clock about 5,100) are long. Do not use it to show an example to the user: use show with example set.
| Parameter | Type | Description |
|---|---|---|
| id * | string |
{
"name": "get_example",
"title": "Get an example design",
"description": "Return one built-in example design with its blocks, part explanations and its own test, by id from list_examples. Large designs (the 0-9 counter has about 2,500 blocks, the 00-59 clock about 5,100) are long. Do not use it to show an example to the user: use show with example set.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Show a design to the user in an interactive 3D viewer in the chat: they can press its button or flip its lever, watch it run tick by tick, move around, and click any part to read what it does. Give either design, or example (an id from list_examples). Call it once per answer, at the end, after the last simulate passes: every call adds another viewer to the chat. Do not use it to test a design: use simulate.
| Parameter | Type | Description |
|---|---|---|
| design | object | A machine: a list of blocks plus what it is for. See the server instructions for block types and rules. |
| example | string | Id of a built-in example to show instead of a design |
{
"name": "show",
"title": "Show a design in 3D",
"description": "Show a design to the user in an interactive 3D viewer in the chat: they can press its button or flip its lever, watch it run tick by tick, move around, and click any part to read what it does. Give either design, or example (an id from list_examples). Call it once per answer, at the end, after the last simulate passes: every call adds another viewer to the chat. Do not use it to test a design: use simulate.",
"inputSchema": {
"type": "object",
"properties": {
"design": {
"type": "object",
"required": [
"blocks"
],
"properties": {
"name": {
"type": "string",
"description": "2-5 word name"
},
"test": {
"type": "object",
"properties": {
"ticks": {
"type": "integer",
"maximum": 6000,
"minimum": 1,
"description": "How long to run (default: 60 ticks after the last input or expectation, at least 100)"
},
"expect": {
"type": "array",
"items": {
"type": "object"
},
"description": "What must be true: {at: [x,y,z], tick, is: {field: value}} or {at, from, to, is} (every tick from..to). Fields: type, shape (rails), on, lit, open, powered, extended, level, power, phase, locked, attached, inverted, facing, out (a comparator's output), count (items in a container). Or {shots: {min, max}, from, to, at?} for dispenser shots."
},
"inputs": {
"type": "array",
"items": {
"type": "object"
},
"description": "What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a plain minecart on a rail; a hopper minecart goes in the design: \"minecart\": \"hopper\" on the rail)"
}
},
"description": "Your test for this design (see TESTING in the instructions). Tick 0 is the machine once built; inputs at tick t happen after t game ticks, and expectations for tick t are checked right after them."
},
"time": {
"type": "integer",
"maximum": 23999,
"minimum": 0,
"description": "Time of day at the start, 0-23999 (6000 = noon, the default); only daylight detectors use it"
},
"view": {
"type": "object",
"properties": {
"from": {
"type": "array",
"items": {
"type": "number"
}
},
"target": {
"type": "array",
"items": {
"type": "number"
}
}
},
"description": "Optional starting camera for show, when the part to watch is small in a large machine: {target: [x,y,z] to look at, from: [x,y,z] the camera position}. Default: the whole machine."
},
"parts": {
"type": "object",
"description": "Part key -> {name, text}: what each part does, shown when the user clicks it",
"additionalProperties": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "Block objects: {type, x, y, z, ...fields, part}"
},
"summary": {
"type": "string",
"description": "One or two plain sentences: how it works and how to use it"
}
},
"description": "A machine: a list of blocks plus what it is for. See the server instructions for block types and rules."
},
"example": {
"type": "string",
"description": "Id of a built-in example to show instead of a design"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Turn a design into a file the user loads in Minecraft Java Edition 26.3, so they need not place every block by hand: format "nbt" is the vanilla structure file (load it with a structure block or /place template, no mods), "schem" a Sponge schematic (WorldEdit, Litematica). Give either design or example. The file comes back as an embedded resource; the viewer from show also has a download button. Use it when the user wants to build the machine in their world. Do not use it to test a design: use simulate.
| Parameter | Type | Description |
|---|---|---|
| design | object | A machine: a list of blocks plus what it is for. See the server instructions for block types and rules. |
| format | string | schem (WorldEdit, Litematica; the default) or nbt (vanilla structure file) |
| example | string | Id of a built-in example to export instead of a design |
{
"name": "export",
"title": "Export a design as a game file",
"description": "Turn a design into a file the user loads in Minecraft Java Edition 26.3, so they need not place every block by hand: format \"nbt\" is the vanilla structure file (load it with a structure block or /place template, no mods), \"schem\" a Sponge schematic (WorldEdit, Litematica). Give either design or example. The file comes back as an embedded resource; the viewer from show also has a download button. Use it when the user wants to build the machine in their world. Do not use it to test a design: use simulate.",
"inputSchema": {
"type": "object",
"properties": {
"design": {
"type": "object",
"required": [
"blocks"
],
"properties": {
"name": {
"type": "string",
"description": "2-5 word name"
},
"test": {
"type": "object",
"properties": {
"ticks": {
"type": "integer",
"maximum": 6000,
"minimum": 1,
"description": "How long to run (default: 60 ticks after the last input or expectation, at least 100)"
},
"expect": {
"type": "array",
"items": {
"type": "object"
},
"description": "What must be true: {at: [x,y,z], tick, is: {field: value}} or {at, from, to, is} (every tick from..to). Fields: type, shape (rails), on, lit, open, powered, extended, level, power, phase, locked, attached, inverted, facing, out (a comparator's output), count (items in a container). Or {shots: {min, max}, from, to, at?} for dispenser shots."
},
"inputs": {
"type": "array",
"items": {
"type": "object"
},
"description": "What a player does: {tick, do, at: [x,y,z]}. do: pull (lever), press (button), use (wooden door, wooden trapdoor, fence gate, note block, bell, redstone ore, item frame, cake or jukebox; optional look), stand (step onto a pressure plate, string or redstone ore), leave (step off), throw (a snowball at a target), strike (lightning strikes a lightning rod), turn_page (lectern), open and close (chest or trapped chest; for stand, leave, open and close an optional player 1-4, default 1), toggle (daylight detector), start (place a block against the observer marked \"start\": true; no at), place_cart (put a plain minecart on a rail; a hopper minecart goes in the design: \"minecart\": \"hopper\" on the rail)"
}
},
"description": "Your test for this design (see TESTING in the instructions). Tick 0 is the machine once built; inputs at tick t happen after t game ticks, and expectations for tick t are checked right after them."
},
"time": {
"type": "integer",
"maximum": 23999,
"minimum": 0,
"description": "Time of day at the start, 0-23999 (6000 = noon, the default); only daylight detectors use it"
},
"view": {
"type": "object",
"properties": {
"from": {
"type": "array",
"items": {
"type": "number"
}
},
"target": {
"type": "array",
"items": {
"type": "number"
}
}
},
"description": "Optional starting camera for show, when the part to watch is small in a large machine: {target: [x,y,z] to look at, from: [x,y,z] the camera position}. Default: the whole machine."
},
"parts": {
"type": "object",
"description": "Part key -> {name, text}: what each part does, shown when the user clicks it",
"additionalProperties": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
},
"blocks": {
"type": "array",
"items": {
"type": "object"
},
"description": "Block objects: {type, x, y, z, ...fields, part}"
},
"summary": {
"type": "string",
"description": "One or two plain sentences: how it works and how to use it"
}
},
"description": "A machine: a list of blocks plus what it is for. See the server instructions for block types and rules."
},
"format": {
"enum": [
"schem",
"nbt"
],
"type": "string",
"description": "schem (WorldEdit, Litematica; the default) or nbt (vanilla structure file)"
},
"example": {
"type": "string",
"description": "Id of a built-in example to export instead of a design"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Contraptify lets you design Minecraft redstone machines for the user and test them in a simulator that follows Java Edition 26.3's redstone rules. Workflow: design a block list and write its test: what a player does and when (inputs), and what must then be true (expect), taken from what the user asked for. Call simulate, read which expectations failed and what happened instead, fix the design and simulate again (a few rounds is normal). When it passes, call show once so the user can watch and play with it in 3D: one show per answer, after the last simulate passes, never for drafts or failed rounds. Split every design into parts and give each part a short explanation: the viewer shows it when the user clicks that part. When the user wants to build it in their world, call export (a .schem for WorldEdit or Litematica, or a vanilla .nbt structure file); the viewer has download buttons too. You design Minecraft redstone machines for a simulator called Contraptify. The simulator follows Java Edition 26.3's redstone rules (default settings): block updates in the game's order, scheduled ticks with priorities, piston block events, quasi-connectivity. Every design is a list of blocks run tick by tick (20 game ticks = 1 second). COORDINATES: x = east, y = up, z = south. Use small integers, with the lowest blocks at y = 0. One block per position. BLOCK TYPES (JSON objects with type, x, y, z and the extra fields shown): - {"type":"solid"}: stone. A conductor: it can be powered and then powers components next to it. - {"type":"glass"} and {"type":"slab","half":"bottom"|"top"|"double"}: not conductors (double slab is). Dust can sit on glass and top slabs; power climbs dust stairs on them but doesn't come down. - {"type":"obsidian"}: a conductor that pistons can't move. {"type":"slime_block"} (conductor) and {"type":"honey_block"}: pistons drag blocks stuck to them; slime and honey don't stick to each other. - {"type":"redstone_block"}: always-on 15. Not a conductor. - {"type":"lever","attach":"down"} / {"type":"button","attach":"down"} (add "wood":true for a 30-tick wooden button; stone stays pressed 20 ticks): "attach" is the direction of the block it is mounted on, which must have a full face there. Strongly powers that block; powers dust and components next to it. - {"type":"dust"}: redstone dust on a full top face. Loses 1 strength per block. Connects to dust beside it and one step up or down (a conductor above the lower dust cuts the step). Powers the block under it and the blocks it points at (weakly: they power components next to them, but never dust). - {"type":"repeater","facing":"east","delay":1}: facing = output. Reads the block behind it; outputs 15 after delay x 2 ticks and holds at least that long; strongly powers the block in front. Locked while a powered repeater or comparator points into its side. - {"type":"comparator","facing":"east","mode":"compare"|"subtract"}: reads the block behind it (or the fill level of a container there, also through one solid block); side inputs come only from dust, repeaters, comparators, observers or redstone blocks. compare: rear if rear >= side; subtract: rear - side. 2-tick delay. - {"type":"redstone_torch","attach":"down"}: standing ("down") or on the side of a block (north/south/east/west). Off 2 ticks after its block is powered. When lit it powers dust and components next to it and strongly powers the block ABOVE it. It does NOT power solid blocks beside it. Burns out after 8 flips in 60 ticks. - {"type":"redstone_lamp","bit":0}: lights at once when powered, goes dark 4 ticks after. A conductor. - {"type":"observer","facing":"west"}: facing = the direction its face looks. When the block in front changes (any state change, including power level), it waits 2 ticks, then outputs 15 for 2 ticks from its back, strongly powering that block. An observer moved by a piston fires once when it lands. Not a conductor. - {"type":"piston","facing":"east"} / {"type":"sticky_piston"}: powered from any
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.