ShapeItUp MCP sunucusu
Commit 13 Eki 2026TypeScript ve OpenCascade kullanarak AI agent'ların parametrik 3D CAD modelleri oluşturmasına, işlemesine, doğrulamasına ve dışa aktarmasına olanak tanır.
Ayrıca bilinen adı asbis/ShapeItUp
- Yıldızlar
- 6
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- —
- Son commit
- 13 Eki 2026
- Lisans
- MIT
ShapeItUp MCP nedir?
ShapeItUp bir MCP sunucusudur. TypeScript ve OpenCascade kullanarak AI agent'ların parametrik 3D CAD modelleri oluşturmasına, işlemesine, doğrulamasına ve dışa aktarmasına olanak tanır.
Özet, projenin README dosyasından oluşturuldu
ShapeItUp MCP sunucusu hakkında
ShapeItUp, AI agent'ların TypeScript ve OpenCascade kullanarak parametrik 3D CAD modellemesi yapabilmesi için özelleşmiş bir araç seti sunar. Bir agent'ın headless bir arayüz üzerinden 3D modeller oluşturabileceği, render alabileceği, doğrulayabileceği ve dışa aktarabileceği uçtan uca bir iş akışı sağlar. Sunucu stdio üzerinden çalışır; Claude Code, Cursor, Claude Desktop, Codex ve Mistral Vibe dahil olmak üzere çeşitli MCP istemcileriyle uyumludur. Çalışması için Node 20 veya üzeri bir sürüm gereklidir.
Geliştiriciler, tüm tasarım döngüsünü yönetmek için dahil edilen 29 aracı kullanabilirler. Bu araçlar arasında şekiller oluşturma ve değiştirme, PNG olarak önizleme render'ları alma ve çarpışma veya istif kontrolleri gibi geometrik doğrulamalar yapma yer alır. Sistem; STEP, STL ve 3MF formatlarında dosya dışa aktarmayı destekler. WASM kullandığı için bir GPU veya yerel bir grafik yığını gerektirmez, bu da onu GitHub Actions veya Docker konteynerları gibi CI ortamlarında kullanım için uygun hale getirir.
Neler yapabilirsiniz
- 1Geometrik bütünlüğü doğrulayınBir geliştirici, bir tasarımdaki parçaların çarpışıp çarpışmadığını veya eklemlerin geçerli olup olmadığını kontrol etmesi için bir AI'ya görev verebilir.
- 2Tasarım parametreleri üzerinde yineleme yapınBir agent, tüm dosyaları yeniden yazmak yerine, bir modeli iyileştirmek için slider override'ları kullanarak belirli değerleri ayarlayabilir.
- 3Üretim için modelleri dışa aktarınBir AI agent, betik tabanlı bir tasarımı üretim için standart 3D dosya formatlarına dönüştürebilir.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirasbis/shapeitup is public and reachablegithub.com/asbis/shapeitup ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-10-13github.com/asbis/shapeitup ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
ShapeItUp is an MCP server that turns Replicad / OpenCascade into AI-agent-grade CAD tooling. It writes, renders, verifies, and exports parametric 3D models from TypeScript .shape.ts files, headlessly — from the terminal, from Claude Code / Codex / Cursor / Claude Desktop / Mistral Vibe, or from CI. A VSCode extension is available as an optional interactive viewer for humans who want to watch the renders happen live.
Install for Claude Code
claude mcp add shapeitup -- npx -y @shapeitup/mcp-server
That's it. claude mcp add registers the server in your Claude Code config so agent sessions pick it up automatically. See the Claude Code MCP docs for scoping options (-s user for all projects, -s project for just this repo).
Install for Codex
codex mcp add shapeitup -- npx -y @shapeitup/mcp-server
Then raise the timeouts in ~/.codex/config.toml, under the entry that command wrote:
[mcp_servers.shapeitup]
command = "npx"
args = ["-y", "@shapeitup/mcp-server"]
startup_timeout_sec = 60
tool_timeout_sec = 180
Keep both. Codex gives a server 10 s to start, and the first npx run downloads the package, which can take half a minute. It gives a tool 60 s, and a cold render of complex geometry can need more. The Codex CLI, the IDE extension and the ChatGPT desktop app share this file. Check with codex mcp list, or /mcp inside Codex.
For the Replicad API reference, save SKILL.md where Codex looks for skills:
mkdir -p ~/.agents/skills/shapeitup && curl -fsSL https://raw.githubusercontent.com/asbis/ShapeItUp/master/skills/shapeitup/SKILL.md -o ~/.agents/skills/shapeitup/SKILL.md
Install for Cursor / Claude Desktop / other MCP clients
The generic MCP-config snippet:
{
"mcpServers": {
"shapeitup": {
"command": "npx",
"args": ["-y", "@shapeitup/mcp-server"]
}
}
}
Where to put it:
- Cursor —
~/.cursor/mcp.json, or Settings → MCP → Add new server to drop it in through the UI. - Claude Desktop —
~/Library/Application Support/Claude/claude_desktop_config.jsonon macOS,%APPDATA%\Claude\claude_desktop_config.jsonon Windows. Restart the app after editing. - Mistral Vibe — TOML rather than JSON; see below.
- Any stdio MCP client — hand it
npx -y @shapeitup/mcp-serveras the server command.
Mistral Vibe
Append to ~/.vibe/config.toml, then run /reload in Vibe:
[[mcp_servers]]
name = "shapeitup"
transport = "stdio"
command = "npx"
args = ["-y", "@shapeitup/mcp-server"]
startup_timeout_sec = 60
Keep startup_timeout_sec: Vibe's default of 10 s is shorter than the first npx download. For the Replicad API reference, save skills/shapeitup/SKILL.md as ~/.vibe/skills/shapeitup/SKILL.md. More options, including vibe mcp add, are in the MCP server README.
Node 20+ required. No native build step; everything ships as WASM.
What you get
A CAD toolkit agents can drive end to end:
- Authoring —
create_shape,modify_shape,read_shape,list_shapes,setup_shape_project - Rendering —
render_preview,preview_shape,get_preview(SVG-first, resvg-backed PNGs),open_viewer/close_viewer(interactive browser viewer) - Verification —
verify_shape,check_collisions,check_stack,sweep_check,run_simulation,describe_geometry,validate_joints - Iteration —
tune_params(slider overrides),set_render_mode,toggle_dimensions - Export —
export_shape(STEP / STL / 3MF) - stdlib —
holes,screws/bolts/washers/inserts,bearings,extrusions,patterns,threads,joints+assemble,printHints, and more — all importable from"shapeitup"inside any.shape.ts
29 MCP tools in all — the above plus helpers such as validate_syntax, preview_finder, get_api_reference and open_shape — covering the create → preview → verify → tune → export loop.
Quick example
Prompt to the agent: "I want a mounting bracket, 60×40×4 mm, four M3 through-holes in the corners." The agent calls create_shape and writes:
// bracket.shape.ts
import { drawRoundedRectangle } from "replicad";
import { holes, patterns } from "shapeitup";
export const params = { width: 60, depth: 40, thickness: 4, holeInset: 6 };
export default function main({ width, depth, thickness, holeInset }: typeof params) {
const plate = drawRoundedRectangle(width, depth, 3)
.sketchOnPlane("XY")
.extrude(thickness);
// holes.through() returns a cutter whose opening sits at Z=0 and drills -Z;
// lift it to the top face, then cut one at each corner of a 2×2 grid.
return patterns.cutAt(
plate,
() => holes.through("M3", { depth: thickness + 2 }).translate(0, 0, thickness),
patterns.grid(2, 2, width - 2 * holeInset, depth - 2 * holeInset),
);
}
Then it calls render_preview and gets back a PNG it can inspect, plus bounding-box + volume metadata to sanity-check against the spec. If the user wants the holes bigger, the agent calls tune_params — no file rewrite needed.
Running in CI / containers
npx -y @shapeitup/mcp-server works anywhere Node 20 runs — Docker, GitHub Actions, GitLab CI. Renders go through @resvg/resvg-wasm; no GPU, no headless Chromium, no native graphics stack required. A cold boot on a stock Node image typically takes ~3 s for the first render (OCCT WASM compile) and < 200 ms thereafter.
VSCode extension (optional)
There is a VSCode extension that subscribes to the MCP server's event bus and shows a live Three.js viewer in the side panel — useful when you want to watch an agent work, or to drive ShapeItUp interactively. Install it from the VS Code marketplace (search for "ShapeItUp") or build from source (see Development).
The extension is entirely optional: the MCP server is headless on its own, does not require VSCode to be running, and produces the same renders whether or not a viewer is attached.
Development
git clone https://github.com/asbis/ShapeItUp.git
cd ShapeItUp
pnpm install
pnpm build # builds extension, viewer, worker, and mcp-server
pnpm dev # watch mode
pnpm lint # tsc -b across packages
Then press F5 in VS Code to launch the Extension Development Host if you want to iterate on the viewer.
Project layout:
packages/
mcp-server/ -- standalone MCP server (this is the npm package)
core/ -- Replicad wrappers, stdlib, execution engine (bundled into mcp-server)
shared/ -- cross-package types (bundled into mcp-server)
extension/ -- VSCode extension (optional viewer)
viewer/ -- Three.js viewer surface for the extension
worker/ -- OCCT WASM web-worker for the extension viewer
See CONTRIBUTING.md for contribution guidelines.
License
MIT
ShapeItUp MCP soruları
ShapeItUp hangi dosya formatlarını dışa aktarabilir?
Sunucu; STEP, STL ve 3MF formatlarında 3D modellerin dışa aktarılmasını destekler.
ShapeItUp için GPU veya özel bir grafik yığını gerekiyor mu?
Hayır; render işlemi için WASM kullanarak GPU, headless Chromium veya yerel bir grafik yığınına ihtiyaç duymadan headless olarak çalışır.
ShapeItUp'ı CI/CD ortamında kullanabilir miyim?
Evet; Docker, GitHub Actions ve GitLab CI dahil olmak üzere Node 20'nin çalıştığı her ortamda çalışır.