relief-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@relief-mcpMake a relief of the dog and the person in ~/Pictures/dog.jpg"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
relief-mcp
An MCP server that turns parts of a photo into a layered 3D relief — like a museum bas-relief — that tilts
with the pointer. Claude looks at the photo, picks the parts with boxes, you approve the overlay it shows
you, and the server writes one GLB per part plus relief.html, a single self-contained file you can open in
any browser — no server needed, no dependencies to install to view it.
Install
With Claude Code:
claude mcp add relief -- npx -y @noon0ri/relief-mcpFrom source
git clone https://github.com/noon0ri/relief-mcp.git
claude mcp add relief -s user -- node /path/to/relief-mcp/mcp/server.mjsThen ask, for example: "Make a relief of the dog and the person in ~/Pictures/dog.jpg".
Related MCP server: img2threejs-mcp
What you need
Node 20.9 or newer.
The first call downloads the segmentation and depth models, about 89 MB, cached at
~/.cache/relief-mcp(override withRELIEF_MCP_CACHE). Later calls use the cache.Installing the package pulls in about 530 MB of dependencies (
onnxruntime-nodeandsharpare most of it). The server uses about 1.4 GB of memory while it runs.
How it works / tools
Tool | What it does |
| Loads the photo, returns it with a coordinate grid and its working size (long side at most 1024 px). |
| Selects parts, front-most first. Each part is |
| Writes |
The intended loop: segment_parts shows you an overlay (each part tinted and numbered) and Claude describes
what it picked; only after you say it looks right does Claude call make_relief, and you get one more chance
to confirm in the dialog before files are written.
Privacy
Your photo never leaves your computer. The only thing downloaded over the network is the model files, from
Hugging Face, once, and cached locally. Results are written next to the photo, in <photo folder>/<photo name>-relief/. The overlay image and a small log of confirmation-dialog answers are written to a temp
folder (elicit.log and the overlay JPEG) so you can review them later.
Tested / not tested
Checked on macOS (arm64) with Claude Code 2.1.278. Claude Desktop, Windows and Linux have not been run.
relief.html was checked in Chrome (headless) and confirmed to open correctly in Safari; other browsers are
untested.
License
MIT. The two models it downloads at runtime are each licensed separately and are not redistributed by this
package: facebook/sam2.1-hiera-tiny and
depth-anything/Depth-Anything-V2-Small-hf,
both Apache-2.0.
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn text or an image into an animation-ready 3D model (GLB): generate, rig, animate, retexture.
Free text/image → 3D: generate, rig, avatar-ify, and refine GLB models. No auth, no payment.
Create, edit, render, save, and export voxel models with interactive 3D previews.
3D avatar/asset foundry: text/image -> rigged, validated, engine-ready GLB via x402.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables generating 3D models (GLB files) from 2D images using Stability AI's Stable Fast 3D API, with customizable parameters and credit balance checking.MIT
- AlicenseNot gradedqualityCmaintenanceReconstructs a reference image as procedural 3D geometry through a staged pipeline, generating a Three.js model, preview, comparison, and glTF export.MIT
- AlicenseAqualityBmaintenanceTurns a single concept image into a game-ready textured 3D model (GLB) locally on Apple Silicon by wrapping Hunyuan3D-MLX, with tools for generation, finishing, preview, and setup diagnostics.5MIT
- AlicenseAqualityBmaintenanceEnables local AI agents to upload photos, start image-to-3D generation jobs on pictostl.com, monitor task progress, and download the resulting GLB or STL mesh files for visualization and 3D printing.7189 npmMIT