Skip to main content
Glama
ewitulsk

Minecraft Structure Lab

by ewitulsk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STRUCTURELAB_CONNECTIONNoAbsolute path to the Structure Lab connection file (generated by the mod as `<instance>/structurelab/connection.json`) when using a non-default Modrinth profile or instance.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
lab_statusA

Get world identity, limits, connection readiness, and active job progress.

list_blocksC

Find up to 200 block IDs and their valid properties from the live game.

validate_structureA

Validate an existing compressed NBT structure against the game's registry and limits.

submit_structureA

Replace the active structure and automatically capture all angles. Returns a job immediately.

Optional views JSON is a list of {id,label,position:[x,y,z],spawn,angles:[{id,yaw,pitch}]}. Coordinates are relative to structure origin; position is feet height, eye_height defaults to 1.62. Embedded view pads are extracted automatically. Poll job_status until complete or failed.

job_statusC

Read progress for this exact revision; rejects stale job IDs.

recapture_viewsA

Capture the placed build without replacing blocks. Returns a new revision and capture set.

Optional sidecar defines the replacement set of viewpoints; omitted reuses all current views. After success, old screenshots are deleted using the normal retention policy.

cancel_jobC

Request cancellation of the current revision.

list_capturesA

List labeled screenshot metadata without returning all image bytes.

get_captureC

Return a real 1920x1080 Minecraft screenshot as MCP image content.

inspect_blocksA

Read authoritative block states at relative positions, for placement and cleanup verification.

generate_structureB

Generate NBT from set/fill/room operations; no Python code execution required.

set: {op:'set',pos:[x,y,z],block:'minecraft:stone',properties:{}} fill: {op:'fill',start:[x,y,z],end:[x,y,z],block:'minecraft:stone'} room: {op:'room',start:[x,y,z],end:[x,y,z],wall:'oak_planks',floor:'stone',roof:'oak_planks'} A views list uses the submit_structure schema. Use the Python Structure library for typed block entities.

generate_example_houseC

Generate the furnished house fixture. Revision 2 removes the gold sentinel and changes bedroom carpet.

export_structureC

Export a verified revision as clean NBT plus a vanilla 26.2 datapack ZIP. No lab blocks survive.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/ewitulsk/MinecraftStructureInjector'

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